- Forums
- Help
- python retrieves error reports in non-trading hours
python retrieves error reports in non-trading hours
Author:
shenglinqian, Created: 2017-05-26 11:04:54, Updated:
I'm trying to get back into Python, but during non-trading hours, the system writes a lot of "login error:not login", how can this be solved better?
More
- I read The Phantom of Wall Street.
- It's not necessary to make money to open up God's perspective.
- The inventor's quantum chemistry diary (three) (updated...)
- Fix your trading patterns, don't have to chase the Cup
- Inventors Quantify When did ETH start supporting ok and tokens?
- Now GetRecords can't use cycles?
- I took Python's decomposition is decomposition, and it took me a year.
- Custodian for OKCoin futures upgrade, please download again Deploy custodian
- The problem of multiple strategies
- Is Bitcoin supporting ETC and ETH transactions?
- K-line date problem in python
- Is the age of the bit unusable?
- Trending systems - how to deal with 70% shocks
- Vim remote programming is particularly useful, but note that VIM requires Python support.
- Can you tell us about the real-life meaning of increasing the volume, decreasing the volume, increasing the volume, decreasing the volume?
- 11 futures foreclosures in the country
- Programmatic transactions, the top 10 things to look out for
- Is it possible to trade multiple pairs of trades in one strategy?
- Oil futures are coming up, get in the car! Global oil futures market, big five spot, big three futures market
- What about the futures trading strategies of the little guy?
The Little DreamThis error should be a commodity futures strategy in the non-trading time problem, the general structure of the commodity futures strategy.
What's going on?
function MainLoop() { // A function that handles specific tasks
// deal Main task
I'm not sure.
function main (() {
The value of the variable is zero.
while ((true) {
status = exchange.IO (("status"); // API called to determine the connection status
if ((status === true) { // Judge the status
LogStatus (("connected!");
MainLoop ((); // After connecting to the exchange server, execute the main function.
}else{ // If no connection is made, then the exchange.IO (("status") function returns false
LogStatus (("Unconnected status!"); // Displays the unconnected status in the status bar.
I'm not sure.
Sleep ((1000); // need to have rounds of intervals to avoid too frequent access.
I'm not sure.
I'm not sure.
What's going on?
It is necessary to determine whether the transaction is connected to the market server; and preferably, whether the current operating varieties are within the transaction timeframe.
shenglinqianThank you!