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  >
Mikhail Sukhov

Avatar
Date: 11/28/2017
Reply


Hello Jose,

All support provides by special team. You can get an access. Please read details.

Also we have documentation on English.
Thanks: Jose

Jose

Avatar
Date: 11/29/2017
Reply


Hello Mikhail,

Thank you for your answer!
I checked the documentation and with this help I tried to get more details about my existing positions on different ways, but I always got back empty information - with other platforms I can see my EURUSD position is still there (I opened this position some days ago with the SampleFXCM app). ...but of course it has a chance I did something wrong...

I also tried to connect to FXCM with the Terminal and with the Hydra (based on the log it has happened) but in addition I always got some error messages, for example:
Code

17:34:22 Ecng.Data.BatchException`1[StockSharp.Hydra.Core.HydraTaskSettings]: Batch command thrown a exception. ---> System.ArgumentException: Type 'System.Uri' has no one members.
at Ecng.Serialization.SchemaManager.ValidateSchema(Schema schema)
at Ecng.Serialization.SchemaManager.<>c__DisplayClass16_0.<GetSchema>b__1(Type key)
at Ecng.Collections.CollectionHelper.SafeAdd[TKey,TValue](IDictionary`2 dictionary, TKey key, Func`2 handler, Boolean& isNew)
...

I could not interpret it. Anyway, just please inform me about these two things:
1.) 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?
2.) Is your API's connections* are stable and tested? (I mainly asked because of the errors what I have faced during the connections from the Terminal)
* = i.e: Rithmic, CQG, LMAX, FXCM, IB
and I promise that if your API works well (because I hope it can handle orders [laugh] perfectly) and stable I will purchase a technical support ...furthermore I plan to attend on the training too because despite the initial difficulties your product looks very promising.

+1) Usually how many msec is necessary to execute an order and get a feedback/confirmation about it? I know it depends on the server, connection, location, broker and etc. too, but if you have some experiences, measured information about your API please let me know.

Regards,
Jose
Thanks:

Mikhail Sukhov

Avatar
Date: 11/29/2017
Reply


1) Yes
2) Yes
Thanks: Jose

Jose

Avatar
Date: 11/30/2017
Reply


Thank you! Yesterday I bought the extended license. Please inform me about how can I get details about the existing positions [laugh]

Regards,
Jose
Thanks:

Юрий Басангов

Avatar
Date: 12/1/2017
Reply


Jose Go to
Thank you! Yesterday I bought the extended license. Please inform me about how can I get details about the existing positions [laugh]

Regards,
Jose


Hello, Jose
I think there is some misunderstanding. Under our special pffer we provide only extended license, which include:
- Ready-to-use market making strategies
- Quoting, option hedging
- Order log (level 3) strategies
- S#.Data server

Other features like videos, samples and support don't include in it.
If you want to get lifetime support you can take part in our crowdfunding project with investing 500 usd. More info here

Thanks:

Jose

Avatar
Date: 12/1/2017
Reply


Hello Yury,

Hmmm, in this case the description is totally unclear! Because there (http://stocksharp.com/news/8878/Cyber-Wednesday!/) you talked about the "Extended license" and I have checked this package's description on the pricing page (http://stocksharp.com/products/pricing/) where the extended license clearly contains the following things:
- Ready-to-use market making strategies
- Quoting, option hedging
- Order log (level 3) strategies
- S#.Data server
- S#.Shell source code
- Extended samples
- 40+ hours video training
- Premium support
...I do not see another "extended license" description anywhere else, so I don't understand your current, decreased license offer [confused] ...furthermore unfortunately I can't pay +310 USD more, it is too much for me [confused] Please offer me something else!

Regards,
Jose
Thanks:

Юрий Басангов

Avatar
Date: 12/2/2017
Reply


Jose Go to
Hello Yury,

Hmmm, in this case the description is totally unclear! Because there (http://stocksharp.com/news/8878/Cyber-Wednesday!/) you talked about the "Extended license" and I have checked this package's description on the pricing page (http://stocksharp.com/products/pricing/) where the extended license clearly contains the following things:
- Ready-to-use market making strategies
- Quoting, option hedging
- Order log (level 3) strategies
- S#.Data server
- S#.Shell source code
- Extended samples
- 40+ hours video training
- Premium support
...I do not see another "extended license" description anywhere else, so I don't understand your current, decreased license offer [confused] ...furthermore unfortunately I can't pay +310 USD more, it is too much for me [confused] Please offer me something else!

Regards,
Jose


Hello, Jose
In our article we write: "No training courses or opened account required". Extended license usually provided only with training course, in this offer we give just license.
I think we can give you 1 month support on our forum. Is this ok for you?
Thanks:

Jose

Avatar
Date: 12/3/2017
Reply


Hello Yury,

"No training courses or opened account required" --> for me "No" means that during this promotion I don't have to buy training courses or open an account through your company. I think we agree on it therefore I don't know why you highlighted this sentence?
But "in this offer we give just license" where was it written? ...or maybe "extended" in the price list (http://stocksharp.com/products/pricing/) and "extended" in the advertisement means different things in your perspective? Furthermore your description what you have written above does not exist in the original advertisement (http://stocksharp.com/news/8878/Cyber-Wednesday!/):
Quote:
we provide only extended license, which includes:
- Ready-to-use market making strategies
- Quoting, option hedging
- Order log (level 3) strategies
- S#.Data server

These things are very misleading and I don't think that it is my fault.
So 190 USD for a single question? No thanks! I am very disappointed, because firstly I asked one simple question then your colleague said I should buy support license for getting an answer. I was surprised but I thought okay because maybe later I will have more questions. Finally I decided to spend more money than just a "basic support" because of your special discount, so I bought your "extended" offer ...and now you are trying to explain that what I bought is not what is in the price list (http://stocksharp.com/products/pricing/). Sorry, I don't feel that you really try to collaborate with your new customer who originally just wanted to get an answer to his simple question. Please send my money back!

Regards,
Jose
Thanks:

Mikhail Sukhov

Avatar
Date: 12/3/2017
Reply


Hello Jose,

First of all please accept my apologies for any unclear information. Sure it is not your fault.

When you start topic on the forum without any active support subscription you should to redirect to http://stocksharp.com/support/warning/ Also i've provided link to support page http://stocksharp.com/support/ as a first answer. Not sure why this info was missed by you but we put more links next time.

Extended license currently do not for sale. It is provide only for edu clients or opened accounts. Both of this has perpetual support (and part time it is a premium mode). There is no any option to get perpetual support except this. We did a promo action and didn't mark that support is excluded for promo clients. We will fix it for the next time.

We can convert your extended license to support subscription (each month has a price $49) and you will have support during the period (not only 1 question, any number of questions during the subscription). Or we can provide full refund back. What is the best for you?
Thanks:

Jose

Avatar
Date: 12/3/2017
Reply


Hello Mikhail,

Thank you! I saw the support subpage and I checked that too when you wrote it, on the next day when I wanted to buy the support package then I saw the Wednesday’s unique offer and I felt myself lucky (because then the advertisement meant for me I can buy the “extended” package what’s included with support as well). Of course now, after our conversations here in the forum I understand clearly, but earlier I didn’t know these details because it was nowhere written. So yes, please be more careful, I mean write more details about promos if you or your colleagues will post next time.
How I mentioned earlier I think your project is promising and I am still curious, furthermore now I feel the collaborating from your side too. Thank you! I really hope I won’t have questions in the next 4 months continuously :) ...so let’s deduct 49 USD from my current balance for the first month support, and I think during this month I will be able to decide how we can collaborate in a long time. Later we can talk about the remaining money refund or maybe I will send more and I will buy an education package or anything else. If it is okay for you then let’s start to work together!

Regards,
Jose
Thanks:
1 2 3  >

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

loading
clippy