2019-01-02 21:00 WARN Your order for -13120 shares of GSK failed to fill by the end of day and was canceled.
2019-01-02 21:00 WARN Your order for -13120 shares of GSK failed to fill by the end of day and was canceled.
Slippage, lack of liquidity, etc.
To combat this there are a few things you can try.
set_slippage(slippage.FixedSlippage(spread = 0.0))