Is there a time implementation function?

Author: evan1987, Created: 2020-10-14 20:55:30, Updated:

Ladies and gentlemen, I would like to ask if there is a library that uses time, for example, I do not trade within an hour after executing the flat position setup, I can do it after an hour; or for example automatically initialize some parameters every morning.


More

homilypython has an apscheduler library, which allows you to specify precisely the minute, the hour, a def function; or specify intervals of minutes, etc.; from apscheduler.schedulers.blocking import BlockingScheduler This is a very useful tool.

evan1987Good, thank you.

The Little DreamTimed design, articles can be found at: https://www.fmz.com/digest-topic/5942

The grassSelf-record time tags, use Date, now (((), and then compare