Over the last two months I’ve further improved the trading system. bolt now supports GitHub project integration, so I went ahead and split the frontend and backend code.
The frontend code was generated entirely with bolt, so I open-sourced a copy at GitHub corvofeng/trader-frontend-mirror, syncing the latest code there irregularly. A pure frontend page is deployed on Cloudflare — preview it directly here:
https://trader-front-mirror.corvofeng.workers.dev/
A Few New Features
Displaying Automatic Operation Records

This feature mainly confirms my program is running normally, so I added checkpoints at key positions; occasionally flipping through the records tells me whether it’s running properly. AI code generation is really useful — writing this feature myself would definitely have taken a lot of time.
Treemap Display of Stock Holdings
The Treemap here uses echarts components.
https://echarts.apache.org/examples/en/index.html#chart-type-treemap
Honestly, this component consumed many of my tokens — every dissatisfaction required regenerating an entire component’s code, plus quite a bit of manual fine-tuning.
Currently it can display cards of different sizes according to capital amount, and different colors for the day’s profit/loss.

After opening a group you can view each stock’s holdings.

Uploading Broker-Exported Holdings Files
Because some of my brokers haven’t enabled QMT, I can only export xls files to view positions. I wanted to integrate this into the system as well, so I added this feature.

After the user uploads a holdings file, the backend program parses the holdings and returns a preview, and provides a uuid for viewing and sharing:


Some Feature Outlooks
The following features are ones I plan to add gradually:
- Support for multiple brokers’ holdings files
I’ve only tested two brokers myself — CICC Wealth and Guotai Junan. If users need to import holdings files from other brokers, support may be considered.
- Option price monitoring
Options are similar to insurance — a tool that can give you stable cash flow. Much of my recent time has also gone into options trading, so I may invest some time here.
- AI holdings analysis
After uploading a holdings file, users can hand it to the AI for suggestions based on holding style.