Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗RealizeAlpha is a professional-grade Flutter mobile app for multi-account brokerage management (Robinhood, Schwab, Fidelity), featuring AI-powered trade signals, automated agentic trading, and institutional-grade options analytics including Gamma Exposure (GEX) and institutional flow tracking.
docs/index.md) — Detailed feature guides, architecture references, and API research.For full product context and architectural boundaries, see PRODUCT.md. For recent release highlights, see CHANGELOG.md.
wss://streamer-api.schwab.com/ws) for equities (LEVELONE_EQUITIES), options & Greeks (LEVELONE_OPTIONS), account/order activity (ACCT_ACTIVITY), chart candles (CHART_EQUITY), futures, and forex with Real-Time Stream Throttling & Battery Conservation (250ms per-symbol throttling, viewport-bounded subscriptions, and background lifecycle pausing).ira_traditional, ira_roth), annual IRS contribution tracking, Robinhood Gold Match Maximizer, spending accounts, and connected OAuth agent management.RISK_ON, RISK_OFF, NEUTRAL) with weighted 0–100 scoring and strategy guidance.Fragile, Moderate, Resilient), surfacing the "Killer Question" vulnerability, options skew traps, event hazards, and shock scenarios directly inside research and order sheets.goodWin, badWin, goodLoss, badLoss), automatic cognitive bias tagging into the Trading Psychology & Emotion Journal, streak tracking, challenge verification, and Sentiment Analysis foundations.flutter_secure_storage (iOS Keychain / Android Keystore), biometric authentication (FaceID/TouchID), Balance Visibility Masking, and Feature Access & Beta Labs Gating.RealizeAlpha utilizes a combination of technologies:
In order to build and debug locally, you must install the following dependencies:
To ensure your installation was successful, run this command:
flutter doctor -v
Once you see a "No issues found!" message, you are ready to start running the application.
In VS Code, F5 key, the Run icon, or from the Run menu to start debugging.
If prompted choose the Flutter configuration.
Ctrl+Shift+P) and enter Flutter: Select Deviceflutter run
$ ${HOME}/AppData/Local/Android/Sdk/platform-tools/adb tcpip 5555
restarting in TCP mode port: 5555
$ ${HOME}/AppData/Local/Android/Sdk/platform-tools/adb connect 192.168.86.36
connected to 192.168.86.36:5555
Devices and Simulators window in XCode and ensure that your device is paired and connected.Ctrl+Shift+P) and enter Flutter: Select Deviceflutter run --release
Debugging Notes
For error Exception: Error running pod install, run the following commands:
rm -rf ./ios/Pods;rm ./ios/Podfile.lock;flutter clean;flutter pub get
flutter build ios
# or flutter run
If that doesn't work try a pod repo update.
cd ios
pod repo update
flutter build ios
If that doesn't work try a pod update in ios.
Then in Xcode clean build folder, and build again.
Select a browser from the device selector. Note: Direct client-side brokerage requests in the browser are restricted by CORS unless routed through backend Cloud Functions.
Select an iOS Simulator or Android Emulator from the device selector and run flutter run.
Connect your Android device to your computer with a USB cable.
Navigate to the project directory and run the flutter command.
flutter install
The response should contain the following status message.
Installing app.apk to Pixel 5...
Uninstalling old version...
Installing build\app\outputs\flutter-apk\app.apk... 5.2s
To ensure you are using the latest packages, run these commands to check and upgrade them:
flutter pub outdated
flutter pub upgrade --major-versions
flutter pub upgrade --tighten
Run these commands in both functions and firebase folders for Firebase function deployment and running admin tools respectively.
npm install -g npm-check-updates
ncu -u
npm install
src/robinhood_options_mobile/icon.png with the latest icon PNG image at the maximum possible resolution (1024x1024).dart run flutter_launcher_icons in the project directory to generate all icons for iOS and Android.dart run flutter_native_splash:create in the project directory to generate all splash screens for iOS, Android, and Web.To fix issues with code formatting such as:
10 errors and 0 warnings potentially fixable with the
--fixoption. Error: functions predeploy error: Command terminated with non-zero exit code 1
Run the following command in the functions directory.
npm run lint -- --fix
You can do this automatically in VS Code by installing the eslint plugin.
src/robinhood_options_mobile/firebase/firebase-admin.js Node.js file.
var serviceAccount = require("/path/to/service-account-key.json");admin role to:
admin.credential.setCustomUserClaims('<USER_UID>', {
role: 'admin'
});
firebase folder.
node firebase-admin.js
To seed initial data for the Agentic Trading feature, run the following command in the functions directory:
firebase functions:call seedAgenticTrading
or
firebase functions:shell
> seedAgenticTrading({data:{full:true}})
To manually invoke the Agentic Trading cron job, run the following command in the functions directory:
# firebase functions:call agenticTradingCronInvoke
firebase functions:shell
> agenticTradingCronInvoke({data:null})
firebase.json was changed to modify the hosting property "source": "." to "public": "build/web" in order to deploy custom builds.
#flutter build web --web-renderer html
flutter build web --release
firebase deploy --only hosting
Previously, the public folder was deployed with this configuration:
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Functions will automatically deploy with hosting deployments with firebase deploy. To deploy only the functions, use the following command.
firebase deploy --only functions
The following secrets should be configured to prevent storing sensitive passwords and tokens in source control.
# Change the value of an existing secret
firebase functions:secrets:set GEMINI_API_KEY
# View the value of a secret
firebase functions:secrets:access GEMINI_API_KEY
To deploy the Firestore rules and indexes, use the following command.
firebase deploy --only firestore
To export the current Firestore indexes to the local files, use the following command.
firebase firestore:indexes > ./firebase/firestore.indexes.json
# firebase firestore:indexes --export
#firebase firestore:rules > ./firebase/firestore.rules
flutter build appbundle --release
This command generates an .apk file used to publish an installation file.
flutter build apk --release
flutter build ipa --release
If you get an error, see Debugging Notes section above to clean the project.
./build/ios/ipa/Verify and DeliverFor complete App Store Connect and TestFlight build instructions, see TestFlight Deployment.
For testing standards, architecture patterns, and regression test conventions, see Testing Standards.
flutter test
To run the end-to-end integration tests:
flutter test integration_test/app_test.dart
Before contributing or running coding agents in this repository, review AGENTS.md for architectural guidelines, security/trading invariants, and verification commands, and PRODUCT.md for product principles and scope boundaries.
RealizeAlpha provides structured agent skills for roadmap planning, implementation, and documentation synchronization:
.github/skills/roadmap-ideation/SKILL.md): Propose evidence-backed roadmap items and link GitHub issues (> /roadmap-ideation)..agents/skills/roadmap/SKILL.md): Implement the highest-priority actionable feature from ROADMAP.md end-to-end with tests and docs (> /roadmap)..agents/skills/update-docs/SKILL.md): Increment the app version and synchronize CHANGELOG.md, ROADMAP.md, README.md, and .github/copilot-instructions.md (> /update-docs [nextversion]).This project is actively evolving. For the product vision and strategic scope boundaries, see PRODUCT.md. For the prioritized backlog of planned features and enhancements, see ROADMAP.md.
Key areas of planned development include:
See the full documentation for detailed descriptions of each feature and planned enhancement.