Vibe-Trading: Testing Investment Strategies Using Historical Data
TranslatedThis is a tool that lets you test your written investment strategy against historical data before you put your investment ideas into writing.
3-Line Summary
1) When you describe an investment idea in words, the AI looks up market data and tests it against historical data. 2) After installing it via pip and completing the initial setup, you can run a backtest with a single command. 3) This is useful for reviewing strategies in advance; for example, you can test a BTC moving average strategy for 2024.
Image source: HKUDS/Vibe-Trading repository README
At a Glance
• 37,580 stars (as of November 4, 2026) • Languages used: Python 90.1% (an easy-to-read general-purpose language), TypeScript 7.8% (a language for building web interfaces) • License: MIT (allows free use as long as the source is credited) • Korean: Korean translations of the documentation are available; the language of the interface and responses could not be verified https://github.com/HKUDS/Vibe-Trading
How to Use It
1) Make sure you have Python 3.11 or later, and install it using the command below. pip install vibe-trading-ai This command installs Vibe-Trading on your computer. 2) Run `vibe-trading init` to create the configuration file (.env) interactively. 3) Test the BTC-USDT 20/50 moving average strategy using the command below. vibe-trading run -p "Backtest a BTC-USDT 20/50 moving-average strategy for 2024 and summarize return and drawdown" This command runs a backtest as requested in English and provides a summary of the return and drawdown (the decline from the peak). Cloud models like OpenAI require an API key and are billed based on usage. If you run it on your own computer using Ollama, no key is required.
Popular Comments
GitHub Discussions Q&A · 2 upvotes · initial-d · July 2026 "To get results for price, percentage change, trading volume, valuation, holdings, portfolio composition, and financial figures, you first need to have the tool's query results. If there are no results, do not fill in the model’s memory; simply state that it is ‘unverified’ or ‘unconfirmed.’” (Translation) https://github.com/HKUDS/Vibe-Trading/discussions/29#discussioncomment-17694706
Points to Note
This is not an investment recommendation, and there is a risk of loss. Although the app includes a feature that allows users to place actual orders through authorized brokerage channels, it is still in the experimental stage, and the development team has stated that they have not verified it using actual brokerage accounts.
This post was organized with the help of AI.
People who tried this
Nobody has tried it yet
Even one result photo is enough. Be the first to share.