Dukascopy
 
 
Wiki JStore Search Login

timestamp and opening price of an open trade
 Post subject: timestamp and opening price of an open trade Post rating: 0   New post Posted: Sun 16 Feb, 2020, 07:12 
User avatar

User rating: 2
Joined: Fri 02 Mar, 2012, 22:08
Posts: 200
Location: New Zealand, Dunedin
Hi
I have a loop which looks at each and every open trade

I wish to record the timestamp and the price at which the trade opened at

What is the code to do this please ?

Bob M


 
 Post subject: Re: timestamp and opening price of an open trade Post rating: 0   New post Posted: Mon 17 Feb, 2020, 18:58 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Hello.

Methods getFillTime() and getOpenPrice() will help you along with console.getOut().println()
https://www.dukascopy.com/client/javado ... Order.html
https://www.dukascopy.com/wiki/en/devel ... al/console

Kind regards, Support Team.


 

Jump to:  

cron
  © 1998-2024 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