-
Hi again, and thanks for your previous help! I have a question regarding the constants I noticed that in Looking forward to your insights — thanks again! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
In MBO, FILL_EVENT is used to check which specific order(from the market) has been filled, allowing the exchange processor to determine to fill the corresponding back-testing order. In addition, order book is managed, such as removing resting orders, is handled separately through a cancel action. https://databento.com/docs/standards-and-conventions/common-fields-enums-types#action Because the local processor does not need to match fills to back-testing orders, it can simply use TRADE_EVENT. Advanced users who require fill-level matching on the local side can implement a custom processor that consumes FILL_EVENT. |
Beta Was this translation helpful? Give feedback.
The event types come from Databento’s action field:
A FILL_EVENT occurs when an order resting in the order book is executed. The corresponding TRADE_EVENT also occurs at the same time(the local receipt timestamp may differ but the exchange timestamp is the same).
But, TRADE_EVENT can also appear when the trade occurs off-book.
You can build signals from the trade events—such as VWAP or order-arrival rates. See the Working with Market Depth and Trades, Guéant–Lehalle–Fernandez-Tapia Market Making Model and Grid Trading tutorials.