This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Request: <request><account>XXXXXXXXXXXX</account><quote><symbol>AAPL</symbol><symbol>SLV</symbol><delayed>false</delayed></quote></request> | |
Response: | |
{u'@id': u'XXXXXXXXXXXXXXXX', | |
u'quotes': {u'instrumentquote': {u'greeks': None, | |
u'instrument': {u'desc': u'APPLE INC', | |
u'exch': u'NSD', | |
u'sectyp': u'CS', | |
u'sym': u'AAPL'}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###### | |
To use this class: | |
Replace self.appkey, userkey, secret, account_number | |
tradeking = TK.TK() | |
profit = tradeking.get_profit() | |
##### |