Buy and Hold / Equities

Keep Learning With Boot Camp

Complete Boot Camp and Boost your Skills

Overall Progress: Completed


Upcoming Boot Camp:

participants | Video tutorial

Boot Camp Lessons

Lesson Overview


Buy and hold may be the simplest algorithm possible yet covers many aspects of building an algorithm. In this lesson we walk through the steps of initializing an algorithm to run a buy and hold strategy along with some nuances of getting the data you want.

What You'll Learn

  • Initializing algorithms date range and starting portfolio value.
  • Requesting asset data and configuring your data resolution.
  • Differences in data normalization techniques and how to request raw data.
  • Accessing algorithm portfolio properties.

Lesson Requirements

A good working knowledge of Python or C# is recommended.

Lesson Content

Status
Initializing AlgorithmsStatus
Set Starting Cash
Set Date Range
Assets and Data SelectionStatus
Manually Selecting Data
Set Data Normalization Mode
Managing Your PortfolioStatus
Checking Holdings
Placing Orders

About the Author

QuantConnect Team

Selected group of pseudo-humans that can type without looking at the keyboard and use a super advanced neural network to transform coffee and orange juice into code.