I'm using R package IBrokers with IB TWS.

I'm trying to create a twsOrder object using twsOrder function:

twsOrder(...., orderType  = 'TRAIL', ...)

How can I assign trail amount?

  • $\begingroup$ Very strange ... from the documentation it looks like trailingAmt is not an allowed parameter in twsOrder() ... $\endgroup$
    – Alex C
    Sep 16, 2018 at 16:04


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.