This repository was archived by the owner on Jul 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathfuturesOrderBook.ts
More file actions
69 lines (64 loc) · 1.79 KB
/
Copy pathfuturesOrderBook.ts
File metadata and controls
69 lines (64 loc) · 1.79 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* Gate API
* Welcome to Gate API APIv4 provides operations related to spot, margin, and contract trading, including public interfaces for querying market data and authenticated private interfaces for implementing API-based automated trading.
*
* Contact: support@mail.gate.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { FuturesOrderBookItem } from './futuresOrderBookItem';
export class FuturesOrderBook {
/**
* Order Book ID. Increases by 1 on every order book change. Set `with_id=true` to include this field in response
*/
'id'?: number;
/**
* Response data generation timestamp
*/
'current'?: number;
/**
* Order book changed timestamp
*/
'update'?: number;
/**
* Ask Depth
*/
'asks': Array<FuturesOrderBookItem>;
/**
* Bid Depth
*/
'bids': Array<FuturesOrderBookItem>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{ name: string; baseName: string; type: string }> = [
{
name: 'id',
baseName: 'id',
type: 'number',
},
{
name: 'current',
baseName: 'current',
type: 'number',
},
{
name: 'update',
baseName: 'update',
type: 'number',
},
{
name: 'asks',
baseName: 'asks',
type: 'Array<FuturesOrderBookItem>',
},
{
name: 'bids',
baseName: 'bids',
type: 'Array<FuturesOrderBookItem>',
},
];
static getAttributeTypeMap() {
return FuturesOrderBook.attributeTypeMap;
}
}