^^^
Don't have an account? Join QuantConnect Today
QuantConnect Community Discussions
QUANTCONNECT COMMUNITY
LEAN is the open-source algorithmic trading engine powering QuantConnect. Founded in 2012 LEAN has been built by a global community of 180+ engineers and powers more than 300+ hedge funds today.
Join QuantConnect's Discord server for real-time support, where a vibrant community of traders and developers awaits to help you with any of your QuantConnect needs.
The Open-Quant League is a quarterly competition between universities and investment clubs for the best-performing strategy. The previous quarter's code is open-sourced, and competitors must adapt to survive.
Help needed to delete a mistakenly created organization.
Continue ReadingRefer to our Research Guidelines for high quality research posts.
Create an account on QuantConnect for the latest community delivered to your inbox.
Sign Up Today
|
|
|||||||
|
|
||||||||
|
How can I remove an organization that I mistakenly created?
QuantHeart | 5 days ago
QuantConnectâ„¢ 2025. All Rights Reserved
Mia Alissi
Here's an overview of the basic elements needed to create a trading algorithm using QuantConnect's platform. This includes details about the
initialize
method, adding assets, and processing data withon_data
.Getting Started with QuantConnect
Key Components of a QuantConnect Algorithm
Adding Securities:
add_equity(symbol, resolution)
to add equity to your algorithm.On Data Method:
on_data
method processes incoming data. This is where you would implement your trading logic to place orders.Order Management:
set_holdings(symbol, target_percent)
to place orders and manage your portfolio. You can also track orders and check their status as needed.Example Algorithm
Here's a simple example of a basic QuantConnect algorithm:
This provides a foundational setup to get started with QuantConnect for backtesting trading strategies using Python.
Sources: Getting Started - QuantConnect.com, Initialization - QuantConnect.com, Basic Template Algorithm, main, Basic Template Continuous Future Algorithm
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!