fxcm. StockSharphttps://stocksharp.com/handlers/atom.ashx?category=tag&id=fxcm&type=communityCopyright @ StockSharp Platform LLC 2010 - 20242024-03-28T16:34:18Zhttps://stocksharp.com/images/logo.pnghttps://stocksharp.com/topic/8867/How can request more details about the existing positions?2017-11-27T06:03:38Z2018-01-18T11:09:23ZJosehttps://stocksharp.com/users/99429/info@stocksharp.comHello Mikhail and hi all!<br /><br />This StockSharp project looks very-very exciting and I started to look through some source codes and I tried some examples.<br />Unfortunately I cannot find the way, how can I get details about the active (opened) positions?<br />For example I made a connection to FXCM (by the SampleFxcm project) and I subscribed to the NewPosition event with a new function: Trader_NewPosition(Position pos)<br /><div class="code"><strong>Code</strong><div class="innercode"><br />Trader.NewPosition += position => Trader_NewPosition(position);<br />Trader.NewPosition += position => _portfoliosWindow.PortfolioGrid.Positions.Add(position);<br />...<br /> private void Trader_NewPosition(Position pos)<br /> {<br /> MessageBox.Show("cval: " + pos.CurrentValue.ToString() + " | desc: " + pos.Description + " | Currency: " + pos.Currency.ToString() + " | RealizedPnL: " + pos.RealizedPnL.ToString() + " | BlockedValue: " + pos.BlockedValue.ToString());<br /> }<br /></div></div><br />Kind of every values in the Position object are null, so I could not get the entry price and the direction values.<br />Or this limited data problem is only related to the FXCM connections? <em>...because in fact I plan to use the CQG and/or the Rithmic connections.</em><br />Please help me, how can I get the existing positions details after a new connection?<br /><br />Thanks in advance!<br />Jose<br />