YZXBiz / copytrading
git clone https://github.com/YZXBiz/copytrading.git
Local-first macOS app that copies Discord trading signals into Alpaca accounts, with a risk-limited engine, an AI assistant, and English or 简体中文. Developer preview.
+8
stars, 24h · #4,036
+~56
stars, 7 days · #3,605
+49
stars, 30 days · #13,590
49
★ total · +56% this week
0
forks · 3 open issues
Star history (as recorded here)
LanguagePython
LicenseMIT
Created2026-10-02 (21d ago)
Last pushtoday
Watchers1
OwnerUser
GitHub topics
Links
- GitHub: github.com/YZXBiz/copytrading
- Homepage: https://github.com/YZXBiz/copytrading/releases
- Releases · Issues · Hacker News mentions
README excerpt
CopyTrading Copy the traders you trust, inside limits you set. English · 简体中文 Not financial advice. CopyTrading is software, not an adviser. Trading can lose money, and you are responsible for every order it places. CopyTrading is a native macOS app that reads the stock calls traders post on Discord, turns each one into an exact order, checks it against your limits, and places it with your Alpaca account. Everything runs on your Mac. > [!WARNING] > **Not financial advice.** Nothing in this project, including the app, its assistant, and the traders it copies, is investment, financial, legal, or tax advice, and nobody here recommends any trade. Trading can lose some or all of your money. You alone choose whom to copy and what limits to set, and you are responsible for every order placed in your accounts. The software is provided as is, without warranty (MIT license). > > **Developer preview.** CopyTrading has not been qualified for live trading. Start with an Alpaca paper account, and see validation for what has and has not been proven. More screenshots A guru : every post and what came of it A guru's settings : what each call buys Connections : set up top to bottom ## Features - **Posts become exact orders.** A model you choose reads each post, and every ticker, price, and fraction must appear in the post itself, so it cannot invent a number. - **Your limits, per account.** Daily loss, per-order, per-symbol, and total exposure limits are checked before every copied buy. Each account has its own **Start Copying** and **Stop Copying**. - **Many traders, many accounts.** Each account follows one guru and sizes its calls from that guru's full position, so several gurus copy side by side into their own accounts, paper and live together. - **Every position traces to its post.** Each copied buy is kept as a lot that names the post behind it, and you can sell any lot on its own. Shares you trade yourself in Alpaca are counted as yours on the next sync. - **Always live.** Balances, positions, and the equity curve are read from your broker even while copying is paused. Fills arrive as notifications, the menu bar shows today's change, and after time away a recap says what happened. - **Room to change your mind.** A sale or a confirmed copy waits a few seconds with Undo before it leaves, and a skipped call can be brought back. - **Fast to get around.** Accounts and gurus are the sidebar; ⌘K finds any page, action, or post; Control-1 and Control-2 switch a page's tabs. - **An assistant that cannot trade on its own.** ⌘J answers from your real posts and accounts. Anything that could place an order waits for your Touch ID. - **Private by design.** Keys stay in the macOS Keychain. The app talks to Discord, your model provider, and your broker, plus Telegram if you turn on alerts and GitHub when you check for updates. Works with a dozen hosted model services, local models through Ollama, or any OpenAI-compatible address, in English or 简体中文. ## Instal