| Author |
Topic: Position updates on login? (3 messages, Page 1 of 1) |
||||
|---|---|---|---|---|---|
| Moderators: VPfau | |||||
|
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
Our customer reports that, on Prod, our app is not showing him his positions upon login.
In my testing, on api.openecry.com and demo.openecry.com, we're seeing the event OECClient.OnAvgPositionChanged get triggered pretty soon after login. On prod.openecry.com, however, we're not seeing these get triggered. The client program is exactly the same in each case. Do these servers run different versions of your server software? On login, does the client automagically get position updates to everything he has an open position in? Or are these triggered by some subscription that I don't realize I'm doing? Because (on api and demo) I'm pretty sure I'm getting AvgPositionChanged events without subscribing to anything. |
||||
|
THarnett81 Posts: 78 Joined: Jan 13, 2011 |
This is John Vatianou from Connamara Systems adding to this post, originally posted by a Connamara developer.
Any updates to this forum post? Is there different functionality between DEMO, TEST and PROD API's that we need to be aware of? Any reason we're seeing differences. Is there a better way to do this or another mailing list? Waiting 24 hours to get a production question answered is quite odious. |
||||
|
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
all environments have the same logic regarding initial loading of positions. OnAvgPositionChanged is not called on initial loading. It is called on changes only. For example, position volume changed or last price changed (that leads to recalculation of P/L). Victor Vins Lead Software Developer |
||||