binance_new_order | R Documentation |
Open new order on the Binance account
binance_new_order(
symbol,
side = c("BUY", "SELL"),
type = c("LIMIT", "MARKET", "STOP_LOSS", "STOP_LOSS_LIMIT", "TAKE_PROFIT",
"TAKE_PROFIT_LIMIT", "LIMIT_MAKER"),
time_in_force = c("GTC", "IOC", "FOK"),
quantity,
price,
stop_price,
iceberg_qty,
test = TRUE
)
symbol |
string |
side |
enum |
type |
enum |
time_in_force |
optional enum |
quantity |
number |
price |
optional number |
stop_price |
optional number |
iceberg_qty |
optional number |
test |
bool |
data.table
## Not run:
binance_new_order('ARKETH', side = 'BUY', type = 'MARKET', quantity = 1)
binance_new_order('ARKBTC', side = 'BUY', type = 'LIMIT', quantity = 1,
price = 0.5, time_in_force = 'GTC')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.