Skip to content

Commit c02307c

Browse files
authored
make BOTH field int* (#44)
1 parent 1b55b01 commit c02307c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

v2/delivery/position_risk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ func (s *GetPositionAdlService) Do(ctx context.Context, opts ...RequestOption) (
102102
type AdlQuantile struct {
103103
Long int `json:"LONG"`
104104
Short int `json:"SHORT"`
105-
Both int `json:"BOTH"`
106-
Hedge *int `json:"HEDGE"`
105+
Hedge int `json:"HEDGE"`
106+
Both *int `json:"BOTH"`
107107
}
108108

109109
type PositionAdl struct {

v2/futures/position_risk.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ func (s *GetPositionAdlService) Do(ctx context.Context, opts ...RequestOption) (
151151
type AdlQuantile struct {
152152
Long int `json:"LONG"`
153153
Short int `json:"SHORT"`
154-
Both int `json:"BOTH"`
155-
Hedge *int `json:"HEDGE"`
154+
Hedge int `json:"HEDGE"`
155+
Both *int `json:"BOTH"`
156156
}
157157

158158
type PositionAdl struct {

0 commit comments

Comments
 (0)