{"id":13534080,"url":"https://github.com/chrisconlan/algorithmic-trading-with-python","last_synced_at":"2025-10-16T03:05:15.773Z","repository":{"id":44458271,"uuid":"252342235","full_name":"chrisconlan/algorithmic-trading-with-python","owner":"chrisconlan","description":"Source code for Algorithmic Trading with Python (2020) by Chris Conlan","archived":false,"fork":false,"pushed_at":"2021-06-01T12:56:44.000Z","size":4959,"stargazers_count":2942,"open_issues_count":6,"forks_count":535,"subscribers_count":102,"default_branch":"master","last_synced_at":"2025-04-07T03:17:55.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisconlan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-02T03:05:28.000Z","updated_at":"2025-04-06T03:36:16.000Z","dependencies_parsed_at":"2022-09-05T12:20:17.938Z","dependency_job_id":null,"html_url":"https://github.com/chrisconlan/algorithmic-trading-with-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisconlan%2Falgorithmic-trading-with-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisconlan%2Falgorithmic-trading-with-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisconlan%2Falgorithmic-trading-with-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisconlan%2Falgorithmic-trading-with-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisconlan","download_url":"https://codeload.github.com/chrisconlan/algorithmic-trading-with-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248889997,"owners_count":21178337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:01:26.173Z","updated_at":"2025-10-16T03:05:15.680Z","avatar_url":"https://github.com/chrisconlan.png","language":"Python","funding_links":[],"categories":["Resources","Python","Trading Utilities"],"sub_categories":["Books","Trading \u0026 Backtesting","交易与回测"],"readme":"# Algorithmic Trading with Python\nSource code for Algorithmic Trading with Python (2020) by Chris Conlan. \n\nPaperback available for purchase [on Amazon](https://amzn.to/2UZbHuA).\n\n---------------\n\n#### Useful resources\n\nThese stand-alone resources can be useful to researchers with or without the accompanying book. The rest of the material in this repository depends on explanation and context given in the book.\n\n+ Performance metrics used to evaluate trading strategies: [metrics.py](src/pypm/metrics.py)\n+ Common technical indicators in pure Pandas: [indicators.py](src/pypm/indicators.py)\n+ Converting common technical indicators into ternary signals: [signals.py](src/pypm/signals.py)\n+ Generic grid search wrapper for numeric optimization: [optimization.py](src/pypm/optimization.py)\n+ Object-oriented building blocks for portfolio simulation: [portfolio.py](src/pypm/portfolio.py)\n+ Generic wrapper for multi-core repeated K fold cross-validation: [model.py](src/pypm/ml_model/model.py)\n+ Free-to-use simulated EOD stock data and alternative data streams: [data](data)\n\n----\n\n![](cover.png)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisconlan%2Falgorithmic-trading-with-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisconlan%2Falgorithmic-trading-with-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisconlan%2Falgorithmic-trading-with-python/lists"}