@strong-roots-capital/bybit-api
Version:
TypeScript API for Bybit cryptocurrency exchange
26 lines • 1.34 kB
TypeScript
import * as t from 'io-ts';
export declare const BybitRestKlineResponse: t.TypeC<{
symbol: t.KeyofC<Record<"BTCUSD" | "ETHUSD" | "EOSUSD" | "XRPUSD" | "BTCUSDT" | "ETHUSDT" | "AXSUSDT" | "XRPUSDT" | "DOGEUSDT" | "EOSUSDT" | "THETAUSDT" | "TRXUSDT" | "COMPUSDT" | "XLMUSDT" | "ADAUSDT" | "DOTUSDT" | "BNBUSDT" | "LTCUSDT" | "ETCUSDT" | "MATICUSDT" | "LINKUSDT" | "AAVEUSDT" | "BCHUSDT" | "SOLUSDT" | "UNIUSDT" | "FILUSDT" | "SUSHIUSDT" | "XTZUSDT" | "XEMUSDT", null>>;
interval: t.Type<{
quantifier: number & t.Brand<t.IntBrand> & (1 | 60);
unit: "minute";
} | {
quantifier: t.Brand<t.IntBrand> & 1;
unit: "hour";
} | {
quantifier: t.Brand<t.IntBrand> & 1;
unit: "day";
} | {
quantifier: t.Brand<t.IntBrand> & 1;
unit: "week";
}, string, unknown>;
open_time: import("io-ts-types").DateFromUnixTimeC;
open: import("io-ts-types").NumberFromStringC;
high: import("io-ts-types").NumberFromStringC;
low: import("io-ts-types").NumberFromStringC;
close: import("io-ts-types").NumberFromStringC;
volume: import("io-ts-types").NumberFromStringC;
turnover: import("io-ts-types").NumberFromStringC;
}>;
export declare type BybitRestKlineResponse = t.TypeOf<typeof BybitRestKlineResponse>;
//# sourceMappingURL=BybitRestKlineResponse.d.ts.map