RiskFlow FX is a professional mobile risk-management application for FX/CFD traders. It helps traders calculate position size, risk exposure, and target planning quickly with a clean mobile workflow.
RiskFlow FX focuses on practical pre-trade execution:
- Position sizing from account balance, risk %, entry, and stop-loss
- Simple mode and partial take-profit mode
- Live price fetch with provider selection and fallback strategy
- Instrument catalog across Forex, Metals, Indices, and Crypto
- Favorites, draft persistence, and API configuration in-app
- Lot size calculation using configurable risk percentage
- SL distance and TP price calculation
- Partial exits with TP1/TP2 planning and blended profit estimate
- One-tap copy actions for lot values
- Primary provider: TwelveData (API key required)
- Secondary provider: Yahoo Finance (no key required)
- Automatic fallback when primary quote fetch fails
- Local cache support through service wrapper
- Responsive layout tuned for full-screen, split-screen, and compact windows
- Keyboard-safe interaction model for form inputs
- Flat, consistent visual system and custom branding
- Persisted user state across app restarts
The project uses a feature-driven Flutter structure with clear separation between UI, controller logic, domain calculation, and services.
lib/
core/
constants/
theme/
features/
risk/
controllers/
domain/
models/
services/
ui/pages/
main.dart
- GetX for reactive state and dependency injection
- Service abstraction for quote providers
- SharedPreferences-based local persistence for settings/drafts
- Domain calculator isolated from UI widgets
- Flutter, Dart
- GetX
- Dio
- Shared Preferences
- Google Fonts
- package_info_plus
- Flutter SDK (3.x)
- Dart SDK (bundled with Flutter)
- Android Studio / Xcode toolchains
- Connected emulator or physical device
flutter pub get
flutter runflutter build apk --releaseGenerated artifact:
build/app/outputs/flutter-apk/app-release.apk
Open Menu > API Configuration inside the app:
- Select quote provider (TwelveData or Yahoo Finance)
- Add or clear TwelveData API key
- Save and refresh quote
- Create an upload keystore
keytool -genkey -v \
-keystore ~/riskflow-upload-keystore.jks \
-keyalg RSA -keysize 2048 -validity 10000 \
-alias upload-
Create
android/key.propertiesfromandroid/key.properties.example -
Build App Bundle for Play Console
flutter build appbundle --release- Upload:
build/app/outputs/bundle/release/app-release.aab
Launcher icons are generated from a single source:
assets/branding/app_icon.pngassets/branding/app_icon_foreground.png
Regenerate icons:
flutter pub run flutter_launcher_iconsPlay listing icon output:
assets/branding/play_store_icon_512.png
RiskFlow FX is an educational and decision-support tool. It does not provide financial advice.