-
Notifications
You must be signed in to change notification settings - Fork 11
/
public_data_responses.go
41 lines (39 loc) · 1.05 KB
/
public_data_responses.go
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
package trade_data
import (
"github.com/aiviaio/okex/models/tradedata"
"github.com/aiviaio/okex/responses"
)
type (
GetSupportCoin struct {
responses.Basic
SupportCoins *tradedata.SupportCoin `json:"data,omitempty"`
}
GetTakerVolume struct {
responses.Basic
TakerVolumes []*tradedata.TakerVolume `json:"data,omitempty"`
}
GetRatio struct {
responses.Basic
Ratios []*tradedata.Ratio `json:"data,omitempty"`
}
GetOpenInterestAndVolume struct {
responses.Basic
InterestAndVolumeRatios []*tradedata.InterestAndVolumeRatio `json:"data,omitempty"`
}
GetPutCallRatio struct {
responses.Basic
PutCallRatios []*tradedata.PutCallRatio `json:"data,omitempty"`
}
GetOpenInterestAndVolumeExpiry struct {
responses.Basic
InterestAndVolumeExpires []*tradedata.InterestAndVolumeExpiry `json:"data,omitempty"`
}
GetOpenInterestAndVolumeStrike struct {
responses.Basic
InterestAndVolumeStrikes []*tradedata.InterestAndVolumeStrike `json:"data,omitempty"`
}
GetTakerFlow struct {
responses.Basic
TakerFlow *tradedata.TakerFlow `json:"data"`
}
)