Author |
Topic: http://futures.gaincapital.com/cfbb/index.cfm (6 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
TLau471 Posts: 70 Joined: |
Hi,
The app I'm working on has >20 users and some of them are facing frequent disconnections, something like 1 per hour from both the sim.oec.com and prod.oec.com I could not find any details on the AutoReconnect of the OECClient.Connect, so decided to make my own reconnection. My main question is, is it "legal" to do the following: 1. Call OECClient.connect() inside the OnDisconnected event to reconnect 2. Call .RequestTicks inside OnSymbolLookupReceived and OnTicksReceived to pull historical data 3. Call .SubscribeTicks inside OnTicksReceived to pull live data So far, things are working, but I observed that sometimes .Connect and .RequestTicks goes silent, meaning to say, after calling them, they do not raise any events or throw any exceptions. I need a solution to this as it causes the app to go into a "hanged" state. Thank you for any help! Edited by TLau471 on Sep 24, 2014 at 12:45:49 |
||||
TLau471 Posts: 70 Joined: |
My apologies about the topic... please help change it to:
.Connect() and .RequestTicks not throwing exceptions or raising events at times Thank you Edited by TLau471 on Sep 24, 2014 at 12:34:27 |
||||
ZDay Posts: 25 Joined: |
Hello.
When the application is in this "hanged" state, does the OECClient.OnError event fire? Zachary Day |
||||
TLau471 Posts: 70 Joined: |
Hi Zach,
No. It did not fire. I made a check and realized that my DLLs are not the latest. When I replaced them with the latest, I get an error that says not encrypted. How do I setup encryption? TLau |
||||
ZDay Posts: 25 Joined: |
Can you please provide snippets of the code you believe is causing the issue?
Also, what version of the DLLs are you using? Please download the latest version of OEC Trader (3.5) and extract the DLLs from c:\Program Files (x86)\OEC\Trader 3.5 Zachary Day |
||||