Error using binance_all_orders()
- Dominant language
- R
- Stars
- 54
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I've encountered a problem using **binance_all_orders()** function, where when using a specific symbol I get the following error:
_"Error in rbindlist(ord) :
Item 20 has 22 columns, inconsistent with item 1 which has 20 columns. To fill missing columns use fill=TRUE."_
Upon debuging the function the problem appears to be that within the function when queriyng all orders using _"binance_query(endpoint = "api/v3/allOrders", params = params, sign = TRUE)"_ which returns a nested list with all orders. The orders of type _"TAKE_PROFIT_LIMIT"_ has 22 items as oposed to the 20 items of the rest of the orders.
Using **fill = TRUE in the rbindlist() within the function** appears to fix the problem just fine if the desired behaviour is to add the 2 aditional columns to the data.frame (will be NULL in all orders except on the _"TAKE_PROFIT_LIMIT"_)
Cheers!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.