Inspiration
Investment is a subjects that is interesting to me. I admire people like Warren Buffet, Ben Graham and Charlie Manger. So Brief from Josh got my attention.
What it does
BestInvest allows to add one holdings and then run analysis against portfolio to assess how balanced it is.
How I built it
As a backend I opted for Cloudflare worker that runs as a proxy between stocks data providers. It also conducts portfolio analysis. To optimize with providers plan I added caching mechanism. Also this worker can balance between multiple providers if needed. I some functions I build in an MCP server approach. e.g.
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "INSTRUMENT_SEARCH",
"input": {
"query": "apple",
"limit": 10
}
}
}
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "QUOTE_STOCK",
"input": {
"symbol": "AAPL"
}
}
}
Challenges I ran into
Limitations of sticks provider free plan. I swapped FMP to 12 data almost last minute. I was happy I abstracted everything out and have Cloudflare as a mitigation layer so almost no changes were needed on the iOS app side.
Accomplishments that I proud of
Build working MVP. Figured out how to create a backend because my primary job is an iOS developer.
What I learned
- improved my agentic coding skills
- improved backend skills
- widen my knowledge by tapping into investment services ## What's next for BestInvest
- polish current app
- improve risk assessment model
- fine tune subscription model
- test paywalls
- publish to the AppStore!
Built With
- cloudflare
- codex
- swift
- swiftui
- typescript
Log in or sign up for Devpost to join the conversation.