mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-02 10:31:04 +08:00
Frontend changes: - Update TradeOutcome interface with new fields: - quantity: Position size - leverage: Leverage multiplier - position_value: Total position value - margin_used: Margin required - Add position details display in trade cards: - Quantity (with 4 decimal precision) - Leverage (shown as "50x") - Position Value (shown as "$10000.00") - Margin Used (shown as "$200.00") Visual design: - 2x2 grid layout for position details - Color coding: Leverage in gold, Margin in purple - Conditional rendering with fallback "-" for missing data Co-Authored-By: tinkle-community <tinklefund@gmail.com>