forked from igorek17000/alunajs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIBittrexMarketSchema.ts
46 lines (39 loc) · 1 KB
/
IBittrexMarketSchema.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { BittrexMarketStatusEnum } from '../enums/BittrexMarketStatusEnum'
export interface IBittrexMarketSummarySchema {
symbol: string
high: string
low: string
volume: string
quoteVolume: string
percentChange: string
updatedAt: string
}
export interface IBittrexMarketTickerSchema {
symbol: string
lastTradeRate: string
bidRate: string
askRate: string
}
export interface IBittrexMarketInfoSchema {
symbol: string
baseCurrencySymbol: string
quoteCurrencySymbol: string
minTradeSize: number
precision: number
status: BittrexMarketStatusEnum
createdAt: string
notice: string
prohibitedIn: string[]
associatedTermsOfService: string[]
tags: string[]
}
export interface IBittrexMarketSchema {
summary: IBittrexMarketSummarySchema
ticker: IBittrexMarketTickerSchema
marketInfo: IBittrexMarketInfoSchema
}
export interface IBittrexMarketsSchema {
summaries: IBittrexMarketSummarySchema[]
tickers: IBittrexMarketTickerSchema[]
marketsInfo: IBittrexMarketInfoSchema[]
}