Agent trading settings - Events

The Agent trading settings, as well as the Common settings, are available when creating a new agent. In addition, the Trading settings window can be opened by clicking on the gear icon in the Agent column.

Events

Events are understood as operations of a broker or exchange with an order (during the execution of a transaction) or general events related to the program.

When one of the events occurs, a Single agent recalculation is executed. In the editor, you can use the Additional "Event" block. At this recalculation, if an event has occurred, the block will return True, which can be used in the algorithm. If there are many events in one agent at once, a single recalculation is performed. A lot at once - write a hardcode for 5ms. That is, if several events occurred within 5ms, the recalculation call will be single.

Last updated