Click here to Login





                                                   Simulator Question

  0

0
Obuli Govindaraju
2011-11-30 16:23:51


I am in the process of understanding the Trading system simulator through the formula editor.

First of all I want to say that I wish there is more documentation & help on this part of Quantshare.

Here is a basic question I have.

I have a buy rule that says

buy = rsi(14) > 70;

System Type is Long and No. of positions is set to 5 with 100% capital to invest ($100,000).

However when I run this simulator there is only one trade (even though there were several rsi(14)>70 scenario) for roughly $20,000. Why am I not seeing 5 trades since I have set the no. of positions to 5?




chaz
2011-11-30 17:55:59

  0

Obuli,
Check your setup in Symbols & Dates form (timeframe to use, Period, maybe a symols filter or custom symbol list)
Are you running that test Trading System against all the symbols in your QS DB.
Do you have quotes data loaded in your DB?

Create a Screener with that rule & see how many stocks will be selected that pass the screener.

Hope that may help you,
Chaz



Obuli Govindaraju
2011-11-30 23:04:26

  0

Let me clarify my question.

I just have one buy rule and no sell rule. That buy rule is buy = rsi(14) > 70

and I am running this on just one security QQQ

I have $100,000 to invest with number of positions as 5. Given the timeframe of testing there are multiple entry points that meets the buy criteria. However the simulation just takes one trade as opposed to 5.

Also I changed the % to invest from 20% for 5 positions to 100% for the same 5 positions but it all gives the same result.

Why is that?



QuantShare
2011-12-01 03:50:47

  0

Best Answer
Obuli,

Number of positions = Maximum number of distinct securities in the portfolio (at the same time)

You are running the simulation on just one security and therefore the simulator takes only one position.

If you want to invest 100% on QQQ, then set the "number of positions" field to 1.



Obuli Govindaraju
2011-12-01 11:29:41

  0

I am going to summarize my understanding

- If I have two positions and the simulation is run on 2 securities then the simulator automatically allocates 50% of capital to each
- At any given point of time one security can have only one open position
- If the no. of positions is set to 5 and it is run on 10 securities then the simulator opens only 5 positions on 5 different securities (which is chosen based on a ranking system)

Anything wrong in my understanding above?



QuantShare
2011-12-02 02:17:05

  0

No. Your understanding is correct.



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Adjusted & Unadjusted stock prices
Next Split Ex-Date In Days
Portfolio vs Stock Return
Scale-in Trading Strategy
Optimizable Fibonacci Long and Short Trading System

How-to Lessons
How to optimize an indicator in your trading system
How to copy a trading item
How to optimize the stop limit of a trading system
How to add a metric in the trading system simulation report
How to create a formula

Related Forum Threads
Simulator question
MetaStrategy Simulator weight question
Simulator algorithm change/option
Simulator - Activate stop immediately
Simulator Trading System Report

Blog Posts
3 ways to rank stocks in a trading system - Simulator and Potfoli...
Improve your trading system performance by ranking stocks
Reducing risk and increasing return by combining several trading ...
QuantShare Trading Software: New Features in the 3.1.2 Version
Charting, Backtesting and Trading using Fundamental Data









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.