diff --git a/source/index.html.md b/source/index.html.md index 80c173b..38e81a9 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -940,7 +940,11 @@ orders = user.get_open_orders() ## Get Unrealized Perp Pnl ```typescript - const pnl = await user.getUnrealizedPNL(); + const pnl = user.getUnrealizedPNL(); + ``` + + ```python + pnl = user.get_unrealized_pnl() ``` | Parameter | Description | Optional | Default | @@ -955,6 +959,10 @@ orders = user.get_open_orders() const pnl = await user.getUnrealizedFundingPNL(); ``` + ```python + pnl = user.get_unrealized_funding_pnl() + ``` + | Parameter | Description | Optional | Default | | ----------- | ----------- | -------- | ------- | | marketIndex | Whether to only return pnl for specific market | Yes | |