LB, LTQ, RA

Custom indicators, trading strategies, data export and recording and more...
nickorzhan
Posts: 3
Joined: Tue Nov 19, 2024 10:14 am
Has thanked: 1 time

LB, LTQ, RA

Post by nickorzhan » Tue Nov 19, 2024 10:29 am

Hello,
 I want to develop a plugin for Bookmap, and I need to get data similar to DOM Pro. I have already managed to retrieve some information, but I haven't figured out how to access the fields for Recent Ask, Recent Bid, and Last Traded Quantity.
 I am working with data from Rithmic, so I assume there shouldn't be any issues with data availability.
Also, I am using Java for this.
 Could you please advise if it's possible to access these fields using the Bookmap API? If yes, any pointers or examples would be greatly appreciated.
 Thank you!

Tags:

Andry API support
Posts: 630
Joined: Mon Jul 09, 2018 11:18 am
Has thanked: 27 times
Been thanked: 88 times

Re: LB, LTQ, RA

Post by Andry API support » Fri Nov 22, 2024 3:59 pm

Hi, sorry for a delayed response.
Recent Ask and Recent Bid
You need to use Layer1ApiMboDataListener (Core API) or MarketByOrderDepthDataListener (Simplified API).
For both, the onMboSend method represents the recent order placed.
LastTradedQuantity
Implement Layer1ApiDataListener (Core API) or TradeDataListener (Simplified API). The onTrade method will give you the last traded quantity.
 

Post Reply