drift_flutter
在 Flutter 应用中轻松跨平台设置 drift 数据库。
跨平台股票和投资组合跟踪器,支持雅虎财经图表和可自定义仪表板。使用 Flutter 构建。
以下为英文项目原文快照,最新内容请访问 GitHub。
Track stocks on any platform 📈






If you would like to support this project:
bc1qzlte8featxzf7xvtp3rjv7qqtwkgpup8hu85gp85tmLfWKbpd8nxQnUY878DDuFjmfcoCFXPWR7XYKLHBSbDZV8wxgoKYUtHtq1kHWJg4m14sdBXhYuUSbxEDA29d19XuREL5All issues and pull requests are welcome! Bugs will be fixed faster if you include reproduction steps (and maybe logs). Any performance related pull requests will bring tears of joy to my eye.
Install flutter to run this app.
MarketMonk can use the standalone read-only proxy in server/ as the current portfolio source. The recommended backend connects to the standard TWS / IB Gateway socket API; the Client Portal Web API remains available as an alternative. With the native backend, current IBKR stock positions also prefer IBKR daily historical bars for charts. Yahoo remains the fallback for unheld symbols or when IBKR historical data is unavailable. The proxy is independent of any personal trading bot or login automation.
After editing any table in lib/tables.dart you need to:
schemaVersion in lib/database.dartdart run drift_dev make-migrationslib/database.dart migrationSteps.
e.g.from3To4: (Migrator m, Schema4 schema) async {
await m.createTable(schema.candles);
},
dart run build_runner build -d在 Flutter 应用中轻松跨平台设置 drift 数据库。
通过使用 dart:ffi 提供轻量但便捷的 SQLite 绑定
用于获取每日股票价格的雅虎财经数据读取器。可用于开发回测,并可获取雅虎财经上的所有历史日度数据。
依赖清单 28 项
{"sdk":"flutter"}5.1.20^1.0.8^1.0.11^1.2.0^0.20.12.34.0^0.3.0^2.1.5^2.23.1^1.25.8^0.14.2^2.3.5^6.1.2^10.2.0^6.3.1^1.3.0^1.7.0^1.9.0^12.0.0-beta.7{"sdk":"flutter"}^13.2.0{"sdk":"flutter"}^4.8.0^6.0.0^3.3.4{"git":{"url":"https://github.com/insertjokehere/msix.git","ref":"msvc_redist"}}^2.4.14先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗