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.

Call Summary position in a strategy
 Post subject: Call Summary position in a strategy Post rating: 0   New post Posted: Wed 19 Feb, 2014, 17:38 

User rating: 0
Joined: Fri 06 Dec, 2013, 09:27
Posts: 3
Location: Italy, Torino
Hi,

how can i call the summary position list from a strategy? I try to explain in a better way the problem: in a generic strategy i can read the list of orders (with engine.getOrders() ).
But what about the Summary Position Panel? In this case I have a line for each instrument, but i don't find any code examples that uses this panel .

thank you soo much!!

Silvia


 
 Post subject: Re: Call Summary position in a strategy Post rating: 0   New post Posted: Thu 20 Feb, 2014, 10:36 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It is rather straightforward how you can aggregate this data from your strategy, see:
https://www.dukascopy.com/wiki/#Order_Management/Position_aggregated_P/L_and_amount_for_each_instrument


 
 Post subject: Re: Call Summary position in a strategy Post rating: 0   New post Posted: Fri 21 Feb, 2014, 11:56 

User rating: 0
Joined: Fri 06 Dec, 2013, 09:27
Posts: 3
Location: Italy, Torino
Thanks!


Silvia


 

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