@strong-roots-capital/bybit-api
Version:
TypeScript API for Bybit cryptocurrency exchange
22 lines • 1.1 kB
TypeScript
import * as t from 'io-ts';
export declare const BybitRestKlineRequest: t.IntersectionC<[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>;
from: import("io-ts-types").DateFromUnixTimeC;
}>, t.PartialC<{
limit: t.BrandC<t.NumberC, t.IntBrand>;
}>]>;
export declare type BybitRestKlineRequest = t.TypeOf<typeof BybitRestKlineRequest>;
//# sourceMappingURL=BybitRestKlineRequest.d.ts.map