0
fokus pada
1
Pengikut

Teruskan meminta bantuan untuk mendapatkan maklumat akaun

Dicipta dalam: 2021-11-10 22:42:42, dikemas kini pada:
comments   3
hits   914

OKEX Simulator

Simulasi maklumat pegangan Teruskan meminta bantuan untuk mendapatkan maklumat akaun

ETH dipasang pada cakera keras

Teruskan meminta bantuan untuk mendapatkan maklumat akaun

Kod ini juga menetapkan simulasi cakera.

// diset untuk simulan exchanges[0].IO(“simulate”, true) // ditetapkan sebagai kontrak kekal exchanges[0].SetContractType(“swap”) // Membaca maklumat terkini var ticker0 = exchanges[0].GetTicker() Log(“High:”, ticker0.High, “Low:”, ticker0.Low, “Sell:”, ticker0.Sell, “Buy:”, ticker0.Buy, “Last:”, ticker0.Last, “Volume:”, ticker0.Volume) var position0 = exchanges[0].GetPosition() if (position0.length > 0) { Log “permanent contract exchanges”[0] Amount:“, position0[0].Amount, “FrozenAmount:”, position0[0].FrozenAmount, “Price:”,position0[0].Price, “Profit:”, position0[0].Profit, “Type:”, position0[0].Type, “ContractType:”, position0[0].ContractType) } else { Log (“pegang kosong”) } var account = exchange.GetAccount() Log (((” maklumat akaun, Balance:“, account.Balance, “FrozenBalance:”, account.FrozenBalance, “Stocks:”, account.Stocks, “FrozenStocks:”, account.FrozenStocks)

Teruskan meminta bantuan untuk mendapatkan maklumat akaun Hasilnya, saya tidak dapat membaca mesej tersebut… … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … … …