Inconsistencies between live and paper trading results
I have been working on an intra-day penny stock trading algorithm for the past 5 years using the QuantConnect platform. The backtest results are phenomenal, and profits are reflected in live paper trading with QC data as well. When I connect the algorithm to my Tradier brokerage account however, I only end up losing money.
I have considered a few possible reasons why this could be happening. -Delay between QuantConnect feed data and brokerage
- Larger spreads preventing more desirable fills.
- Lack of buyers when it is time to sell holdings
The prices only seem to execute on the 15 minute delayed data Tradier provides, but from my understanding, the delayed data only applies to their own data stream, not the full prices of executed orders.
The QuantConnect paper trading deployment executes orders as soon as live data hits the limit price, but should I expect this same behavior in a production environment?
My algorithm doesn't place orders unless there is a large amount of volume to support price action, so I don't think there should be issues selling them as well.
Given all this, what would all of you think the issue is? Do you think I need to find another brokerage? or do you think QuantConnect's simulated orders are inaccurately filling during paper trade?
Posted Jan 23, 2024, 6:29 AM UTC
What is going on, and when: Run parallel processes between paper trading and live algo, and compare each order. You'll see the time stamps for each order placed and executed, so you can determine "what" happens and "when" it happens.
Yet another option is to run the algo outside of their environment and compare again.
Those comparisons would make a very interesting post here, that's for sure.
This is definitely the way. My only hesitation with this is purchasing another live node. QuantConnect gets real pricey real fast, and the promise of potential gains lures us in, but statistically failure is most likely.
I have heard that order execution quality in Tradier is poor, and it does seem it is missing a lot of buy orders. I have updated the algo to start chasing the market price with limit orders anytime a profit seems likely, and started using Tradiers sandbox environment today instead of QCs. So far results look promising, but I will wait a month before trading with real money