Problems with bybit transaction account information

Author: lijingxfdj, Created: 2023-06-04 16:45:14, Updated:

function main (()) { // Initialize the exchange exchange.SetContractType (swap button) // Get the account information var account = exchange.GetAccount ((() Log ((( Account information, Balance:, account.Balance, FrozenBalance:, account.FrozenBalance, Stocks:, , , , , , , , , , , ) account.Stocks, FrozenStocks: , account.FrozenStocks) is a free-to-play mobile game developed and published by Nintendo. I'm not going anywhere. // printed out is: account information, Balance: 0 FrozenBalance: 0 Stocks: 0 FrozenStocks: 0 // The above code cannot access the bybit transaction result unified account? // There is money in the account, but no access


More

lijingxfdjI've done it and left a footprint for others: Log (("account.totalAvailableBalance:", account.Info.result.list[0].totalAvailableBalance)

The Little DreamThe exchange contracts are denominated in U-bits, although there are also permanent contracts. However, the denomination or U-bits are distinguished according to the transaction pairs. I'm not sure if this is a good idea.