og("当前交易所为", exchanges[0].GetName() )
Log("交易货币对=", new_symbol)
Log("开仓杠杆=", Leverage)
exchanges[0].SetContractType("swap") #设置合约类型
exchanges[0].SetCurrency(new_symbol)#设置货币对
exchanges[0].SetMarginLevel(Leverage)#设置杠杆
account = exchanges[0].GetAccount()
Log(account.Balance)
Log(account["Balance"])
Log(account["FrozenBalance"])
Log(account["FrozenStocks"])
Log(account["Stocks"])
Log出来的都是0 使用position就可以显示持仓。。。我想求当前账户可用金额 应该这么求呢?
lzhqljThank you very much.
Inventors quantify - small dreamsThe exchange rate is the rate at which the exchange rate of the currency is set. In the setup contract: exchanges[0].SetContractType ((( The collateral assets of the U-Byte contract are the Balance Attribute Record Binance's assets are recorded in Stocks. Note whether the exchange accounts distinguish between full and part-time positions.
Inventors quantify - small dreamsI'm not being polite.