Author |
Topic: Identifying Demo accounts/other account types (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
PDavies541 Posts: 21 Joined: Feb 01, 2013 |
Is there some property on the account object that identifies that it is a live account or a SIM/DEMO account?
I cannot find anything other than the demo accounts tend to start with "DEMO". Many thanks Pete Peter Davies |
||||
CMicciche902 Posts: 367 Joined: |
All accounts when connected to Developer server are simulation.
All accounts when connected to Demo server are simulation. All accounts when connected to Production server are real. Chris M |
||||
PDavies541 Posts: 21 Joined: Feb 01, 2013 |
Got it - so my next question is - how do I know whether the customer is connected to developer, demo or production server?
Our code is implemented via indicators and we are using OEC.API.OECClient.Global to access events, orders etc. We don't make the connection ourselves, we just use the existing connection. Is there a property that tells us the server type we are connected to? Thanks Pete Peter Davies Edited by PDavies541 on Jun 11, 2013 at 08:11:54 |
||||