I am trying to place a "TRAIL" order through the placeorder() function of IB Controller. On TWS the inputs accepted are trail type i.e. value or % and the corresponding number. However I cant figure which parameters of the placeorder() function will accept these values.
Since "TRAIL" order requires setting both trailingPercent and trailStopPrice
such order can't be sent currently as these fields are not accessible via PlaceOrder call