Complete guide to creating powerful automated stock trading strategies
Master the process of building powerful automated stock trading strategies using Investfly's no-code algorithmic trading platform.
With Investfly's algorithmic trading platform, you can create multiple automated trading strategies to test different ideas independently. The strategies page displays all your algorithmic trading strategies, showing their name, description, visibility, and deployment status. The deployment status indicates whether your automated trading strategy is deployed to a live or virtual trading account.
You can edit your algorithmic trading strategy name and description directly from the table. To modify deeper strategy details like entry and exit conditions for your automated trading system, click on the strategy name to access the strategy details page. For further instructions on optimizing your algorithmic trading strategy, read Working with Automated Strategy.
Follow these steps to create a new automated stock trading strategy:
A guided wizard with 10 steps will start to help you create your algorithmic trading strategy:
Investfly's automated trading platform supports algorithmic trading strategies for both stocks and options. However, there are some limitations for option strategies:
Select LONG or SHORT for your automated trading strategy. Currently, you can only specify one entry condition, and when it is met, a LONG or SHORT position is opened as specified here.
Specify the automation scope. Read Automation Concepts for more details.
Specify the entry condition. Read Logical Expressions and Expression Builder for more details.
Normally, you will leave it as "Trade Triggered Security" because the security that meets the entry condition should be traded. This is useful for correlation trading, where you define entry conditions on one security but trade a different stock. For example, if you think WMT typically follows AMZN price movements, you may set a rule to buy WMT when AMZN goes up by 5%. To achieve this, define criteria on AMZN as scope, but select "Trade Different Security" and put WMT as the symbol.
You may want to start trading only a few minutes after the market opens and stop trading a few minutes before the market closes to avoid high volatility. Set time restrictions for your open trade condition, which will only be evaluated within the time you set here.
To avoid unwanted trade signals due to wild price swings, set an open trade gap.
Read the section on portfolio allocation in Automation Concepts and set accordingly.
Investfly supports trading incrementally for large orders. If you want to split your order into multiple small orders, select "Trade Incrementally".
Reserved Cash is useful only for trading with a real broker account. If your broker account has a large cash balance and you want to risk only a part of it with this strategy, set reserved cash. The strategy will only invest the amount in your account after subtracting reserved cash.
Specify standard exit conditions such as target profit, loss, and trailing loss.
If specified, your open position will not be closed until the minimum hold period, even if other exit conditions are met.
This is the inverse of the min hold period. The open position will always be closed after the timeout period.
Define a logical expression similar to the open trade condition.
This is applicable when the strategy is deployed to a real trading account. If you have already open positions that this strategy should not close, specify those here.
Specify time restrictions if any.
After creating your strategy, you can backtest it using historical data, deploy it to a virtual or real broker account, and monitor its performance over time. For more information on managing your strategies, see Working with Automated Strategy.
Start building your own algorithmic trading strategies today!
Start Free TrialNo credit card required.