Replies

BenjaminR
17 Jun 2023, 15:59

RE:

4.6.7.

Thanks a lot.


@BenjaminR

BenjaminR
12 Mar 2021, 14:41

Number of Subscripted symbols

Hi Panagiotis,

I have same problem.

We monitor many accounts by OpenAPI and when users open a new positions with different symbols  our app subscripts for that symbols and waits for prices. Sometimes the price do not arrive and  our app waits and do nothing for many seconds or minutes...

This time the program logic is the following:

- when the user opens a position with new (not subscripted) symbol: our app subscribes to this symbol and waits for prices. 

- if the user close the position: our app unsubscribe from that symbol.

Can we have a problem if we subscribe to all symbols at program start  instead of subscribe to symbol on the fly one by one as the users use them?

Thanks, Beri


@BenjaminR

BenjaminR
09 Oct 2019, 18:55

Unfortunately the OpenAPi Sample is not suitable for me. I spent 2 weeks with it without any results. I need more simplier and workable console example  that I can build step by step.

Thank you for Algodeveloper's help: but that version has more errors when I wanted to build.

Someone send me an example to berich1198@gmail.com. Please!

Thanks.


@BenjaminR

BenjaminR
04 Oct 2019, 18:55

Where are the symbol digits stored? I need to work with them but I do not find. Thanks. 


@BenjaminR

BenjaminR
03 Oct 2019, 10:45

Yes. Of course. I do not want to share the real login creditentals by security reason.

I  have tried both server = "http://123.123.123.123"; and  server = "123.123.123.123"; 

where 123.123.123.123 the server IP address 


@BenjaminR

BenjaminR
01 Aug 2019, 12:53

Thanks Panagiotis,

Please clarify for me. I call MyPos from Main.cs like:

int mp = my.MyPos(SymbolName, Label, Positions);

Its Ok, but  how to declare  the Positions object in MyPos(string symbol, string label, ...) function?

Thanks,

Ben


@BenjaminR