Author |
Topic: Soybean Oil StringToPrice/PriceToString does not round trip (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CWeber984 Posts: 226 Joined: Apr 24, 2012 |
We found today that StringToPrice /PriceToString does not roundtrip for Soybean Oil contracts.
Example: I get the current price for ZLK7. It is .3150. I input this price to OECAPICOM::IContractPtr::PriceToString and get back 31.50 as a string. Then I input this 31.50 string into OECAPICOM::IContractPtr:StringToPrice and get 31.50. If this example should roundtrip, then it seems the StringToPrice function needs work. Thanks, CHW
|
||||
VPfau Moderator Posts: 164 Joined: |
Thank you, Chris. We will check what is wrong with it and let you know.
Vitaliy Pfau
|
||||
VPfau Moderator Posts: 164 Joined: |
Chris, this is issue on API side. It is fixed and going to be released with next update.
Please, be careful. API and PROD settings are not the same on API and PROD environment. PROD shows price as 0.3149 not 31.49 Thank you Vitaliy Pfau
|
||||
CWeber984 Posts: 226 Joined: Apr 24, 2012 |
Thanks for the words of caution Vitaly. We look forward to the fix.
Chris CHW
|
||||