No it does not truncate anything. It rounds to
user-specified TickSize.
You really need to READ the documentation
It clearly says:
PlaceOrder( string Ticker,
string Action, number
Quantity, string Type,
number LimitPrice, number
StopPrice, string TimeInForce,
bool Transmit, [optional] number
TickSize = 100, [optional] string
Attributes = "", [optional] string
ParentID = "", [optional] string OCAGroup, [optional]
number OCAType, [optional] string FAParams)
TickSize - defines minimum price fluctuation allowed for
given symbol expressed in pips (= 0.0001). For most US stocks it is 100
(represents 0.01 move), for most currencies: 1 (represents 0.0001 move), if
minimum move is less than 0.0001 you can use fractional values for example 1/100
for 0.000001 move.
Best regards, Tomasz
Janeczko amibroker.com
----- Original Message -----
Sent: Thursday, September 18, 2008 8:15
AM
Subject: [amibroker] ib controller 1.2.0
truncate price to 2 decimal places only
Hi All, I found that the IB controller
truncate the price I supplied to only 2 digital. For most stock, it's
ok, but when I trade forex, this is a big problem, e.g. EurUSd 1.415 become
1.42. Any one can help?
Rgds, Jacky
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
__,_._,___
|