Click here to Login





                                                   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")



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
    Swing Index Indicator
    Updating Margin Factor During Drawdown
    Ratio of the Short to Long-Term Moving Averages - ETF Trading Sys...

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

    Related Forum Threads
    Question about an object
    Simulator Question
    Question on Swing Point function sp()
    Money management script question
    Resource Question Intel i7- 64 Bit - 24 GB RAM

    Blog Posts
    Limit and Market orders
    Let me Show You How to Create Hundreds of Profitable Trading Syst...
    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...
    Improve your trading system performance by ranking stocks









    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 © 2025 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.