User rating: 0
Joined: Tue 02 Aug, 2011, 16:23 Posts: 1 Location: ES
Hi,
I'm testing jforex standalone api. I see i can receive level 2 market data (10 best bid and ask prices) through the onTick event in my strategies. However there's a lot of strategies out there working with the last market price (the price at which the most recent trade was completed) and bars based on that price.
Is there any way (which i can't find) to obtain that data?
Is there any way (which i can't find) to obtain that data?
Normally you work with ITick.getBid() and ITick.getAsk() which are last best bid and ask prices of actual trades. Also from those prices ticks and bars are being formed.