Access to account information

Author: lzhqlj, Created: 2021-11-07 14:59:43, Updated:

The OKEX simulation has storage The transaction details of BTCUSD are permanent

全仓
买入

Transaction time quantity price amount of transaction liquidity direction handling fee

2021-11-06
13:45:19

1.0001 BTC	61,496.6 USD	1.0001 BTC	吃单	-0.00050002 BTC

The Code Var position = exchange.GetPosition (()) Log ((position.length,position.length)) if ((position.length > 0) { Log ((Amount: , position[0].Amount, FrozenAmount: , position[0].FrozenAmount, Price: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , position[0].Price, Profit: , position[0].Profit, Type: , position[0].Type, ContractType: Contract, position [0].ContractType is the name of the type of the contract. I'm not sure. I'm not going to. Display information as 2021-11-07 14:56:50 information about position.length 0 2021-11-07 14:56:50 Info {Instrument ID: exchange rate: exchange rate: exchange rate: exchange rate) } 2021-11-07 14:56:50 Added exchange for futures exchange: Futures_OKCoin 2021-11-07 14:56:50 Information Current exchange: Futures_OKCoin This is a list of all the different ways Futures_OKCoin is credited in the database.

What's the reason for not reading the data?


More

The Little DreamAlso, your holdings are in BTC, but what you're reading right now are holdings in ETH, and the return is definitely `` [] ``.

The Little DreamDid you use ``exchange.IO (("simulate", true) `` to switch analog drives?

lzhqljThank you. I read your message.

The Little DreamHave you switched all your exchanges? Check it out for yourself, carefully.

lzhqlj/upload/asset/23ca3f81151f6e07e79d3.jpg /upload/asset/23bf3ecd55cf97042c92f.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg /upload/asset/23ca3f81151f6e07e79d3.jpg /upload/asset/23bf3ecd55cf97042c92f.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg /upload/asset/23ca3f81151f6e07e79d3.jpg /upload/asset/23bf3ecd55cf97042c92f.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg The code looks like this. Log ((("exchanges[0].GetTicker()", exchanges[0].GetTicker((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Log (("exchanges[1].GetTicker("), exchanges[1].GetTicker (()) and other links to the site. Log ((("exchanges[0]. GetPosition ((()", exchanges[0].GetPosition ((()) is the name of the file. Log (("exchanges[1]. GetPosition("), exchanges[1]. GetPosition (()) I'm not going to tell you what to do. In addition to the above-mentioned features, there is also a new feature that allows you to set up a new trading account with a new trading account with a new trading account, which allows you to set up a new trading account with a new trading account with a new trading account, which allows you to set up a new trading account with a new trading account. It's not that I don't like it. This is the message back. Please ask: 1) Why is box 1 empty in the log file? 2) What is the information returned and no information about opening the warehouse?

lzhqlj/upload/asset/23ca3f81151f6e07e79d3.jpg /upload/asset/23bf3ecd55cf97042c92f.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg /upload/asset/23ca3f81151f6e07e79d3.jpg /upload/asset/23bf3ecd55cf97042c92f.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg /upload/asset/23ca3f81151f6e07e79d3.jpg /upload/asset/23bf3ecd55cf97042c92f.jpg /upload/asset/23c46a7af1a3ef0ab85c7.jpg The code looks like this. Log ((("exchanges[0].GetTicker()", exchanges[0].GetTicker((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Log (("exchanges[1].GetTicker("), exchanges[1].GetTicker (()) and other links to the site. Log ((("exchanges[0]. GetPosition ((()", exchanges[0].GetPosition ((()) is the name of the file. Log (("exchanges[1]. GetPosition("), exchanges[1]. GetPosition (()) I'm not going to tell you what to do. In addition to the above-mentioned features, there is also a new feature that allows you to set up a new trading account with a new trading account with a new trading account, which allows you to set up a new trading account with a new trading account with a new trading account, which allows you to set up a new trading account with a new trading account. It's not that I don't like it. This is the message back.

The Little DreamIf your first exchange object in the screenshot is not set to ETH, so to get hold of ETH, definitely not to get hold of BTC, you have to access the second exchange object, using exchanges[1] and not exchanges. See the API documentation on exchanges and exchanges.

lzhqljI've been trying to get a hold of you for a while now. If you can set it here, then I feel like that's why I set my account.

The Little DreamThe trading pairs can also be switched in the policy code, taking into account the trading pairs that are set when the exchange object is added to the real-world. SetCurrency ("XXX_YYY") set to reset the contract code. You can see the new entry: https://www.fmz.com/digest-topic/6857 Learn about these basic concepts and functions.

lzhqljI'd like to know if it's the code setting or the UI setting?

The Little DreamCheck if the transaction pair is set incorrectly.

lzhqljvar Ct ='swap' // Contract type is permanent contract See API documentation for more details function main (() { // Clear logs, if not needed, can be deleted LogReset ((1)) is a // Set the price decimal to 2 bits and the sub-variety to 3 bits Exchange.SetPrecision (also known as QuotePrecision, BasePrecision) // set to the simulation position exchange.IO (("simulate", true) What do you think? Log (("Current exchange:", exchange.GetName (()))) Log (("Start the policy") ") var eType is 0. var eName = exchange.GetName ()) Var patt = /Futures_/ if (patt.test ((eName)) { Log (("Exchanges added for futures exchanges:", eName, "#FF0000") eType = 1 if (Ct == "") { throw "Ct contract is set to empty" } else { Log ((exchange.SetContractType ((Ct), "Set up the contract:", Ct, "#FF0000") I'm not sure. } else { Log (("Added exchange for spot exchange:", eName, "#32CD32") I'm not sure. var lastMsg = "" var position = exchange.GetPosition (()) Log (("position.length", "position.length") is the name of the file. if (position.length > 0) { Log (("Amount:", position[0].Amount, "FrozenAmount:", position[0].FrozenAmount, "Price:", is the name of the game. position[0].Price, "Profit:", position[0].Profit, "Type:", position[0].Type, which is the value of the property. "ContractType:", position[0].ContractType) This is a list of all the different ways ContractType is credited in the database. I'm not sure. I added BTC when I was configuring the hard drive, but I don't know why the log out was ETH. Policy: Cookie testing code (last updated on 11-07-2021 at 23:07:18) Date: Created on 2021-11-06 13:43:16 Recently started on 2021-11-08 12:41:18 Stopped on 2021-11-08 12:41:25 Status: K-line cycle 3 minutes, stopped It is hosted at 546412: 8.218.123.197 - linux/amd64 (VPS-12054), ID: 394619 OKEX futures simulation / ETOKEX futures simulation / BTC

lzhqljSwitch it up.