Dear all,
I am coding in R and when I create order on market base, I get a “LOT_SIZE” error. I have some difficulties to understand what it is and how to modify my code to handle the options. Could you please help me? My code is as follow:
query <-
list(
"symbol" = paste(symbol,"USDT",sep = ""),
"side" = "SELL",
"type" = "MARKET",
"quantity" = to.sell,
"recvWindow" = 50000,
"timestamp" = timestamp
)
signature <- openssl::sha256(paste(names(query), query, sep = "=", collapse = "&"), key=secretKey)
transaction = POST(
url,
add_headers("X-MBX-APIKEY" = apiKey),
query = c(query, signature = signature)
)
thanks is advance.