cryptomarket
Version:
The CryptoMarket for Node.js
43 lines (40 loc) • 572 B
text/typescript
export interface WSCandle {
timestamp: number;
openPrice: string;
closePrice: string;
highPrice: string;
lowPrice: string;
baseVolume: string;
quoteVolume: string;
}
export type MiniTicker = WSCandle;
export interface WSCandleRaw {
/**
* timestamp
*/
t: number;
/**
* open price
*/
o: string;
/**
* close price (same as last price)
*/
c: string;
/**
* high price
*/
h: string;
/**
* low price
*/
l: string;
/**
* base asset volume
*/
v: string;
/**
* quote asset volume
*/
q: string;
}