Author |
Topic: Latest API version (9 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
WBuchanan28 Posts: 7 Joined: Aug 05, 2007 |
Received the memo, but when I download the API, it tells me that the version is 3.1.0.19. The version of the file itself doesn't say 3.1.1.0 either. How do I know that I have the latest and greatest?
Bill Buchanan RightEdge Systems, LLC http://www.rightedgesystems.com |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
3.1.0.19 is the version of the trader application, which was not updated yet. Make sure to download the API included into one of our samples. The API.DLL version should be 3.1.1.0.
|
||||
WBuchanan28 Posts: 7 Joined: Aug 05, 2007 |
That's the thing, the version according to Windows is 3.1.2740.27665 which doesn't make it clear if that's 3.1.1.0.
Bill Buchanan RightEdge Systems, LLC http://www.rightedgesystems.com |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
please download either "Basic API Example"
or "Advanced API Example". |
||||
WBuchanan28 Posts: 7 Joined: Aug 05, 2007 |
|||||
estrader Posts: 55 Joined: May 04, 2007 |
I'm not much of a software writer (my trading isn't much better either). But I want to trade, I don't want to have to spend hours and hours and hours and hours and hours rewriting and debugging the code in your example to make it work the way I want. Can I continue using the current API with the previous Advanced Example?
|
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
The sample code is almost intact (except just a few bugfixes and minor typename changes).
You should be able to take the API.DLL file from the new sample and use it with your existing application. |
||||
estrader Posts: 55 Joined: May 04, 2007 |
I get these errors when I change the API
Error 1 The best overloaded method match for 'OEC.API.Example.ContractDOMAskEntry.ContractDOMAskEntry(float, ushort)' has some invalid arguments C:\Documents and Settings\Broadband\My Documents\open_ecry\Advanced Example\OEC API Advanced Example 11\DOMControl.cs 111 18 OEC API Trader Error 2 Argument '2': cannot convert from 'uint' to 'ushort' C:\Documents and Settings\Broadband\My Documents\open_ecry\Advanced Example\OEC API Advanced Example 11\DOMControl.cs 111 61 OEC API Trader Error 3 The best overloaded method match for 'OEC.API.Example.ContractDOMBidEntry.ContractDOMBidEntry(float, ushort)' has some invalid arguments C:\Documents and Settings\Broadband\My Documents\open_ecry\Advanced Example\OEC API Advanced Example 11\DOMControl.cs 127 18 OEC API Trader Error 4 Argument '2': cannot convert from 'uint' to 'ushort' C:\Documents and Settings\Broadband\My Documents\open_ecry\Advanced Example\OEC API Advanced Example 11\DOMControl.cs 127 61 OEC API Trader |
||||
SergeK -Developer- Posts: 475 Joined: Jan 26, 2007 |
either get the DOMControl.cs file from the new sample, or, if you have already changed it -replace these four "ushort" entries to "uint" - that will help.
|
||||