zklighter-perps 1.0.317 → 1.0.318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1620,7 +1620,7 @@ export class AccountApi extends runtime.BaseAPI {
1620
1620
  }
1621
1621
 
1622
1622
  /**
1623
- * Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). The latest sample strictly before start is a hidden baseline; intervals use available sample boundaries. Missing baseline produces zero first PnL and zero cumulative PnL. Historical queries never append current data.
1623
+ * Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). Samples close their preceding bucket: a daily sample at midnight represents the previous day. The latest sample at or before start is a hidden baseline; an end within a bucket rounds up to its close. Without a baseline, the first bucket starts from zero equity and cash flows. Entry volume is per bucket; summary volume is the window total. Historical queries never append current data.
1624
1624
  * pnl_v2
1625
1625
  */
1626
1626
  async pnlV2Raw(requestParameters: PnlV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountPnLV2>> {
@@ -1702,7 +1702,7 @@ export class AccountApi extends runtime.BaseAPI {
1702
1702
  }
1703
1703
 
1704
1704
  /**
1705
- * Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). The latest sample strictly before start is a hidden baseline; intervals use available sample boundaries. Missing baseline produces zero first PnL and zero cumulative PnL. Historical queries never append current data.
1705
+ * Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). Samples close their preceding bucket: a daily sample at midnight represents the previous day. The latest sample at or before start is a hidden baseline; an end within a bucket rounds up to its close. Without a baseline, the first bucket starts from zero equity and cash flows. Entry volume is per bucket; summary volume is the window total. Historical queries never append current data.
1706
1706
  * pnl_v2
1707
1707
  */
1708
1708
  async pnlV2(requestParameters: PnlV2Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountPnLV2> {
package/openapi.json CHANGED
@@ -7192,7 +7192,7 @@
7192
7192
  "consumes": [
7193
7193
  "multipart/form-data"
7194
7194
  ],
7195
- "description": "Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). The latest sample strictly before start is a hidden baseline; intervals use available sample boundaries. Missing baseline produces zero first PnL and zero cumulative PnL. Historical queries never append current data."
7195
+ "description": "Trade, pool, staking and total equity, interval and window PnL in USD. Total ROI is a fraction (0.0088 = 0.88%). Samples close their preceding bucket: a daily sample at midnight represents the previous day. The latest sample at or before start is a hidden baseline; an end within a bucket rounds up to its close. Without a baseline, the first bucket starts from zero equity and cash flows. Entry volume is per bucket; summary volume is the window total. Historical queries never append current data."
7196
7196
  }
7197
7197
  },
7198
7198
  "/info": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zklighter-perps",
3
- "version": "1.0.317",
3
+ "version": "1.0.318",
4
4
  "description": "Lighter Perps SDK",
5
5
  "main": "index.ts",
6
6
  "directories": {