Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Last market price
 Post subject: Last market price Post rating: 0   New post Posted: Tue 02 Aug, 2011, 16:32 

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?


 
 Post subject: Re: Last market price Post rating: 0   New post Posted: Wed 03 Aug, 2011, 08:14 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
roirodriguez wrote:
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.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com