bybit-exchange / pybit

Official Python3 API connector for Bybit's HTTP and WebSockets APIs.
Other
340 stars 113 forks source link

A way to take orders for direction (hedge) #222

Closed Podolchak closed 3 weeks ago

Podolchak commented 3 weeks ago

Is there a universal way to take open orders for long and short separately?

orders = await exchange.fetchOpenOrders(symbol)

I can take information about the direction from Info, but it is information from a particular exchange, is there a universal way ?