Skip to content

nexus-ledger/Nexus-Ledger-Risk-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nexus Ledger Risk Calculator V2

A sleek, open-source Forex lot size + Crypto position sizing + Monte Carlo equity simulator built with Flask — by Nexus Ledger. Nexus Ledger


✨ Features

  • Forex Mode (Lots)

    • Account size + Risk % + SL (pips) + pip value → standard lot size
    • Auto-calculates mini and micro lot equivalents
    • Optional Take Profit (pips) for R:R
  • Crypto Mode (USD)

    • Account size + Risk % + Entry + Stop → quantity and position value
    • Optional Take Profit (price) for R:R
  • 🧠 Risk Brain Panel

    • Shows real edge metrics:
      • Break-even winrate
      • Expectancy per trade (R & $)
    • Turns your R:R + winrate into actionable trading edge insights
  • 📈 Equity Curve Simulator (Monte Carlo)

    • Fully configurable:
      • Start equity
      • Win probability (winrate)
      • Risk/Reward (R:R)
      • Risk per trade %
      • Number of trades
      • Number of simulation paths (“lines”)
      • Drawdown ruin threshold (e.g., 50%)
      • Compounding ON/OFF
    • Output stats:
      • Median final equity
      • 10% worst / 10% best outcomes
      • Median & worst max drawdown
      • Probability of ruin (hitting threshold)
  • 🖥️ Modern UX

    • Clean, responsive UI with Nexus Ledger branding
    • Form remembers previous inputs (no re-typing)
    • Results grouped into:
      • Position Sizing
      • Risk Brain
      • Equity Curve · Monte Carlo

🔗 Social Links

Website: https://www.nexusledger.org
LinkedIn: https://linkedin.com/company/nexusledger1
Twitter/X: https://x.com/nexusledger1
YouTube: https://www.youtube.com/@nexusledger1


🚀 Run Locally

Clone the repo and start the Flask app:

# 1. Create a virtual environment
python -m venv .venv

# 2. Activate it
# macOS / Linux:
source .venv/bin/activate

# Windows (PowerShell):
# .venv\Scripts\activate

# 3. Install dependencies
pip install flask

# 4. Run the app
python app.py

# The app will be live at:
# http://127.0.0.1:5000

About

Free Forex lot size & Crypto dollar risk calculator — by Nexus Ledger | Fintech & Trading Innovation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors