Skip to content

Guéant Lambda Calculation - Why Divide Depth by 0.5? #46

Answered by nkaz001
EssamEmad asked this question in Q&A
Discussion options

You must be logged in to vote

Q1 & Q2:
When we measure order arrival depth from the mid price, the closest possible tick to the mid price is 0.5.
For instance, if the tick size is 1:

  • Ask: 10, Bid: 9, Mid: 9.5.
    If a buy trade occurs at 10, the order arrival depth is 0.5.

  • Ask: 11, Bid: 9, Mid: 10.
    If a sell trade occurs at 9, the order arrival depth is 1.

To count the order arrival for a given time using index operator, I convert 0.5 to 0, 1 to 1, 1.5 to 2, and so forth.

Considering the order fills based on the queue position is intricate when measuring the order arrival depth. So, it's assumed that order fills occur only when the trade passes through a particular price.

For instance, if a buy trade occurs at 12, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by EssamEmad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants