@structbuild/sdk 0.5.8 → 0.5.9
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.
|
@@ -1956,6 +1956,8 @@ export interface components {
|
|
|
1956
1956
|
/** Format: int64 */
|
|
1957
1957
|
t: number;
|
|
1958
1958
|
};
|
|
1959
|
+
/** @enum {string} */
|
|
1960
|
+
AssetCandlestickResolution: "1S" | "1" | "5" | "15" | "30" | "60" | "240" | "D" | "1D";
|
|
1959
1961
|
/** @description One bucket of an asset's price history at a fixed time-window resolution. */
|
|
1960
1962
|
AssetPriceHistoryRow: {
|
|
1961
1963
|
asset_symbol: string;
|
|
@@ -5619,8 +5621,8 @@ export interface operations {
|
|
|
5619
5621
|
query: {
|
|
5620
5622
|
/** @description Asset ticker: BTC, ETH, XRP, SOL, DOGE, BNB, HYPE */
|
|
5621
5623
|
asset_symbol: components["schemas"]["AssetSymbol"];
|
|
5622
|
-
/** @description Candle interval: 1, 5, 15, 30, 60, 240, D, 1D */
|
|
5623
|
-
resolution: components["schemas"]["
|
|
5624
|
+
/** @description Candle interval (TradingView naming): 1S (1 second), 1, 5, 15, 30, 60, 240, D, 1D */
|
|
5625
|
+
resolution: components["schemas"]["AssetCandlestickResolution"];
|
|
5624
5626
|
/** @description Number of candles (max: 2500) */
|
|
5625
5627
|
count_back?: number;
|
|
5626
5628
|
/** @description Start timestamp (Unix seconds) */
|
package/dist/types/index.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ export type EventMarketChartOutcome = Schemas["EventMarketChartOutcome"];
|
|
|
112
112
|
export type PositionChartOutcome = Schemas["PositionChartOutcome"];
|
|
113
113
|
export type AssetPriceHistoryRow = Schemas["AssetPriceHistoryRow"];
|
|
114
114
|
export type AssetCandlestickBar = Schemas["AssetCandlestickBar"];
|
|
115
|
+
export type AssetCandlestickResolution = Schemas["AssetCandlestickResolution"];
|
|
115
116
|
export type AssetSymbol = Schemas["AssetSymbol"];
|
|
116
117
|
export type AssetVariant = Schemas["AssetVariant"];
|
|
117
118
|
export type PriceJump = Schemas["PriceJump"];
|