Hi,
I have searched the forums but have not noticed this bug / error reported.
The COT_CommercialPos in the contract.c file references the wrong columns.
Currently Dealer Longs(2) - Dealer Shorts(3) + Dealer Spreads(4) - Assets Managers Longs(5)
Should be Asset Managers Longs(5) + Dealer Longs(2) - Asset Managers(6) Short + Dealer Shorts(3)
When referencing column 6 it pulls column 7 information.
And the same with calling 7 it pulls column 8 data.
Also I think the columns reference in the User Manual are also wrong.
Also seem unable to access column 8 and above they just return 0.00, so cannot access non commercial at column 8 and 9.
Adey
Last edited by Adey; 11/28/18 13:32.