Crypto-toolbox / bitex

Crypto-currency Exchange API Framework
MIT License
483 stars 134 forks source link

Provide open_positions as a standardized method #160

Closed metaperl closed 6 years ago

metaperl commented 6 years ago

I am converting a script written for Bittrex to run on BitEx.

Bittrex has an API method cancelAllOrders which basically gets all open transactions and then cancels each one.

There is a standardized method for cancelling an order cancel_order ... however I do not see a standardized method to list open positions.

This issue is somewhat related to Promote closed_positions() to standardized method

deepbrook commented 6 years ago

Hey @metaperl , This is already implemented on 2.0.0/dev and will be part of said release.

Cheers, Nils