Click here to Login





                                                   Random buy

  0

0
por
2013-01-27 14:45:42


Hi, I'm new user of quantshare and try to create a system that buy in a given set of symbol 10 new stock weekly. I don't find a way to trigger the weekly buy, is it possible to do that?


por
2013-01-27 15:15:45

  0

I've used a nstop bar to do the work, now everytime i launch the simulation i get the same result. I have a set of 200 stock with a max 10 stock held everyweek. So if i've well understood if i don't choose a ranking system the simulation will randomly select signal, why did i get at every simulation the same result? how can i randomize the selection?


QuantShare
2013-01-28 16:50:47

  0

If you don't set a ranking system then the simulator will select symbols by alphabetical order.

To choose stocks randomly, you can add a ranking system then set the following formula:
random(1, 1000)



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
Random Value for Each Trading Bar
Strategy Optimization on Random in-sample and out-of-sample Perio...
buy sell
Random Walk Index
Buy & Hold of SPY or any Other Index/ETF on Profitable Months

How-to Lessons
How to create a trading system
How to download and use U.S. stocks earnings data
How to debug a trading system using the money management tool
How to create a strategy-based portfolio
How to set order type of a trading system programmatically

Related Forum Threads
Backtest, if number of buy is more than open positions, how QS se...
Buy and Sell rules combination in Optimizer.
Random variable
Backtest Buy Open/Sell Close Every Day
How to define an alternate asset to buy when no positions are hel...

Blog Posts
How to create buy and sell trading rules based on News Data
Trading System: Buy Stocks based on their Sharpe Ratio Rank
Buy the best/top rated stocks or how to create powerful rank base...
How to get buy and sell orders for a portfolio based on a trading...
Trading System: Moving average crossover and few others buy and s...









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.