Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
397 views
in Technique[技术] by (71.8m points)

How to place a Binance order through R

I am trying to place a new order through R studio, package Binancer, I am correctly connected to Binance Api (I added the key and secret in Binancer::credentials) but when I type this:

binancer::binance_new_order(symbol="WAVESBTC",side="BUY",type="MARKET",quantity = 1)

I get this error: Error in binancer::binance_new_order(symbol = "WAVESBTC", side = "BUY", : abs(quot - round(quot)) < 1e-10 is not TRUE

I have tried to change quantity and put number of waves i want to buy, or amount of BTC I want to spend, but I always get this error. I would like to spend 100% of my Bitcoin on Waves in this order, where am I wrong? Is there any other way to place an order in Binance through R?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...