EventHook#
- class pams.events.EventHook(event, hook_type, is_before, time=None, specific_class=None, specific_instance=None)[ソース]#
Event Hook class.
Event hook define when and what events are hooked from simulator. It means that Event (
Event
) can be used for multiple time if you appropriately set the event hook using the evnet. Event can be hooked before and after order placements, order cancellations, order executions, each session, and each step mor markets. You can also filter hooking point by market time, classes, instances of markets. (Currently, only market class and instances are supported.)