FullyArticulate
-DTN Guru-
Posts: 332
Joined: Sep 22, 2005
|
Posted: Apr 3, 2006 06:33 PM
Msg. 1 of 3
Is there a reliable way to tell how to display a price to the user?
For MS, I get Format Code 12, Precision 2 (correct) For GOOG, I get Format Code 14, Precision 4 (which seems wrong) For @BP#, I get Format Code 14, Precision 4 (correct) For +NG#, I get Format Code 13, precision 3 (correct)
There are a variety of other stocks which return 14/4.
According to IB (not that they're any sort of conclusive example, but...), all GOOG exchanges (ARCA, BRUT, BTRADE, DRCTEDGE, IDEAL, ISLAND, NASDAQ, and SUPERSOES) trade in .01 increments, which should be code 12, precision 2.
|
DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004
DTN IQFeed/DTN.IQ/DTN NxCore
|
Posted: Apr 3, 2006 06:45 PM
Msg. 2 of 3
Actually, GOOG traded numerous times to 3 decimal places today. Being a Nasdaq stock, it can be quoted to 4 decimal places per the exchange. If IB only gives you 2 decimal places, not sure what they are doing on these trades (rounding or truncating??).
NYSE and AMEX stocks are only quoted to 2 decimal places per exchange definitions.
Jay Froscheiser DTN - Trading Markets
|
FullyArticulate
-DTN Guru-
Posts: 332
Joined: Sep 22, 2005
|
Posted: Apr 3, 2006 07:13 PM
Msg. 3 of 3
There was some long thread on the IB forums a month or two ago where people were extremely upset that Nasdaq started showing up with 4 decimal places. I never saw the conclusion of that conversion--I thought it was a mistake on their part at the time.
I hadn't realized all Nasdaq stocks were in pips. :-)
Thanks!
|