Dukascopy
 
 
Wiki JStore Search Login

recording P/L in pips correctly when running concurrent multiple strategies
 Post subject: recording P/L in pips correctly when running concurrent multiple strategies Post rating: 0   New post Posted: Tue 16 Feb, 2016, 19:12 
User avatar

User rating: 2
Joined: Fri 02 Mar, 2012, 22:08
Posts: 200
Location: New Zealand, Dunedin
Hi

Currently I am running six strategies at the same time - each trading a different currency pair

I am trying to record P/L (in pips) for each trade that each different strategy does.

My Question:-

If I am using onMessage to record P/L for closed trades, how do I ensure that each strategy only updates its own currency pair P/L figures ?

Bob M


 
 Post subject: Re: recording P/L in pips correctly when running concurrent multiple strategies Post rating: 0   New post Posted: Sun 21 Feb, 2016, 19:44 
User avatar

User rating: 4
Joined: Wed 22 Jun, 2011, 00:10
Posts: 67
Location: United KingdomUnited Kingdom
Hi Mate,

Might be missing something but why don't you define standard "trade" names depending on the strategy you are running then should be easy to differentiate P/L...

Back after 1 year of inactivity so i am not the best guy to answer that question...

Will probably go inactive again as soon as I am loosing some cash prize because i am not running Visual JFOREX :evil:


 

Jump to:  

  © 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