mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 23:16:51 +00:00
GateIO: Enhance order execution limits and currency pair details (#2018)
* refactor(gateio): enhance order execution limits and currency pair details * Update exchanges/gateio/gateio_wrapper.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * REEEEEHHHHHH * linter: fix * fix GetOpenInterest when a contract is delisted * add handling for delisting end time correctly * Update exchange/order/limits/limits_types.go Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com> * Update exchange/order/limits/limits_types.go Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com> * Update exchanges/gateio/gateio_types.go Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com> * Update exchanges/gateio/gateio_types.go Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com> * gk: nits * gci: fix * linter: fix * gateio: Add launch and update tests (cherry-pick) * gk: nits + removed spot setting delisting as delisted because it is not a start time value * glorious: apply diff --------- Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Gareth Kirwan <gbjkirwan@gmail.com>
This commit is contained in:
@@ -52,6 +52,7 @@ type MinMaxLevel struct {
|
||||
MinPrice float64
|
||||
MaxPrice float64
|
||||
PriceStepIncrementSize float64
|
||||
PriceDivisor float64
|
||||
MultiplierUp float64
|
||||
MultiplierDown float64
|
||||
MultiplierDecimal float64
|
||||
@@ -69,4 +70,8 @@ type MinMaxLevel struct {
|
||||
MarketStepIncrementSize float64
|
||||
MaxTotalOrders int64
|
||||
MaxAlgoOrders int64
|
||||
Listed time.Time
|
||||
Delisting time.Time
|
||||
Delisted time.Time
|
||||
Expiry time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user