Stocks News
Binance EA Connected Library Documentation – Miscellaneous – December 23, 2023
product :
This product is an add-on to Crypto Charting.
This library allows you to manage your trades using any EA and is very easy to integrate into any EA using the script code mentioned in the description and demo examples in the video showing the entire process.
– Place Limit, SL Limit, Take Profit Limit orders
– Place Market, SL-Market, TP-Market orders
– Modify limit order
– withdraw order
– Query order
– Leverage, margin changes
– Get location information
And more…
Renting cryptocurrency charts is optional, unless MT5 does not have Binance charts.
Script demo:
#property copyright "Copyright 2024, Rajesh Kumar Nait" #property link "https://www.mql5.com/en/users/rajeshnait/seller" #property version "1.00" #import "..\Libraries\Library_Binance.ex5" string orderLimit (string symbol, string side, double quantity, double price, string timeInForce_, string recvWindow_, string reduceOnly_, string api, string secret, string apiurl, string apisuffix_); string modifyorderLimit(string symbol, long oid, string side, double quantity, double price, string recWindow_, string reduceOnly_, string api, string secret, string apiurl, string apisuffix_); string orderMarket(string symbol, string side, double quantity, string recWindow_, string reduceOnly_, string api, string secret, string apiurl, string apisuffix_); string orderStopMarket(string symbol,string side,double quantity,double stopPrice, string workingtype, string recWindow_, string reduceOnly_, string priceProtect_, string api, string secret, string apiurl, string apisuffix_); string orderTakeProfitMarket(string symbol,string side,double quantity,double stopPrice, string workingtype, string recWindow_, string reduceOnly_, string priceProtect_, string api, string secret, string apiurl, string apisuffix_); string orderStopLimit(string symbol,string side,double quantity,double stopPrice,double price, string workingtype, string recWindow_, string reduceOnly_, string priceProtect_, string api, string secret, string apiurl, string apisuffix_); string orderTakeProfitLimit(string symbol,string side,double quantity,double stopPrice,double price, string workingtype, string recWindow_, string reduceOnly_, string priceProtect_, string api, string secret, string apiurl, string apisuffix_); string CancelOrder(string symbol, long orderId, string recWindow_, string api, string secret, string apiurl, string apisuffix_); string CancelAllOpenOrder(string symbol, string recWindow_, string api, string secret, string apiurl, string apisuffix_); string QueryPositionMode(string recWindow_, string api, string secret, string apiurl, string apisuffix_); string QueryMultiAssetMode(string recWindow_,string api,string secret, string apiurl, string apisuffix_); string QueryOrderwithID(string symbol, long orderid, string recWindow_, string api,string secret, string apiurl, string apisuffix_); string CurrentOpenOrder(string symbol,long orderid, string recWindow_, string api,string secret, string apiurl, string apisuffix_); string CurrentAllOpenOrders(string symbol,string recWindow_,string api,string secret, string apiurl, string apisuffix_); string GetFuturesBalance(string recWindow_,string api,string secret, string apiurl, string apisuffix_); string GetAccount(string recWindow_,string api,string secret, string apiurl, string apisuffix_); string changeLeverage(string symbol,int leverage, string recWindow_, string api, string secret, string apiurl, string apisuffix_); string changeMargin(string symbol,string marginType, string recWindow_, string api, string secret, string apiurl, string apisuffix_); string positionRisk(string symbol, string recWindow_,string api,string secret, string apiurl, string apisuffix_); #import string BinanceFAPI = ""; string BinanceFSecret = ""; string FAPI = "https://testnet.binancefuture.com"; string apisuffix = "/fapi/v1/"; string timeInForce="GTC"; string reduceOnly="true"; string priceProtect="true"; string recvWindow="2000"; string working_Type = "CONTRACT_PRICE"; void OnStart()