mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-31 07:26:44 +00:00
currency/exchanges: Add bespoke exchange translator and pair matching helper (#1556)
* currency: translation and matching pairs * Update exchanges/exchange_types.go Co-authored-by: Scott <gloriousCode@users.noreply.github.com> * glorious: nits * linter: fix? * translation * fix cherry pick * gateio: translation for mbabydoge with 1e6 divisor * okx: add translation * cherry-pick: fix * glorious: todos * thrasher: nits --------- Co-authored-by: Ryan O'Hara-Reid <ryan.oharareid@thrasher.io> Co-authored-by: Scott <gloriousCode@users.noreply.github.com>
This commit is contained in:
@@ -150,10 +150,11 @@ type WithdrawalHistory struct {
|
||||
// Features stores the supported and enabled features
|
||||
// for the exchange
|
||||
type Features struct {
|
||||
Supports FeaturesSupported
|
||||
Enabled FeaturesEnabled
|
||||
Subscriptions subscription.List
|
||||
TradingRequirements protocol.TradingRequirements
|
||||
Supports FeaturesSupported
|
||||
Enabled FeaturesEnabled
|
||||
Subscriptions subscription.List
|
||||
CurrencyTranslations currency.Translations
|
||||
TradingRequirements protocol.TradingRequirements
|
||||
}
|
||||
|
||||
// FeaturesEnabled stores the exchange enabled features
|
||||
|
||||
Reference in New Issue
Block a user