Author |
Topic: Live API didn't work like production API (12 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
estrader Posts: 55 Joined: May 04, 2007 |
I tested my remoted application on the production server and everything worked fine. I then remoted it on the Live server and it didn't work the same. It seems the 'OnOrderFilled' event didn't work.
|
||||
VictorV Posts: 746 Joined: May 08, 2007 |
What difference between production and Live servers in your terms?
Victor Vins Software Developer |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Quote: What difference between production and Live servers in your terms? Hi Victor,--- Original message by VictorV on Jul 21, 2010 12:08 PM "api.openecry.com" - Production "prod.openecry.com" - Live Sorry, I may have confused you. I should have said test api and production api. My application works fine when I am remoted onto "api.openecry.com" Today, I made a LIVE trade using the SAME application I tested but this time with OEC Trader connected to my account ( so I imagine it is on "prod.openecry.com") and it seems as if the 'OnOrderFilled" event didn't trigger. I checked the API version on the LIVE account and it is the same version. |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
What version and timestamp of API.DLL did you use and what version of Trader for prod.openecry.com?
Victor Vins Software Developer |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Quote: What version and timestamp of API.DLL did you use and what version of Trader for prod.openecry.com? Hello Victor,--- Original message by VictorV on Jul 21, 2010 02:00 PM The versions: OEC Trader V3.4.0.8 API: 02/02/2010 10:12 I tested the application using the Basic example you provide with remoting enabled. I tested it on a PC running Windows XP. I copied the API from OEC trader so that the version I use in my application is the same as OEC trader. I then copied my application onto my trading PC which is running Windows Vista. OEC trader is exactly the same version but the API time stamp is different by 1 hour, it is 11:12. The 'OnPriceChanged' event works fine, The Order Entry works fine, but for some reason the fill didn't work the way it did on test. |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Any clues a to how I can move forward with this? How can I test an application without putting real money at risk?
|
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Please use OECAPI 3.5. OECAPI 3.4 will be discontinued soon.
Victor Vins Software Developer |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Quote: Please use OECAPI 3.5. OECAPI 3.4 will be discontinued soon. Does this mean my application will not work properly until OEC trader is using OECAPI 3.5? When will it be upgraded?
--- Original message by VictorV on Jul 23, 2010 08:18 AM |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
You can download OECAPI 3.5 and OEC Trader 3.5 at any time for any environment. It was realeased several months ago.
For issue with OECAPI 3.4: could you check the same issue with OEC API Advanced Example for 3.4 on your end? Victor Vins Software Developer |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Quote: You can download OECAPI 3.5 and OEC Trader 3.5 at any time for any environment. It was realeased several months ago. Whenever there is a new version of OEC trader I get a dialog box alert and the option to install it. I will try the advanced example.
For issue with OECAPI 3.4: could you check the same issue with OEC API Advanced Example for 3.4 on your end? --- Original message by VictorV on Jul 26, 2010 09:10 AM |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Quote: You can download OECAPI 3.5 and OEC Trader 3.5 at any time for any environment. It was realeased several months ago. My Application seems to work fine with BASIC example OECAPI 3.5 but does not work properly with ADVANCED example OECAPI 3.5.
For issue with OECAPI 3.4: could you check the same issue with OEC API Advanced Example for 3.4 on your end? --- Original message by VictorV on Jul 26, 2010 09:10 AM |
||||
estrader Posts: 55 Joined: May 04, 2007 |
Hi Victor,
Don't worry about this issue for now, thanks for your help. I am redeveloping my application and so far everything works with ADVANCED Example OECAPI 3.5. From now on I will use ADVANCED example. |
||||