“Good afternoon, I work with the ccxt library, and I recently updated it. The way I used to execute my Stop Loss (SL) and Take Profit (TP) was by using the function: fapiPrivate_get_allorders(). However, now the library indicates that the ‘binance’ object has no attribute ‘fapiPrivate_get_allorders’. I used this function to retrieve two pieces of data: the original quantity and the ‘side’ (buy or sell) of my current position. Does anyone know how I can obtain this information now?”
Since this is related with the usage of a third party library, I would suggest contacting the ccxt community instead.
However, just fyi, the binance endpoint that can be used to retrieve current position’s quantity and side is Binance API Documentation.