Portfolio strategy lab
Nothing stored yet.
Save your set-up to the server and reopen it anywhere.
Connect an AI assistant (Claude, or anything that speaks MCP) to this server. It can pick a strategy, download the market data, build a whole workspace for you and run it — reading the results back and explaining what they mean. It hands you a link that opens the same run here.
Paste that URL into your AI client as a custom MCP server. It will send you here to sign in with the account you are using now, and ask you to approve it, with no token to copy.
Some clients take a fixed header instead of signing in. Generate a token for those and send it as Authorization: Bearer <token>.
Copy the token now, it is shown only once.
Describe what you want to simulate, for example “compare 100% SPY against a 50/50 AAPL-MSFT split”, and the assistant will set it up, telling you which assumptions it made.
Be told when a strategy you have backtested fires today. Bring your own bot from @BotFather and the Telegram user ids it reports to, so the messages only ever reach the people you list.
One id per person, separated by commas. Everyone listed receives every notification and can ask the bot for any of your shortcuts. Each of them has to press Start in the chat before the bot may write to them.
Each watch reports one thing. Give it a shortcut to ask for the same figure any time by sending that phrase to the bot.
Run the server on your own Python and CPU.
run-local.bat and set its SERVER_URL to this server.