csko / gdax-python-api

GDAX API written in Python3 using async/await
MIT License
52 stars 21 forks source link

How to get a list of open positions? #14

Open vgoklani opened 6 years ago

vgoklani commented 6 years ago

How do I get a list of open positions via the API? That is, suppose I BUY two BTC-USD at (say) $9500 and $9600, with sizes of 0.6 and 1.2 respectively. How would I a list of these open positions? The fill method gets me the full history, but it doesn't tell me which positions are still open. I need a quick way of making sure my app is in sync with the exchange... Thanks