Use exchange fees, UPL, funding for LIVE PnL; USDC 1:1 to USDT.
Option open P&L stays local (option net); exit target ignores estimated close fees. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -157,8 +157,11 @@ export type PlanState = {
|
||||
expiry_ms?: number | null;
|
||||
perp_upl?: number;
|
||||
option_upl?: number;
|
||||
fees_paid?: number;
|
||||
funding_usdt?: number;
|
||||
est_close_fees?: number;
|
||||
net_pnl?: number;
|
||||
pnl_source?: string;
|
||||
index_px?: number | null;
|
||||
entry_index_px?: number;
|
||||
move_points?: number;
|
||||
|
||||
Reference in New Issue
Block a user