Skip to content

Commit 4452ce9

Browse files
committed
fix more float32 types with int
1 parent c3f420c commit 4452ce9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+413
-413
lines changed

api_position.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ PositionApiService Transfer equity in or out of a position.
298298
299299
@return Position
300300
*/
301-
func (a *PositionApiService) PositionTransferIsolatedMargin(ctx context.Context, symbol string, amount float32) (Position, *http.Response, error) {
301+
func (a *PositionApiService) PositionTransferIsolatedMargin(ctx context.Context, symbol string, amount int) (Position, *http.Response, error) {
302302
var (
303303
localVarHttpMethod = strings.ToUpper("Post")
304304
localVarPostBody interface{}
@@ -546,7 +546,7 @@ PositionApiService Update your risk limit.
546546
547547
@return Position
548548
*/
549-
func (a *PositionApiService) PositionUpdateRiskLimit(ctx context.Context, symbol string, riskLimit float32) (Position, *http.Response, error) {
549+
func (a *PositionApiService) PositionUpdateRiskLimit(ctx context.Context, symbol string, riskLimit int) (Position, *http.Response, error) {
550550
var (
551551
localVarHttpMethod = strings.ToUpper("Post")
552552
localVarPostBody interface{}

docs/Affiliate.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**Account** | **float32** | | [default to null]
6+
**Account** | **int** | | [default to null]
77
**Currency** | **string** | | [default to null]
8-
**PrevPayout** | **float32** | | [optional] [default to null]
9-
**PrevTurnover** | **float32** | | [optional] [default to null]
10-
**PrevComm** | **float32** | | [optional] [default to null]
8+
**PrevPayout** | **int** | | [optional] [default to null]
9+
**PrevTurnover** | **int** | | [optional] [default to null]
10+
**PrevComm** | **int** | | [optional] [default to null]
1111
**PrevTimestamp** | [**time.Time**](time.Time.md) | | [optional] [default to null]
12-
**ExecTurnover** | **float32** | | [optional] [default to null]
13-
**ExecComm** | **float32** | | [optional] [default to null]
14-
**TotalReferrals** | **float32** | | [optional] [default to null]
15-
**TotalTurnover** | **float32** | | [optional] [default to null]
16-
**TotalComm** | **float32** | | [optional] [default to null]
12+
**ExecTurnover** | **int** | | [optional] [default to null]
13+
**ExecComm** | **int** | | [optional] [default to null]
14+
**TotalReferrals** | **int** | | [optional] [default to null]
15+
**TotalTurnover** | **int** | | [optional] [default to null]
16+
**TotalComm** | **int** | | [optional] [default to null]
1717
**PayoutPcnt** | **float64** | | [optional] [default to null]
18-
**PendingPayout** | **float32** | | [optional] [default to null]
18+
**PendingPayout** | **int** | | [optional] [default to null]
1919
**Timestamp** | [**time.Time**](time.Time.md) | | [optional] [default to null]
2020
**ReferrerAccount** | **float64** | | [optional] [default to null]
2121

docs/Announcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**Id** | **float32** | | [default to null]
6+
**Id** | **int** | | [default to null]
77
**Link** | **string** | | [optional] [default to null]
88
**Title** | **string** | | [optional] [default to null]
99
**Content** | **string** | | [optional] [default to null]

docs/ApiKey.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Name | Type | Description | Notes
66
**Id** | **string** | | [default to null]
77
**Secret** | **string** | | [default to null]
88
**Name** | **string** | | [default to null]
9-
**Nonce** | **float32** | | [default to null]
9+
**Nonce** | **int** | | [default to null]
1010
**Cidr** | **string** | | [optional] [default to null]
1111
**Permissions** | [**[]XAny**](x-any.md) | | [optional] [default to null]
1212
**Enabled** | **bool** | | [optional] [default to null]
13-
**UserId** | **float32** | | [default to null]
13+
**UserId** | **int** | | [default to null]
1414
**Created** | [**time.Time**](time.Time.md) | | [optional] [default to null]
1515

1616
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/Chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**Id** | **float32** | | [optional] [default to null]
6+
**Id** | **int** | | [optional] [default to null]
77
**Date** | [**time.Time**](time.Time.md) | | [default to null]
88
**User** | **string** | | [default to null]
99
**Message** | **string** | | [default to null]

docs/ChatChannel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**Id** | **float32** | | [optional] [default to null]
6+
**Id** | **int** | | [optional] [default to null]
77
**Name** | **string** | | [default to null]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/ConnectedUsers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**Users** | **float32** | | [optional] [default to null]
7-
**Bots** | **float32** | | [optional] [default to null]
6+
**Users** | **int** | | [optional] [default to null]
7+
**Bots** | **int** | | [optional] [default to null]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

docs/Execution.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ Name | Type | Description | Notes
77
**OrderID** | **string** | | [optional] [default to null]
88
**ClOrdID** | **string** | | [optional] [default to null]
99
**ClOrdLinkID** | **string** | | [optional] [default to null]
10-
**Account** | **float32** | | [optional] [default to null]
10+
**Account** | **int** | | [optional] [default to null]
1111
**Symbol** | **string** | | [optional] [default to null]
1212
**Side** | **string** | | [optional] [default to null]
13-
**LastQty** | **float32** | | [optional] [default to null]
13+
**LastQty** | **int** | | [optional] [default to null]
1414
**LastPx** | **float64** | | [optional] [default to null]
1515
**UnderlyingLastPx** | **float64** | | [optional] [default to null]
1616
**LastMkt** | **string** | | [optional] [default to null]
1717
**LastLiquidityInd** | **string** | | [optional] [default to null]
1818
**SimpleOrderQty** | **float64** | | [optional] [default to null]
19-
**OrderQty** | **float32** | | [optional] [default to null]
19+
**OrderQty** | **int** | | [optional] [default to null]
2020
**Price** | **float64** | | [optional] [default to null]
21-
**DisplayQty** | **float32** | | [optional] [default to null]
21+
**DisplayQty** | **int** | | [optional] [default to null]
2222
**StopPx** | **float64** | | [optional] [default to null]
2323
**PegOffsetValue** | **float64** | | [optional] [default to null]
2424
**PegPriceType** | **string** | | [optional] [default to null]
@@ -35,17 +35,17 @@ Name | Type | Description | Notes
3535
**WorkingIndicator** | **bool** | | [optional] [default to null]
3636
**OrdRejReason** | **string** | | [optional] [default to null]
3737
**SimpleLeavesQty** | **float64** | | [optional] [default to null]
38-
**LeavesQty** | **float32** | | [optional] [default to null]
38+
**LeavesQty** | **int** | | [optional] [default to null]
3939
**SimpleCumQty** | **float64** | | [optional] [default to null]
40-
**CumQty** | **float32** | | [optional] [default to null]
40+
**CumQty** | **int** | | [optional] [default to null]
4141
**AvgPx** | **float64** | | [optional] [default to null]
4242
**Commission** | **float64** | | [optional] [default to null]
4343
**TradePublishIndicator** | **string** | | [optional] [default to null]
4444
**MultiLegReportingType** | **string** | | [optional] [default to null]
4545
**Text** | **string** | | [optional] [default to null]
4646
**TrdMatchID** | **string** | | [optional] [default to null]
47-
**ExecCost** | **float32** | | [optional] [default to null]
48-
**ExecComm** | **float32** | | [optional] [default to null]
47+
**ExecCost** | **int** | | [optional] [default to null]
48+
**ExecComm** | **int** | | [optional] [default to null]
4949
**HomeNotional** | **float64** | | [optional] [default to null]
5050
**ForeignNotional** | **float64** | | [optional] [default to null]
5151
**TransactTime** | [**time.Time**](time.Time.md) | | [optional] [default to null]

docs/Instrument.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ Name | Type | Description | Notes
2828
**CalcInterval** | [**time.Time**](time.Time.md) | | [optional] [default to null]
2929
**PublishInterval** | [**time.Time**](time.Time.md) | | [optional] [default to null]
3030
**PublishTime** | [**time.Time**](time.Time.md) | | [optional] [default to null]
31-
**MaxOrderQty** | **float32** | | [optional] [default to null]
31+
**MaxOrderQty** | **int** | | [optional] [default to null]
3232
**MaxPrice** | **float64** | | [optional] [default to null]
33-
**LotSize** | **float32** | | [optional] [default to null]
33+
**LotSize** | **int** | | [optional] [default to null]
3434
**TickSize** | **float64** | | [optional] [default to null]
35-
**Multiplier** | **float32** | | [optional] [default to null]
35+
**Multiplier** | **int** | | [optional] [default to null]
3636
**SettlCurrency** | **string** | | [optional] [default to null]
37-
**UnderlyingToPositionMultiplier** | **float32** | | [optional] [default to null]
38-
**UnderlyingToSettleMultiplier** | **float32** | | [optional] [default to null]
39-
**QuoteToSettleMultiplier** | **float32** | | [optional] [default to null]
37+
**UnderlyingToPositionMultiplier** | **int** | | [optional] [default to null]
38+
**UnderlyingToSettleMultiplier** | **int** | | [optional] [default to null]
39+
**QuoteToSettleMultiplier** | **int** | | [optional] [default to null]
4040
**IsQuanto** | **bool** | | [optional] [default to null]
4141
**IsInverse** | **bool** | | [optional] [default to null]
4242
**InitMargin** | **float64** | | [optional] [default to null]
4343
**MaintMargin** | **float64** | | [optional] [default to null]
44-
**RiskLimit** | **float32** | | [optional] [default to null]
45-
**RiskStep** | **float32** | | [optional] [default to null]
44+
**RiskLimit** | **int** | | [optional] [default to null]
45+
**RiskStep** | **int** | | [optional] [default to null]
4646
**Limit** | **float64** | | [optional] [default to null]
4747
**Capped** | **bool** | | [optional] [default to null]
4848
**Taxed** | **bool** | | [optional] [default to null]
@@ -68,14 +68,14 @@ Name | Type | Description | Notes
6868
**LimitUpPrice** | **float64** | | [optional] [default to null]
6969
**BankruptLimitDownPrice** | **float64** | | [optional] [default to null]
7070
**BankruptLimitUpPrice** | **float64** | | [optional] [default to null]
71-
**PrevTotalVolume** | **float32** | | [optional] [default to null]
72-
**TotalVolume** | **float32** | | [optional] [default to null]
73-
**Volume** | **float32** | | [optional] [default to null]
74-
**Volume24h** | **float32** | | [optional] [default to null]
75-
**PrevTotalTurnover** | **float32** | | [optional] [default to null]
76-
**TotalTurnover** | **float32** | | [optional] [default to null]
77-
**Turnover** | **float32** | | [optional] [default to null]
78-
**Turnover24h** | **float32** | | [optional] [default to null]
71+
**PrevTotalVolume** | **int** | | [optional] [default to null]
72+
**TotalVolume** | **int** | | [optional] [default to null]
73+
**Volume** | **int** | | [optional] [default to null]
74+
**Volume24h** | **int** | | [optional] [default to null]
75+
**PrevTotalTurnover** | **int** | | [optional] [default to null]
76+
**TotalTurnover** | **int** | | [optional] [default to null]
77+
**Turnover** | **int** | | [optional] [default to null]
78+
**Turnover24h** | **int** | | [optional] [default to null]
7979
**PrevPrice24h** | **float64** | | [optional] [default to null]
8080
**Vwap** | **float64** | | [optional] [default to null]
8181
**HighPrice** | **float64** | | [optional] [default to null]
@@ -91,8 +91,8 @@ Name | Type | Description | Notes
9191
**ImpactMidPrice** | **float64** | | [optional] [default to null]
9292
**ImpactAskPrice** | **float64** | | [optional] [default to null]
9393
**HasLiquidity** | **bool** | | [optional] [default to null]
94-
**OpenInterest** | **float32** | | [optional] [default to null]
95-
**OpenValue** | **float32** | | [optional] [default to null]
94+
**OpenInterest** | **int** | | [optional] [default to null]
95+
**OpenValue** | **int** | | [optional] [default to null]
9696
**FairMethod** | **string** | | [optional] [default to null]
9797
**FairBasisRate** | **float64** | | [optional] [default to null]
9898
**FairBasis** | **float64** | | [optional] [default to null]

docs/Insurance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**Currency** | **string** | | [default to null]
77
**Timestamp** | [**time.Time**](time.Time.md) | | [default to null]
8-
**WalletBalance** | **float32** | | [optional] [default to null]
8+
**WalletBalance** | **int** | | [optional] [default to null]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1111

0 commit comments

Comments
 (0)