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.

getOpenPrice()
 Post subject: getOpenPrice() Post rating: 0   New post Posted: Wed 15 Dec, 2010, 21:30 

User rating: 0
Joined: Mon 29 Nov, 2010, 19:30
Posts: 3
Hi,

If I submit an order by the following method:

IOrder submitOrder(String label, Instrument instrument,IEngine.OrderCommand orderCommand,double amount)

when you use getOpenPrice() it always return 0 (even after order is opened) that according to the description of getOpenPrice() is not correct in my opinion.

Thanks,


 
 Post subject: Re: getOpenPrice() Post rating: 0   New post Posted: Thu 16 Dec, 2010, 16:11 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Order open price will be changed only after the order is filled.


 

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