Job finished
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Specification
Morning,
So its as I said last message.
we have the format correct but the output should be that every time a trade is executed the output should be the updated open positions.
so every trade opening or closing sends a snapshot of the open positions, but added together where there are 2 or more open positions like in NZDUSD below
EG.
Would look like this:
id_specific,extra_key,value_ts,strategy,internal_code,ric,ticker,target_notional,currency,target_contracts,ref_price,advisor_name
GA,FX+_NZDUSD,2021-10-06 15:06,FX+,NZDUSD,NZDUSD,NZDUSD,-71364,USD,-150000,0.689753,Expert Final
GA,FX+_CHFUSD,2021-10-06 15:06,FX+,CHFUSD,CHFUSD,CHFUSD,-92929,CHF,-100000,0.9292899999999999,Expert Final
GA,FX+_AUDUSD,2021-10-06 15:06,FX+,AUDUSD,AUDUSD,AUDUSD,72491,USD,100000,0.7249100000000001,Expert Final
GA,FX+_GBPUSD,2021-10-06 15.06,FX+,GBPUSD,GBPUSD,GBPUSD,135532,USD,100000,1.35532,Expert Final