Author |
Topic: Users in ChatControl in API Example (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
DBrubaker673 Posts: 55 Joined: Jul 18, 2007 |
When I log onto the production server via the OEC software I see users in the chat window like Chi, Keith and Ross.
But when I log onto the production server via the API Example, I see users like Daniel and others (all offline) but no sign of Chi and Keith and Ross. I do have a few blank lines with + beside them but no name. So I'm trying to figure out how to chat with customer support via the API. Thanks, Dale Dale |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
Sorry, there is a bug in the chat control of the API example - if you change the line 121 of ChatControl.cs file to
e.Value = (userItem.Online ? "(+)" : "(-)") + e.Value.ToString(); you would see online user names properly. By the way, I would not recommend to test with live server - better use development server (api.openecry.com) for testing. |
||||
DBrubaker673 Posts: 55 Joined: Jul 18, 2007 |
Thanks for the fix.
Yes, I try to use api.openecry.com for testing and only connect to prod.openecry.com for live trading. But I have to debug some situations "live" unfortunately. For example I coded a limit order auto-chase feature. I couldn't use api.openecry.com because limit fills are immediate. With prod.openecry.com limit fills take a while! I WISH order filling were more realistic instead of totally optimistic on api.openecry.com and sim.openecry.com -- as it is it seems almost useless (except as a misleading sales tool). Thanks again, Dale Dale |
||||