Click here to Login

Trading Software Trading objects Features How-to Blog Search


                                                   Set the buy or sell price

  0

0
alienator
2010-06-09 11:38:53


In the simulator, how do I set the price that I want the position to exit at? For example if a stop gets hit, how do I specify the price that the stock was exited at?


QuantShare
2010-06-09 13:56:55

  0

Update the sell or the cover order type.
Example:
Sell using limit order at the price of <rule>

However, if a stock is exited after it hit a stop, the simulator uses a market-on-open order. We will change the logic so it uses the settings defined in the "Sell" or "Cover" order type.



alienator
2010-06-10 10:47:46

  0

Is there a way to set a price for every rule? Or can you just set one price that all the rules have to use?


QuantShare
2010-06-11 11:28:04

  0

Best Answer
What you can do is add a condition in the limit order price.
Example:
Sell using limit order at the price of: iff( rule , limit price 1, limit price 2)



alienator
2010-06-12 12:41:08

  0

That should work. Thank you!!!!


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
Buy Low Sell High Screen
LSS Pivotal Buy and Sell Numbers - Trend Reaction
Buy low, Sell High
Buy Sell Simulation Indicator
Trading Strategy based on the Number of Buy Signals

How-to Lessons
How to change volume bar colors when the price closes down
How to perform a basic quantitative analysis using the S&P 500
How to set order type of a trading system programmatically
How to quickly select stocks based on the last value of a databas...
How to optimize the number of positions in a trading system

Related Forum Threads
How do you retrieve the entry and exit price for a position?
How do I refer to the close price of another symbol in a formula?
How do I find the close price for an entry matching a custom DB
Buy Sell Signals Chart Layout
Add a trading system to the price volume chart

Blog Posts
Trading System: Moving average crossover and few others buy and s...
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: Buy stocks with the highest Sharpe ratio
How to create buy and sell trading rules based on News 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 © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items