i.e. for 3 records, I'll have 3 entries, which is quite
Now, if you look at the recordset above, you will notice that
for instrument B,
both the avg buy and the avg sell are neq 0.
When I encounter such a condition, I need to split the row
into 2 as follows:
Instrument Avg. Buy Avg. Sell
A 1 0
B 1 0
B 0 1
C 0 1
How can I modify the above code to achieve this please?