How can request more details about the existing positions?

How can request more details about the existing positions?
Atom
27.11.2017
Jose


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)
Код

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

Теги:


Спасибо:


< 1 2 3 
Jose

Фотография
Дата: 06.01.2018
Ответить


Цитата:
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)
Спасибо:

Support

Фотография
Дата: 08.01.2018
Ответить


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.
Спасибо:

Jose

Фотография
Дата: 15.01.2018
Ответить


Цитата:
Unfortunately FXCM do not provide entry info.


Please take a look to my original question what I wrote in November:
Цитата:
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.

Спасибо:

Support

Фотография
Дата: 16.01.2018
Ответить


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.

Спасибо:

Jose

Фотография
Дата: 16.01.2018
Ответить


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
Спасибо:

Support

Фотография
Дата: 17.01.2018
Ответить


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.
Спасибо:
< 1 2 3 

Добавить файлы через драг-н-дроп, , или вставить из буфера обмена.

loading
clippy