initial commit, add bitget rest api and websockets connector
This commit is contained in:
27
src/types/shared.ts
Normal file
27
src/types/shared.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
import { REST_CLIENT_TYPE_ENUM } from '../util';
|
||||
|
||||
export type numberInString = string;
|
||||
|
||||
export type OrderSide = 'Buy' | 'Sell';
|
||||
|
||||
export type KlineInterval =
|
||||
| '1min'
|
||||
| '5min'
|
||||
| '15min'
|
||||
| '30min'
|
||||
| '1h'
|
||||
| '4h'
|
||||
| '6h'
|
||||
| '12h'
|
||||
| '1M'
|
||||
| '1W'
|
||||
| '1week'
|
||||
| '6Hutc'
|
||||
| '12Hutc'
|
||||
| '1Dutc'
|
||||
| '3Dutc'
|
||||
| '1Wutc'
|
||||
| '1Mutc';
|
||||
|
||||
export type RestClientType =
|
||||
typeof REST_CLIENT_TYPE_ENUM[keyof typeof REST_CLIENT_TYPE_ENUM];
|
||||
Reference in New Issue
Block a user