futures: add GetFuturesContractDetails wrapper function (#1274)

* all in a days work

* cleanup

* cleanup for real, also stop it binance.json

* minor coverage

* adds gateio to the slurry

* cleanup of types

* verbose verbose verbose verbose verbose verbose

* fixes huobi parsing issue

* fix bybit contract identification

* cleanup

* merge fixes

* addresses many big problems raised by SHAZ

* tracking errors and fixes

* funding rate if avail, fixes currency formatting

* Addresses nits and sneaks in extra fixes

* lint

* minor fixes after rebase

* better contract splitter for currencies like T-USDT

* forgot to add the exchange name like a fool

* merge fixes x1

* kucoin, direction, contract size

* rn direction, fix kucoin time

* WHOOPS

* Update exchanges/kucoin/kucoin_wrapper.go

Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io>

* misdirection

---------

Co-authored-by: Adrian Gallagher <adrian.gallagher@thrasher.io>
This commit is contained in:
Scott
2023-10-03 15:04:45 +10:00
committed by GitHub
parent 08c27afded
commit 7f0faf7850
98 changed files with 5034 additions and 3273 deletions

View File

@@ -5547,6 +5547,9 @@
"type": "string",
"format": "int64"
},
"contractSettlementType": {
"type": "string"
},
"orders": {
"type": "array",
"items": {
@@ -5583,6 +5586,15 @@
"currentSize": {
"type": "string"
},
"contractSize": {
"type": "string"
},
"contractMultiplier": {
"type": "string"
},
"contractSettlementType": {
"type": "string"
},
"breakEvenPrice": {
"type": "string"
},
@@ -6780,6 +6792,10 @@
"type": "object",
"$ref": "#/definitions/gctrpcTradeHistory"
}
},
"contractAmount": {
"type": "number",
"format": "double"
}
}
},