You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If two asks or bids are given that have the same price and quantity by two different traders, these are represented in the lob passed into respond method of a trader by two lists which will contain the exact same values. If the trader is maintaining a list of existing trades when the new lob comes in and attempts to diff the new lob with the old one, it becomes difficult to determine if these orders have already been seen. An example of this is detailed below:
If two asks or bids are given that have the same price and quantity by two different traders, these are represented in the
lob
passed intorespond
method of a trader by two lists which will contain the exact same values. If the trader is maintaining a list of existing trades when the new lob comes in and attempts to diff the new lob with the old one, it becomes difficult to determine if these orders have already been seen. An example of this is detailed below:I believe this could be solved if each bid/ask was given a unique identifier which lasts for as long as it is on the order book.
The text was updated successfully, but these errors were encountered: