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.

recording deals
 Post subject: recording deals Post rating: 0   New post Posted: Tue 14 Feb, 2012, 16:42 

User rating: 0
Joined: Tue 14 Feb, 2012, 16:38
Posts: 2
We have seen in one of the previous examples how to record ticks (bid/ask prices and their respective volumes).

Is it possible to record deals -- i.e. bid ask quotes that were actually hit by a market order?
It would be great if you could show a code snippet for that.

Thanks.


 
 Post subject: Re: recording deals Post rating: 0   New post Posted: Wed 15 Feb, 2012, 13:18 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
For retrieving order history see:
https://www.dukascopy.com/wiki/#Order_history
and another example:
https://www.dukascopy.com/wiki/#Get_orders_history
for retrieving active orders see:
https://www.dukascopy.com/wiki/#Order_Management
for writing to file see:
https://www.dukascopy.com/wiki/#Write_to_file


 
 Post subject: Re: recording deals Post rating: 0   New post Posted: Wed 15 Feb, 2012, 17:46 

User rating: 0
Joined: Tue 14 Feb, 2012, 16:38
Posts: 2
Thanks very much.
Just to clarify -- my question is about not about my own orders, but about deals by anyone consuming the liquidity space. would order history get these too?

Thanks!


 
 Post subject: Re: recording deals Post rating: 0   New post Posted: Fri 17 Feb, 2012, 09:59 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
trendik wrote:
Just to clarify -- my question is about not about my own orders, but about deals by anyone consuming the liquidity space. would order history get these too?
This data is not available from JForex-API.


 

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