Cinemizer 0 Report post Posted June 2, 2020 Hi, Is it possible to initialise a lightstreamer stream to get current info about, which positions are open at a market, I placed open positions (trades) ? I mean, the same info, which can be get by a GET http call of:https://ciapi.cityindex.com/TradingAPI/order/openpositions I would need about 2 times in a second an info about my open positions, to be able to detect, if one or more are executed. Or how can I get easyest way actual information about, if an open position was executed ? Is it possible to get a message if a position was executed, instead, asking every second by http GET ? THX ! Share this post Link to post
Physicsman 25 Report post Posted June 3, 2020 Hello, It sounds as though you are trying to replicate the functionality of the Open Positions panel from our trading platforms in your own application. The normal usage pattern is then: Subscribe to the Orders stream. Call ListOpenPositions to initially populate your Open Positions grid. Upon receving an update to your open positions from the Order stream, call GetOpenPosition to update your Open Positions grid with the latest updates. Kind Regards, PM Share this post Link to post