Wrong position size in OPT from CQG API in Multicharts

Questions about MultiCharts and user contributed studies.
wilkinsw
Posts: 662
Joined: 21 Apr 2013
Has thanked: 154 times
Been thanked: 104 times

Wrong position size in OPT from CQG API in Multicharts

Postby wilkinsw » 10 Jul 2017

Hi,

I use MC 64 10 13626 with CQG API.

For the last few months I see the following behaviour about once a week:

In the OPT under “open positions” the number of lots long/short will be wrong for a given instrument. I verify this by cross validating against the CQG Trader platform and with the broker.

Charts show correct fills.

The OPT shows a correct history of fills.

BUT…..

“open positions” for a given position and “i_marketposition_at_broker” return the wrong value.

I think it is following a fill that this bug will sometimes arise. But it is inconsistent.

The remedy is to disconnect and reconnect to the CQG API. Sometimes this doesn’t work and a full platform restart is required.

Anyone else experience this? Is it a known issue?

Thanks.

User avatar
Angelina MultiСharts
Posts: 260
Joined: 28 Dec 2016
Has thanked: 28 times
Been thanked: 66 times

Re: Wrong position size in OPT from CQG API in Multicharts

Postby Angelina MultiСharts » 13 Jul 2017

Wilkinsw,

We've requested some additional information by Email to investigate this case.


Return to “MultiCharts”