Thanks for the response
Below, you said:
Spot trading doesn’t have positions like other instruments do because you are settling the trade immediately.
I thought I would use an example to understand things further.
orders = client.get_open_margin_orders(symbol=‘BNBBTC’)
Get all open orders on a symbol.
The 2 items show how one might 'get open orders"
My questions are as follows.
#QUESTION 1: Do FUTURES, MARGIN and SPOT use information from the SAME Order book
I ask because I saw the item below (that refers to an orderbook for FUTURES). I also saw a way to get an order book for SPOT. I did not see a way to look at an orderbook for MARGIN:
def futures_order_book(self, **params):
"""Get the Order Book for the market
return self._request_futures_api('get', 'depth', data=params)
And I have also seen
orderbook = exchange.fetch_order_book ( in_symbol, params = params )
> QUESTION: Is there fetch_order_book for MARGIN?