- Forums
- Help
- K-line date problem in python
K-line date problem in python
Author:
shenglinqian, Created: 2017-05-25 13:50:10, Updated:
Please ask if the current date can be determined in the retrieval in python? the time field in record is translated with timelocal and strftime time is very strange, also please tell me, thank you!
More
- 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?
- python retrieves error reports in non-trading hours
- 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 Black Swan Effect
The Little DreamYes, the time in Python's time module is a floating point number of seconds.
edwardgywSo the time in records is milliseconds, and you're going to have to divide by 1000 to convert it.
shenglinqianThank you!
The Little DreamThat's right
The Little DreamThis is a list of all the different ways Dn-filebox.qbox.me/9b557ee68537c783b97fdc53ad37070833bbe753.png is credited in the database.
I've ported the template to Python, and I can try it, and it has IsTrading functions.
edwardgywIn the js
while (!exchange.IO (("status")) {
Sleep ((500) is a
I'm not sure.
In a nutshell, exchange.IO (("status") is used to determine if you are connected to an exchange.
In addition, $.IsTrading (ContractType) is used to determine whether the futures varieties are trading at the time.
$.IsTrading is a function in the zero futures commodity library that you can search for and port to yourself.
shenglinqianIf you ask me again, Python has retested that during non-trading time, the system writes a lot of "login error: not login", how can this be solved better?
shenglinqianThank you!
shenglinqianThank you!