Back

Tradier StopLimit Orders Being Cancelled

Hiya peeps

I was trying to place some trades through my brokerage today and noticed that they always cancel my StopLimit orders for some reason. The orders are always valid while backtesting but wont go through with real money. Does anybody know how to fix this?

I called them and they said that it probably happened because the stoplimit was placed above the bid price. I did notice an error in my code that was causing the stop price to be way higher since it was factoring in another symbol. That's since been fixed and the issue still happens.

Here's a test trade that I did:
SKYS
Sky Solar Holdings Ltd Sell 1 Stop limit at $2.22 $2.22 GTC Canceled 0 / 1
SKYS
Sky Solar Holdings Ltd Buy 1 Market at $2.28 GTC Filled at
$2.28 1 / 1

Update Backtest








Hi Travis, are you setting your stoplimit at the current price? I wonder if they won't allow you to have it dead-set on the current price or something. Have you tried setting one cent below the current price? Just curious.

0

I just placed another test trade at 1 cent below the current price and it still got canceled.

SKYS
Sky Solar Holdings Ltd Sell 1 Stop limit at $2.28 $2.27 GTC Canceled 0 / 1
SKYS
Sky Solar Holdings Ltd Buy 1 Market at $2.35 GTC Filled at
$2.35 1 / 1

0

Omg I accidentally deleted my symbol price variable. Lol no wonder it wouldn't work.

0

Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed