add unified margin client with request types

This commit is contained in:
tiagosiebler
2022-09-10 18:57:48 +01:00
parent 1fd73f4d0e
commit 0cbdc5351c
8 changed files with 677 additions and 17 deletions

View File

@@ -17,6 +17,21 @@ export type KlineInterval =
| '1w'
| '1M';
export type KlineIntervalV3 =
| '1'
| '3'
| '5'
| '15'
| '30'
| '60'
| '120'
| '240'
| '360'
| '720'
| 'D'
| 'W'
| 'M';
export interface APIResponse<T> {
ret_code: number;
ret_msg: 'OK' | string;