daroczig / binancer

An R client to the Public Rest API for Binance.
https://daroczig.github.io/binancer
54 stars 57 forks source link

Error in binance_new_order type = "MARKET" #35

Open Miguel0809 opened 1 year ago

Miguel0809 commented 1 year ago

Hello!

@daroczig @stanyip

This error is ocurred in binance_new_order(symbol = symbol, side = "SELL", type = "MARKET", quantity = quantity, test = FALSE)

Error in [.data.table(filters, filterType == "MIN_NOTIONAL", applyToMarket) : j (the 2nd argument inside [...]) is a single symbol but column name 'applyToMarket' is not found. Perhaps you intended DT[, ..applyToMarket]. This difference to data.frame is deliberate and explained in FAQ 1.1. Calls: binance_new_order -> isTRUE -> [ -> [.data.table