{"id":20121953,"url":"https://github.com/santoshlite/wizardry","last_synced_at":"2025-05-06T16:32:24.492Z","repository":{"id":51354857,"uuid":"365848068","full_name":"santoshlite/Wizardry","owner":"santoshlite","description":"💫 Wizardry is an open-source CLI for building powerful algorithmic trading strategies 交易框架","archived":false,"fork":false,"pushed_at":"2021-05-31T07:26:17.000Z","size":28870,"stargazers_count":49,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-09T14:21:32.549Z","etag":null,"topics":["algo-trading","algorithmic-trading","algorithmic-trading-engine","algorithmic-trading-strategies","algorithms","algotrading","cryptocurrency","finance","forex","futures","lean-engine","options","python","quantconnect","stocks","trading","trading-algorithms","trading-platform","trading-strategies","wizardry"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santoshlite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-09T21:05:48.000Z","updated_at":"2025-01-16T07:57:58.000Z","dependencies_parsed_at":"2022-09-23T11:05:02.999Z","dependency_job_id":null,"html_url":"https://github.com/santoshlite/Wizardry","commit_stats":null,"previous_names":["santoshlite/wizardry","ssantoshp/wizardry"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FWizardry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FWizardry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FWizardry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshlite%2FWizardry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santoshlite","download_url":"https://codeload.github.com/santoshlite/Wizardry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252721083,"owners_count":21793748,"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":["algo-trading","algorithmic-trading","algorithmic-trading-engine","algorithmic-trading-strategies","algorithms","algotrading","cryptocurrency","finance","forex","futures","lean-engine","options","python","quantconnect","stocks","trading","trading-algorithms","trading-platform","trading-strategies","wizardry"],"created_at":"2024-11-13T19:33:45.792Z","updated_at":"2025-05-06T16:32:19.481Z","avatar_url":"https://github.com/santoshlite.png","language":"Python","readme":"\n# Wizardry, the Algorithmic Wizard 💫\n\nWizardry is an open-source **CLI** built on the top of [**lean cli**](https://github.com/QuantConnect/lean-cli) for **building powerful algorithmic trading strategies faster** and **easier** (for Lean/QuantConnect)\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/ssantoshp/Wizardry/main/documentation/wiz.png\"/\u003e\n\n![](https://img.shields.io/badge/build-passing-orange)\n![](https://img.shields.io/badge/Download-1.5k-brightgreen)\n![](https://img.shields.io/badge/license-MIT-blue)\n![](https://img.shields.io/badge/swag%20level-A++-yellow)\n![](https://img.shields.io/badge/language-python🐍-blue)\n![](https://camo.githubusercontent.com/97d4586afa582b2dcec2fa8ed7c84d02977a21c2dd1578ade6d48ed82296eb10/68747470733a2f2f6261646765732e66726170736f66742e636f6d2f6f732f76312f6f70656e2d736f757263652e7376673f763d313033)\n\n\u003c/div\u003e\n\n\n## Installation 🧙\n\n```python\npip install wizardry\n```\n\n## Usage 🏦\n\nThere are 6 commands in Wizardry CLI:\n\n- ```wizardry create ProjectName``` **create a project** on which you can work on. You should alway start with this command when creating a new algorithm.\n\n- ```wizardry framework``` enables user to define an **alpha**, a **universe**, a **portfolio construction** and a **risk managment model** to build the body of your strategy\n\n- ```wizardry library``` enables user to **explore** and **\"fork\"** to their local machine about **100 algo trading strategies** from this [webpage](https://www.quantconnect.com/tutorials/strategy-library/strategy-library)\n\n- ```wizardry backtest``` **backtest** your trading strategy on QuantConnect's cloud\n\n- ```wizardry live``` deploy your algorithm **in live** with QuantConnect\n\n- ```wizardry live``` **optimize your strategy** with QuantConnect\n\n\n## Descriptions of these commands\n\n\n### wizardry create ProjectName\n\n![](https://raw.githubusercontent.com/ssantoshp/Wizardry/main/documentation/realone.gif)\n\n\nThis command allow you to create a project folder:\n```\n├── ProjectName\n│   ├── .idea\n│   │   ├── misc.xml\n│   │   ├── modules.xml\n│   │   ├── ProjectName.iml\n│   │   └── workspace.xml\n│   │   \n│   ├── .vscode\n│   │   ├── launch.json\n|   |   └── settings.json\n|   |  \n│   ├── config.json\n│   ├── main.py (where your algo is)\n│   └── research.ipynb\n\n```\n\nOnce you created the project, in order to work on it with wizardry, you'll need to go your project directory\n\n```\ncd ProjectName\n```\n\n**Note: For every other commands, you'll need to be in your project directory in order to make it work.**\n\n### wizardry framework\n\n![](https://raw.githubusercontent.com/ssantoshp/Wizardry/main/documentation/frame.gif)\n\nIt follows the same process than Quantconnect (+few extra features) :\n\n- 🍈 **Universe Selection :** Select your assets\n- 🍓 **Alpha Creation :** Generate trading signals\n- 🍇 **Portfolio Construction :** Determine position size targets\n- 🍉 **Execution :** Place trades to reach your position sizes\n- 🍌 **Risk Management :** Manage the market risks\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://cdn.quantconnect.com/web/i/docs/algorithm-framework/algorithm-framework.png\"/\u003e\n\u003c/div\u003e\n\n### wizardry library\n\n![](https://raw.githubusercontent.com/ssantoshp/Wizardry/main/documentation/lib1.gif)\n\n### wizardry backtest\n\nRun ```wizardry backtest``` in your project directory\n\nWhat it will do:\n- Push the local changes to the cloud\n- Backtest in the cloud (with QuantConnect's data)\n- Show you the result in your terminal\n- Open a page with the backtesting's results\n\n### wizardry optimize\n\nRun ```wizardry optimize``` in your project directory\n\nIt will push the modifications to the cloud and offer different options in order to optimize your strategy.\n\nBased on QuantConnect's ```lean cloud optimize``` command, check what it can do [here](https://www.quantconnect.com/docs/v2/lean-cli/tutorials/optimization/cloud-optimizations)\n\n\n### wizardry live\n\nRun ```wizardry live``` in your project directory\n\nIt will push the modifications to the cloud and deploy your strategy live.\n\nBased on QuantConnect's ```lean cloud live``` command, check what it can do [here](https://www.quantconnect.com/docs/v2/lean-cli/tutorials/live-trading/cloud-live-trading)\n\n\n## Issues and Feature Requests ##\n\nPlease submit bugs and feature requests as an issue. Before submitting an issue please read others to ensure it is not a duplicate.\n\n## Contributors and Pull Requests ##\n\nContributions are warmly very welcomed but we ask you to read the existing code to see how it is formatted, commented and ensure contributions match the existing style. All code submissions must include accompanying tests. Please see the [contributor guide lines](contributor.md).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshlite%2Fwizardry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantoshlite%2Fwizardry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshlite%2Fwizardry/lists"}