Clock Tick Size - Hummingbot
URL: https://hummingbot.org/global-configs/clock-tick/
Contents:
- Clock tick size¶
- How it works¶
- How to configure Tick Size¶
- More Resources¶
Starting with version 1.8.0, the tick_size is now added as a variable in the ClientConfigMap, this means that you will be able to change the value of the tick size in the conf_client.yml file or by running config tick_size from within Hummingbot.
All the major components of Hummingbot, like the connectors and the strategies inherit from the TimeIterator class. The Clock notifies all the components involved in the strategy by calling the method c_tick() of the time iterators every tick_size.
By default, the tick_size (or how long it takes Hummingbot to loop through a strategy iteration) is currently set to 1 second.
There are two ways to configure the tick size
Due to connector limitations, the tick size cannot be set lower than 0.1 seconds
To check what the current tick_size is, you can run the config command and check the tick_size value under the Global Configurations section
Here's a short video where Foundation developer Federico shows how the tick_size works: https://www.loom.com/share/138d49d3ceb34da9943f114d848dbe77