So I have an API conection established in python, everything is alright. My question is how to get to the value of 'avgEntryPrice'?
[{'account': 231584,'simpleCost': 0.0, 'simpleValue': 0.0, 'avgEntryPrice': 0.0, ...}]
this is returned by:
client.Position.Position_get(filter=json.dumps({'symbol': 'XBTUSD'})).result()
and here is swagger.json for API https://github.com/BitMEX/api-connectors/blob/master/swagger.json?source=post_page---------------------------
Thanks in advance!