Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Question on limit buys

  0

0
suresh
2010-08-30 22:50:49


I am trying to work on a trading system, that buys stock at a limit price. However, this requires that I have about 1000 limit orders daily and only want to execute 20 of them.

Instead of generating 1000 limit orders, I want to reduce the potential candidates to say 100 using a rule. For example, find the top 100 stocks (on a given bar) with highest ATR/close value.

With this filter, on a daily basis, I will have to work with 100 limit orders rather than 1000.

I am unable to use the ranking feature since, even if the ranking is low, it will be purchased if it meets the criterion. On days, when the top ranked stocks dont meet the criterion, I would rather not enter the position.



QuantShare
2010-08-31 09:45:07

  0

Best Answer
Hi,

I suggest you use the composite function.

Here is a rule example:
buy = Comp(close, "rank") <= 100;

Buy the top 100 stocks that have the highest close price on a given bar.



suresh
2010-08-31 10:27:35

  0

This works great. WOW.


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
Transform any order into a limit order selectively based on a tra...
Covered Call Strategy Indices - Dow DJIA and NASDAQ-100 Index
Interest Rate Swaps - Historical Data
5x5 SMA & RSI Forex Strategy
Market Rule based on the Crossover Between Stock Close prices and...

How-to Lessons
How to optimize the stop limit of a trading system
How to dynamically change the number of positions in a portfolio?
How to download and use U.S. stocks earnings data
How to set order type of a trading system programmatically
How to draw distances on a chart?

Related Forum Threads
Question about an object
Simulator Question
Simulator question
Question about Downloader
DrawLine question

Blog Posts
Limit and Market orders
Improve your trading system performance by ranking stocks
3 ways to rank stocks in a trading system - Simulator and Potfoli...
How to get buy and sell orders for a portfolio based on a trading...
Diversify your portfolio by investing in stocks from various indu...









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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items