string GetSpotBalances(string apikey, string secretkey, balances & balanceCurrencies[], bool BinanceUS)
– get the balances for every forex pockets on the spot account
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
BinanceUS – displays if the Binance.com or Binance.US server shall be used
balanceCurrencies[n].quantity: 1.4354
string GetFuturesBalances(string apikey, string secretkey, balances & balanceCurrencies[])
– get the balances for every forex pockets on the futures account
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
balanceCurrencies[n].quantity: 5.4543
string GetCoinmFuturesBalances(string apikey, string secretkey, balances & balanceCurrencies[])
– get the balances for every forex pockets on the COIN-M futures account
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
balanceCurrencies[n].quantity: 5.4543
string GetSpotOrders(string apikey, string secretkey, string image, orders_struct & ordersArray[], bool BinanceUS)
– get the opened orders on the required spot instrument
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
image – specify the instrument to get the orders on
BinanceUS – displays if the Binance.com or Binance.US server shall be used
ordersArray[n].orderId: “dsf88f23jf8328”
ordersArray[n].worth: 43323.49
ordersArray[n].measurement: 0.5
ordersArray[n].sort: “Restrict”
ordersArray[n].aspect: “Purchase”
ordersArray[n].stopprice: 0
string GetFuturesOrders(string apikey, string secretkey, string image, orders_struct & ordersArray[])
– get the opened orders on the required futures instrument
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
image – specify the instrument to get the orders on
ordersArray[n].orderId: “dsf88f23jf8328”
ordersArray[n].worth: 43323.49
ordersArray[n].measurement: 0.5
ordersArray[n].sort: “Restrict”
ordersArray[n].aspect: “Purchase”
ordersArray[n].stopprice: 0
string GetCoinmFuturesOrders(string apikey, string secretkey, string image, orders_struct & ordersArray[])
– get the opened orders on the required COIN-M futures instrument
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
image – specify the instrument to get the orders on
ordersArray[n].orderId: “dsf88f23jf8328”
ordersArray[n].worth: 43323.49
ordersArray[n].measurement: 0.5
ordersArray[n].sort: “Restrict”
ordersArray[n].aspect: “Purchase”
ordersArray[n].stopprice: 0
string GetFuturesPositions(string apikey, string secretkey, string image, positions_struct & positionsArray[])
– get the opened positions on the required futures instrument
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
image – specify the instrument to get the orders on
positionsArray [n].aspect: “Purchase”
positionsArray [n].worth: 43323.49
positionsArray [n].measurement: 0.5
string GetCoinmFuturesPositions(string apikey, string secretkey, string image, positions_struct & positionsArray[])
– get the opened positions on the required COIN-M futures instrument
Parameters:
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
image – specify the instrument to get the orders on
positionsArray [n].aspect: “Purchase”
positionsArray [n].worth: 43323.49
positionsArray [n].measurement: 0.5
string SendSpotOrderToBinance(string image = “”, string path = “”, string sort = “”, double lot = 0, double entry_price = 0, double stop_price = 0,string apikey = “”, string secretkey = “”, bool binanceUs = false)
– ship the order for the required spot instrument
Parameters:
image – specify the instrument
path – specify if the path is both “BUY” or “SELL”
sort – specify if the order sort is without doubt one of the following: “MARKET”, “LIMIT” or “STOP_LOSS_LIMIT”
lot – specify the quantity to enter
entry_price – specify the worth for pending (LIMIT or STOP_LOSS_LIMIT) orders. For MARKET orders it should be empty
stop_price – specify the cease worth if it’s a STOP_LOSS_LIMIT order. For different order sorts it should be empty
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
BinanceUS – displays if the Binance.com or Binance.US server shall be used
string SendFuturesOrderToBinance(string image = “”, string path = “”, string sort = “”, double lot = 0, double entry_price = 0, double stop_price = 0, double stop_loss = 0, double take_profit = 0, string apikey = “”, string secretkey = “”)
– ship the order for the required futures instrument
Parameters:
image – specify the instrument
path – specify if the path is both “BUY” or “SELL”
sort – specify if the order sort is without doubt one of the following: “MARKET”, “LIMIT” or “STOP_LOSS_LIMIT”
lot – specify the quantity to enter
entry_price – specify the worth for pending (LIMIT or STOP_LOSS_LIMIT) orders. For MARKET and STOP_MARKET orders it should be empty
stop_price – specify the cease worth if it’s a STOP_LOSS_LIMIT or STOP_MARKET order. For different order sorts it should be empty
stop_loss – specify the stop-loss worth
take_profit – specify the take-profit worth
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
string SendCoinmFuturesOrderToBinance(string image = “”, string path = “”, string sort = “”, double lot = 0, double entry_price = 0, double stop_price = 0, double stop_loss = 0, double take_profit = 0, string apikey = “”, string secretkey = “”)
– ship the order for the required COIN-M futures instrument
Parameters:
image – specify the instrument
path – specify if the path is both “BUY” or “SELL”
sort – specify if the order sort is without doubt one of the following: “MARKET”, “LIMIT” or “STOP_LOSS_LIMIT”
lot – specify the quantity to enter
entry_price – specify the worth for pending (LIMIT or STOP_LOSS_LIMIT) orders. For MARKET and STOP_MARKET orders it should be empty
stop_price – specify the cease worth if it’s a STOP_LOSS_LIMIT or STOP_MARKET order. For different order sorts it should be empty
stop_loss – specify the stop-loss worth
take_profit – specify the take-profit worth
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
string CancelSpotOrderToBinance(string image = “”, lengthy orderId = 0, string apikey = “”, string secretkey = “”, bool binanceUs = false)
– cancel the order on the required spot instrument
Parameters:
image – specify the instrument
orderId – specify if the orderId of the order that must be cancelled
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
binanceUS – displays if the Binance.com or Binance.US server shall be used
string CancelFuturesOrderToBinance(string image = “”, lengthy orderId = 0, string apikey = “”, string secretkey = “”)
– cancel the order on the required futures instrument
Parameters:
image – specify the instrument
orderId – specify if the orderId of the order that must be cancelled
apikey – specify the Binance API key
secretkey – specify the Binance Secret key
string CancelCoinmFuturesOrderToBinance(string image = “”, lengthy orderId = 0, string apikey = “”, string secretkey = “”)
– cancel the order on the required COIN-M futures instrument
Parameters:
image – specify the instrument
orderId – specify if the orderId of the order that must be cancelled
apikey – specify the Binance API key
secretkey – specify the Binance Secret key