Back

100 Order Limit?

I coded a strategy last night and noticed errors being logged saying that the strategy submitted more than 100 orders in a day.
Is there a reason that there is a cap on the number of orders per day? A medium/low frequency strategy could legitimately need to trade every few minutes through out the day.
Update Backtest








It was the shear amount of data it generates! Each order is 100 bytes, x 100 per day, x 3000 days = 28MB of pure order data! Mostly the cap is intended stop situations where people Order every data event.

We can re-look at it though. Before we'd pass all the orders through to the IDE so we had to limit what we showed. Now we only show the first 50 and the rest are available for download.

Given the data requirements, what would you propose is a good limit?
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.


If storage space is the primary issue, then it makes sense to do two things:
1. Allow the max number of orders, in a free account, for ANY backtest to be 100 x 3000 so you get a guarantee that you won't get slammed on a backtest in a free account.
(forces free user to test higher frequencies over shorter time frames)

2. Add an additional paid tier that comes with higher numbers of orders (e.g. more storage) as an upgraded feature. This way users that want it can pay for it, and users that don't can skip it.
(allows an easy upgrade path to test higher frequencies over longer time frames)

The economics of #2 are good... Adding a GB would cost something less than 0.15/GB/month but you could easily charge 10.00 / 5GB / month, which would be enough to run 25+ backtests on 3000 days worth of data that trades 2 times a second in an 8 hour trading day.
0

Great idea thanks @AshleyMesser; I made the code changes today and they will be effective next time we do a server deployment.
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.


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