cityindex/CIAPI.CS — pull request #183 by mrdavidlaing (2012-07-31 11:31:05+00:00)
Title: Bug delayed trademargin messages

It should be possible to get the current P&L for each open position by subscribing to the TradeMargin stream, and watching for TradeMarginDTO's for each open position (keyed on MarketId).

This works for the first 2 open positions, but TradeMarginDTO's don't seem to come through for any of the other open positions.

e.g,