The Yongnan Futures Exchange has been unable to log in.

Author: yuhaowork, Created: 2020-07-31 14:19:43, Updated:

After adding the exchange, the non-login futures exchange has been displayed, but it was added directly in the exchange search, without modifying anything else, just fill in the account password, and then added successfully, but a running robot shows GetAccount: not login, please ask how this change is solved?


More

The grassSee the community's top-up tutorial, and ensure successful landing before calling the API.

yuhaoworkThank you. I've fixed the ctp forever futures. I'm not set up.

The grassDetermine if the password is correct or not, CTP needs to change the password when first logged in, which can be changed in the trading software

yuhaoworkI tried the above code, selected the look-alike, the futures, the exchange set up, and ran it, showing this error (CTP_T@20000) Error: 3 CTP: Not logged in, I don't know what's going on

The grassThe tutorial explains the general framework for the re-entry process: What's up? function main (() { _C ((exchange.SetContractType, "MA888") // No log-in successfully failed to subscribe to the contract, please try again while ((true) { If (exchange.IO) is a function of Var ticker = exchange.GetTicker is a Log (("MA888 ticker:", ticker) is the name of the game. LogStatus ((_D(), "CTP has been connected!")//_D acquisition event } else { LogStatus ((_D(), "Not connected to CTP!") Sleep ((1000) is the name of the I'm not sure. I'm not sure. I'm not sure. What's up? You try the code above. Don't forget to see /upload/asset/1b466e58d7ef5ec8f44.png when adding.

yuhaoworkI have read the tutorial, now the problem is that the login failed, so I want to ask why the login failed, exchange.GetAccount shows not login means that the login failed, but my account password is not an error.