Skip to content
All library documents

Setting Up a Python Research Environment for Quantitative Trading on Mac

Article QuantStart

Summary

This tutorial describes a Mac setup for Python-based market research, recommending the Anaconda distribution for its data science libraries, Conda package manager, and support for isolated environments. It explains how to install the distribution, check that Python and Pandas work, and create a project environment with a chosen Python version and data analysis packages. The purpose of isolation is to let projects use different dependency versions without disrupting one another.

The practical example uses Pandas DataReader to retrieve Apple price history from a data source, stores it in a DataFrame, and plots adjusted closing prices with Matplotlib. This demonstrates a basic workflow for obtaining, inspecting, and visualizing market data, rather than developing or evaluating a trading strategy. The tutorial notes that Anaconda uses more disk space than Miniconda and that package installation channels affect how packages are updated. Installation steps, supported versions, and data sources reflect the article’s stated context and may change over time.

Key ideas

  • Anaconda bundles Python data analysis tools and Conda for managing packages and environments.
  • Separate virtual environments help projects use different Python and library versions.
  • Pandas DataReader can load price history into a DataFrame for analysis and plotting.
  • Matplotlib can display a chart of adjusted closing prices from the loaded data.
  • The setup tutorial teaches research tooling, not a trading strategy or evidence of market performance.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.