API Support Forum
OEC API > Market Data > Incorrect Custom Price Format values in quotes
Author Topic: Incorrect Custom Price Format values in quotes
(2 messages, Page 1 of 1)
Moderators: VPfau
dtraderd
Posts: 24
Joined: Jul 09, 2007


Posted: Aug 28, 2007 @ 07:49 PM             Msg. 1 of 2
Custom price format yields incorrect figure for "per point" value in quotes.

It is multiplying the base per point value instead of dividing it. For example, see Corn, Wheat or Soybeans contracts. It is well known that the tick size and per point value for these contracts mirrors that of the ES (e-mini S&P500) contract when viewed on the same scale.

Standard price for Corn, for example, is nominally listed in dollars and cents (e.g. $3.6000) with a tick size of 0.0025 and per point value of 5000.0000. This equates to a tick size of 0.25 and point value of 50.00 when scaled to cents (e.g. 360.00).

When a custom price format is entered to change the price to cents by changing the default multiplier to x100 and default format to 0.00 (e.g. 360.00), the tick size is correctly changed to 0.25.

However, the per point value is incorrectly multiplied by the default multiplier value (x100) to show a wrong value of 500000.00. It should be DIVIDED by this value (x100) to yield the correct value of 50.00.

This issue affects ALL contracts on the quotes that has a custom price format entered. Could you have your team look into this and advise?
SergeK
-Developer-
Posts: 475
Joined: Jan 26, 2007


Posted: Aug 29, 2007 @ 08:52 AM             Msg. 2 of 2
Yes, you are correct, that is a bug in quotes display.

Thank you for pointing this out.

we will fix this in the next release.