How can request more details about the existing positions?


How can request more details about the existing positions?
Atom
11/27/2017


Hello Mikhail and hi all!

This StockSharp project looks very-very exciting and I started to look through some source codes and I tried some examples.
Unfortunately I cannot find the way, how can I get details about the active (opened) positions?
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)
Code

Trader.NewPosition += position => Trader_NewPosition(position);
Trader.NewPosition += position => _portfoliosWindow.PortfolioGrid.Positions.Add(position);
...
        private void Trader_NewPosition(Position pos)
        {
            MessageBox.Show("cval: " + pos.CurrentValue.ToString() + " | desc: " + pos.Description + " | Currency: " + pos.Currency.ToString() + " | RealizedPnL: " + pos.RealizedPnL.ToString() + " | BlockedValue: " + pos.BlockedValue.ToString());
        }

Kind of every values in the Position object are null, so I could not get the entry price and the direction values.
Or this limited data problem is only related to the FXCM connections? ...because in fact I plan to use the CQG and/or the Rithmic connections.
Please help me, how can I get the existing positions details after a new connection?

Thanks in advance!
Jose

Tags:


Thanks:


< 1 2 3 
Jose

Avatar
Date: 1/6/2018
Reply


Quote:
We fill most of all values translated by FXCM.

I don't understand it, how do you mean?
Please send me a code part about how can I request the position's entry time and the entry price about the existing position(s)
Thanks:

Support

Avatar
Date: 1/8/2018
Reply


Position object do not have such property. You can track entry time by executions. For example use MyTrade object.

We cannot fill our object with non exist info. Unfortunately FXCM do not provide entry info.
Thanks:

Jose

Avatar
Date: 1/15/2018
Reply


Quote:
Unfortunately FXCM do not provide entry info.


Please take a look to my original question what I wrote in November:
Quote:
Does your API support this feature? I mean is it possible at all to request and get the all details about an existing position(s) regardless which connection* what do I use?
* = i.e: Rithmic, CQG, LMAX, FXCM, IB


To this question above Mikhail answered: yes
...this was the main reason why I paid for your support service.
But now your last answer makes me very surprised and I am mostly dissatisfied.
Thank you for stole my time and my money.

Thanks:

Support

Avatar
Date: 1/16/2018
Reply


Thank you for your feedback. You paid for support service and we provide it. Unfortunately we cannot provide info that doesn’t exist. If you broker do not translate required data S# will fill by blank values. That is why we recommend to use workaround with your connection. Or try to use different broker with required data.

Thanks:

Jose

Avatar
Date: 1/16/2018
Reply


Yes, it would be nice if I could get a correct support service but please read my original question thoughtfully and your answer to it.

- my question: "...regardless which connection* what do I use? * = i.e: Rithmic, CQG, LMAX, FXCM, IB"
- first answer: "yes"
- answer now: "try to use different broker with required data"

So this is the reason why I still feel that: your paid support service is a scam.

ps.: some other companies' connectors to FXCM totally supports these necessary functions, so I really cannot imagine that FXCM does not provide indispensable information
Thanks:

Support

Avatar
Date: 1/17/2018
Reply


Thank you for your response. Unfortunately we do not any other info except provided. We will translate your request to development team. They will contact you.
Thanks:
< 1 2 3 

Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy