No it does not truncate anything. It rounds to user-specified TickSize. You really need to READ the documentation http://www.amibroker.com/at/
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) a.. 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 ----- From: jacky lee To: [email protected] 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
