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.

All history orders in API without running over all instruments
 Post subject: All history orders in API without running over all instruments Post rating: 0   New post Posted: Tue 25 Jun, 2013, 15:19 

User rating: 0
Joined: Tue 25 Jun, 2013, 15:15
Posts: 14
I have two questions..
first: how i get all history orders in API without running over all instruments?
second: how i get deposit/withdrawal data through API? may be some method?


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Tue 25 Jun, 2013, 15:23 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Both features will be available with JForex-API 3.0.


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Tue 25 Jun, 2013, 15:31 

User rating: 0
Joined: Tue 25 Jun, 2013, 15:15
Posts: 14
tell me please release date of JForex-API 3.0 approximately?


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Tue 25 Jun, 2013, 15:41 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There is no timeline set.


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Tue 25 Jun, 2013, 15:43 

User rating: 0
Joined: Tue 25 Jun, 2013, 15:15
Posts: 14
is possible parse statements / csv to get orders data?


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Tue 25 Jun, 2013, 15:47 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
You can either use standard java API file read/write functionality, see:
https://docs.oracle.com/javase/tutorial/ ... /file.html
or some third-party solutions, see:
https://opencsv.sourceforge.net/


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Thu 27 Jun, 2013, 11:24 

User rating: 0
Joined: Tue 25 Jun, 2013, 15:15
Posts: 14
hello , can you help me please?
how i get first trade date from my account?


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Thu 27 Jun, 2013, 11:26 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
See:
https://www.dukascopy.com/wiki/#Order_history


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Thu 27 Jun, 2013, 11:34 

User rating: 0
Joined: Tue 25 Jun, 2013, 15:15
Posts: 14
ok, in this example you get weekly data, i need get history data from date of the first order in my account, can i get it?
and how long interval time may be to get history?


 
 Post subject: Re: Hello ! Post rating: 0   New post Posted: Thu 27 Jun, 2013, 12:47 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
sereja wrote:
ok, in this example you get weekly data, i need get history data from date of the first order in my account, can i get it?
Pass the time interval that you need - weekly interval is just the example case. In either case there is no such function in API "get the creation time of the first order of this account" - if you don't know it yourself, then simply choose bigger time interval.
sereja wrote:
and how long interval time may be to get history?
This is not restricted, however for bigger intervals consider using the asynchronous approach.


 
 Post subject: Re: All history orders in API without running over all instruments Post rating: 0   New post Posted: Thu 27 Jun, 2013, 12:57 

User rating: 0
Joined: Tue 25 Jun, 2013, 15:15
Posts: 14
can you let me example of the asynchronous approach?


 
 Post subject: Re: All history orders in API without running over all instruments Post rating: 0   New post Posted: Thu 27 Jun, 2013, 12:58 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It is in the same wiki article.


 
 Post subject: Re: All history orders in API without running over all instruments Post rating: 0   New post Posted: Thu 27 Jun, 2013, 13:01 

User rating: 0
Joined: Tue 25 Jun, 2013, 15:15
Posts: 14
ok thanks.


 

Jump to:  

  © 1998-2026 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