bybit-exchange / pybit

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

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

Closed Podolchak closed 5 months ago

Podolchak commented 5 months 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 ?