Click here to Login





                                                   Basic question on orders

  0

0
Dennis Schutten
2018-03-11 12:41:00


Hi,

When I use the strategy builder I want to use buy tomorrow at the close. When I test this it works fine. However when I switch to the %u2018manual%u2019 mode I see the generated code but it does not buy at the close of tomorrow anymore. What is the correct syntax for this?

Regards,
Dennis



QuantShare
2018-03-12 04:58:10

  0

Please use this formula to buy tomorrow at the close.

SetSimTiming(_Buy, _Close, 0);



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
Ignore Orders for Recently Purshased Securities based on Return
Ignore Orders for Recently Sold Securities
Basic in-Sample/out-of-sample trading technique
Basic Portfolio Measures
Buy low, Sell High

How-to Lessons
How to get trading orders from a portfolio programmatically
How to perform a basic quantitative analysis using the S&P 500
How to create a watchlist
How to create a strategy-based portfolio
How to create a custom trading indicator

Related Forum Threads
Very basic question about backtesting
Simulator Question
Question about an object
Basic charting behavior queries
Basic Watchlist vs Quick Screen

Blog Posts
Limit and Market orders
Export Trading Orders from a Portfolio to a File
Basic trading system implemented using the money management tool
How to get buy and sell orders for a portfolio based on a trading...
Trading orders - Part 2









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 2021 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.