- ago
(1) Is it possible to test several stock tickers at the same time but not in a portfolio mode. For example I have astrategy tested on one ticker now I want to know which other tickers also work on this startegy.
(2) If I have a portfolio strategy based on sp500, max position size is 10 tickers, symbol ranking is applied everyday, enters and exits trade on next open, how this strategy will keep track of how mant tickers to enter tomorrow if account have few partial positions already like if I have 5 positions and today list has 7 candidates so only five can be entered tomorrow. I know manually you pick top 5 and enter the order and be done with it but how autotrader will do it, can it track actual account balance and adjust position size accordingly.
(3) How autotrader keep track of positions with next day limit orders. Like if there are 5 position already in the account today list has 15 candidates so i need only 5 positions to be entered, can it sop after 5 fills?
0
334
Solved
4 Replies

Reply

Bookmark

Sort
Cone8
 ( 6.32% )
- ago
#1
1. Preferences > Backtest > Perf. Visualizers > check "By Symbol" and then launch your Strategy again so that it shows the By Symbol visualizer. In the visualizer, click on each symbol to see it's own "Symbol Equity" curve.

2. To Auto Trade that and assuming Market orders use the S. Monitor. In the items' configuration,
a. Position Sizing > Position Size > enter 10 for Max Entry Signals. (Ignore Max Open - that's only used for backtests.)
b. check "Wait for all Updates before Processing"
c. In Preferences > Trading > Trading Thresholds (check and enter 10).

With the Preference dialog still open, strike F1 to read about "Pre-Threshold Signal Blocking (Strategy Monitor only)".

3. Preferences > Trading > Trading Thresholds > Number of Entry Orders filled Exceeds: 5
0
- ago
#2
Regarding #1 how do i run backtester, in singal symbol mode or portfolio mode, if in portfolio mode what about position sizing. I have strategy tested on one symbol with 100000 starting capital and 100 percent of equity so how do i run backtester so it gives every symbol same amount of starting capital and 100 of equity on every trade
0
Cone8
 ( 6.32% )
- ago
#3
You could program a StrategyRunner to do that, but probably the easiest hack would be to follow this procedure:

1. Create at least one optimization variable.
2. Strategy Settings > Portfolio Backtest on a DataSet, set up Position Sizing, etc.
>> For 100% Equity backtest, read the Help Guide (F1) > Strategy > Strategy Settings > Basis Price.
3. Click the Optimize button
4. On the Optimization Settings > Standard view, uncheck the/all variable(s).
5. Click on the Symbol by Symbol
6. Click Start Optimization

You'll get a single backtest result for each symbol.
2
Best Answer
- ago
#4
That's an excellent tip. I wouldn't have been able to find it on my own. Thank you very much.
1

Reply

Bookmark

Sort