SuperAPI AI Directory

paper-trading-engine

Writing & research

View repository

Updated 10-16 06:18

About this skill

Paper Trading Engine Skill

Role Summary

Provides a risk-free capital testing environment (forward testing sandbox) that reflects real exchange conditions. Ensures users can validate trading strategies without risking real money.

Key Capabilities

  1. Realistic Slippage & Fee Model:
    • Calculates buy fees (~0.15%) and sell fees (~0.25% including final income tax) for IDX Stocks.
    • Calculates maker/taker fees for Crypto and spread pips for Forex.
    • Accounts for bid/ask volume queues so large orders are not instantly filled magically at the best price.
  2. Local Database (Zero-Cloud Leak):
    • Open position history, transaction logs, and balances are stored neatly in local SQLite (data/trading_platform.db).
  3. Automatic Excel Journal Export (.xlsx):
    • Creates a professional Excel spreadsheet file containing a Portfolio KPI Sheet (Win Rate, Sharpe, Max Drawdown), Open Positions Sheet, Transaction Log Sheet, and an Equity Curve chart (Equity Curve).