@structbuild/sdk 0.2.0 → 0.2.1
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.
|
@@ -552,7 +552,7 @@ export interface paths {
|
|
|
552
552
|
};
|
|
553
553
|
/**
|
|
554
554
|
* Get spread history
|
|
555
|
-
* @description Lightweight time series of derived orderbook metrics (best bid/ask, mid price, spread, liquidity depth) without raw bids/asks — ideal for charting. Default limit
|
|
555
|
+
* @description Lightweight time series of derived orderbook metrics (best bid/ask, mid price, spread, liquidity depth) without raw bids/asks — ideal for charting. Default limit 20, max 200.
|
|
556
556
|
*/
|
|
557
557
|
get: operations["get_spread_history"];
|
|
558
558
|
put?: never;
|
|
@@ -1040,9 +1040,9 @@ export interface components {
|
|
|
1040
1040
|
};
|
|
1041
1041
|
EventMarketChartDataPoint: {
|
|
1042
1042
|
/** Format: double */
|
|
1043
|
-
|
|
1043
|
+
v: number;
|
|
1044
1044
|
/** Format: int64 */
|
|
1045
|
-
|
|
1045
|
+
t: number;
|
|
1046
1046
|
};
|
|
1047
1047
|
EventMarketChartOutcome: {
|
|
1048
1048
|
condition_id: string;
|
|
@@ -1680,9 +1680,9 @@ export interface components {
|
|
|
1680
1680
|
};
|
|
1681
1681
|
PositionChartDataPoint: {
|
|
1682
1682
|
/** Format: double */
|
|
1683
|
-
|
|
1683
|
+
v: number;
|
|
1684
1684
|
/** Format: int64 */
|
|
1685
|
-
|
|
1685
|
+
t: number;
|
|
1686
1686
|
};
|
|
1687
1687
|
PositionChartOutcome: {
|
|
1688
1688
|
position_id: string;
|
|
@@ -2058,6 +2058,8 @@ export interface components {
|
|
|
2058
2058
|
buy_usd?: number | null;
|
|
2059
2059
|
/** Format: double */
|
|
2060
2060
|
sell_usd?: number | null;
|
|
2061
|
+
/** Format: double */
|
|
2062
|
+
realized_pnl_usd?: number | null;
|
|
2061
2063
|
/**
|
|
2062
2064
|
* Format: double
|
|
2063
2065
|
* @description VWAP price paid per share across all buys (0–1)
|