cxmr_currency/
lib.rs

1//! Crypto-bank currency symbols and pairs primitives.
2
3#[macro_use]
4extern crate failure;
5#[macro_use]
6extern crate serde_derive;
7extern crate serde;
8
9use std::fmt;
10use std::str::FromStr;
11
12use serde::de::{self, Deserialize, Deserializer, Visitor};
13use serde::ser::{Serialize, Serializer};
14
15/// Crypto market currency error type.
16#[derive(Debug, Fail)]
17pub enum Error {
18    /// Invalid pair error.
19    #[fail(display = "{} is not a valid currency pair.", _0)]
20    InvalidPair(String),
21}
22
23/// Currency symbol.
24#[derive(Serialize, Deserialize, Eq, PartialEq, PartialOrd, Ord, Clone, Hash, Debug)]
25pub enum Currency {
26    Custom(String),
27    Ada,
28    Adx,
29    Ae,
30    Agi,
31    Aion,
32    Algo,
33    Amb,
34    Ankr,
35    Appc,
36    Ardr,
37    Ark,
38    Arn,
39    Arpa,
40    Ast,
41    Atom,
42    Band,
43    Bat,
44    Bcc,
45    Bcd,
46    Bch,
47    Bchabc,
48    Bchsv,
49    Bcn,
50    Bcpt,
51    Beam,
52    Bgbp,
53    Blz,
54    Bnb,
55    Bnt,
56    Bqx,
57    Brd,
58    Btc,
59    Btcb,
60    Btg,
61    Bts,
62    Btt,
63    Busd,
64    Cdt,
65    Celr,
66    Chat,
67    Chz,
68    Cloak,
69    Cmt,
70    Cnd,
71    Cocos,
72    Cos,
73    Ctxc,
74    Cvc,
75    Dash,
76    Data,
77    Dcr,
78    Dent,
79    Dgb,
80    Dgd,
81    Dlt,
82    Dnt,
83    Dock,
84    Doge,
85    Dusk,
86    Edo,
87    Elf,
88    Eng,
89    Enj,
90    Eos,
91    Erd,
92    Etc,
93    Eth,
94    Evx,
95    Fct,
96    Fet,
97    Foam,
98    Ftm,
99    Ftt,
100    Fuel,
101    Fun,
102    Gas,
103    Gnt,
104    Go,
105    Grin,
106    Grs,
107    Gto,
108    Gvt,
109    Gxs,
110    Hbar,
111    Hc,
112    Hot,
113    Hsr,
114    Icn,
115    Icx,
116    Ins,
117    Iost,
118    Iota,
119    Iotx,
120    Kava,
121    Key,
122    Kmd,
123    Knc,
124    Lend,
125    Link,
126    Loom,
127    Lpt,
128    Lrc,
129    Lsk,
130    Ltc,
131    Lun,
132    Maid,
133    Mana,
134    Matic,
135    Mco,
136    Mda,
137    Mft,
138    Mith,
139    Mod,
140    Mth,
141    Mtl,
142    Nano,
143    Nas,
144    Nav,
145    Ncash,
146    Nebl,
147    Neo,
148    Ngn,
149    Nkn,
150    Nmr,
151    Npxs,
152    Nuls,
153    Nxs,
154    Nxt,
155    Oax,
156    Omg,
157    Omni,
158    One,
159    Ong,
160    Ont,
161    Ost,
162    Pax,
163    Perl,
164    Phb,
165    Phx,
166    Pivx,
167    Poa,
168    Poe,
169    Poly,
170    Powr,
171    Ppt,
172    Qkc,
173    Qlc,
174    Qsp,
175    Qtum,
176    Rcn,
177    Rdn,
178    Ren,
179    Rep,
180    Req,
181    Rlc,
182    Rpx,
183    Rub,
184    Rvn,
185    Salt,
186    Sc,
187    Sky,
188    Sngls,
189    Snm,
190    Snt,
191    Steem,
192    Storj,
193    Storm,
194    Str,
195    Strat,
196    Stx,
197    Sub,
198    Sys,
199    Tfuel,
200    Theta,
201    Tnb,
202    Tnt,
203    Tomo,
204    Trig,
205    Troy,
206    Trx,
207    Try,
208    Tusd,
209    Tusdb,
210    Usdc,
211    Usds,
212    Usdsb,
213    Usdt,
214    Ven,
215    Vet,
216    Via,
217    Vib,
218    Vibe,
219    Vite,
220    Vtc,
221    Wabi,
222    Wan,
223    Waves,
224    Win,
225    Wings,
226    Wpr,
227    Wtc,
228    Xem,
229    Xlm,
230    Xmr,
231    Xpm,
232    Xrp,
233    Xtz,
234    Xvg,
235    Xzc,
236    Yoyo,
237    Zec,
238    Zen,
239    Zil,
240    Zrx,
241}
242
243impl Currency {
244    pub fn as_str(&self) -> &str {
245        match self {
246            Currency::Custom(ref s) => s,
247            &Currency::Ada => "ADA",
248            &Currency::Adx => "ADX",
249            &Currency::Ae => "AE",
250            &Currency::Agi => "AGI",
251            &Currency::Aion => "AION",
252            &Currency::Algo => "ALGO",
253            &Currency::Amb => "AMB",
254            &Currency::Ankr => "ANKR",
255            &Currency::Appc => "APPC",
256            &Currency::Ardr => "ARDR",
257            &Currency::Ark => "ARK",
258            &Currency::Arn => "ARN",
259            &Currency::Arpa => "ARPA",
260            &Currency::Ast => "AST",
261            &Currency::Atom => "ATOM",
262            &Currency::Band => "BAND",
263            &Currency::Bat => "BAT",
264            &Currency::Bcc => "BCC",
265            &Currency::Bcd => "BCD",
266            &Currency::Bch => "BCH",
267            &Currency::Bchabc => "BCHABC",
268            &Currency::Bchsv => "BCHSV",
269            &Currency::Bcn => "BCN",
270            &Currency::Bcpt => "BCPT",
271            &Currency::Beam => "BEAM",
272            &Currency::Bgbp => "BGBP",
273            &Currency::Blz => "BLZ",
274            &Currency::Bnb => "BNB",
275            &Currency::Bnt => "BNT",
276            &Currency::Bqx => "BQX",
277            &Currency::Brd => "BRD",
278            &Currency::Btc => "BTC",
279            &Currency::Btcb => "BTCB",
280            &Currency::Btg => "BTG",
281            &Currency::Bts => "BTS",
282            &Currency::Btt => "BTT",
283            &Currency::Busd => "BUSD",
284            &Currency::Cdt => "CDT",
285            &Currency::Celr => "CELR",
286            &Currency::Chat => "CHAT",
287            &Currency::Chz => "CHZ",
288            &Currency::Cloak => "CLOAK",
289            &Currency::Cmt => "CMT",
290            &Currency::Cnd => "CND",
291            &Currency::Cocos => "COCOS",
292            &Currency::Cos => "COS",
293            &Currency::Ctxc => "CTXC",
294            &Currency::Cvc => "CVC",
295            &Currency::Dash => "DASH",
296            &Currency::Data => "DATA",
297            &Currency::Dcr => "DCR",
298            &Currency::Dent => "DENT",
299            &Currency::Dgb => "DGB",
300            &Currency::Dgd => "DGD",
301            &Currency::Dlt => "DLT",
302            &Currency::Dnt => "DNT",
303            &Currency::Dock => "DOCK",
304            &Currency::Doge => "DOGE",
305            &Currency::Dusk => "DUSK",
306            &Currency::Edo => "EDO",
307            &Currency::Elf => "ELF",
308            &Currency::Eng => "ENG",
309            &Currency::Enj => "ENJ",
310            &Currency::Eos => "EOS",
311            &Currency::Erd => "ERD",
312            &Currency::Etc => "ETC",
313            &Currency::Eth => "ETH",
314            &Currency::Evx => "EVX",
315            &Currency::Fct => "FCT",
316            &Currency::Fet => "FET",
317            &Currency::Foam => "FOAM",
318            &Currency::Ftm => "FTM",
319            &Currency::Ftt => "FTT",
320            &Currency::Fuel => "FUEL",
321            &Currency::Fun => "FUN",
322            &Currency::Gas => "GAS",
323            &Currency::Gnt => "GNT",
324            &Currency::Go => "GO",
325            &Currency::Grin => "GRIN",
326            &Currency::Grs => "GRS",
327            &Currency::Gto => "GTO",
328            &Currency::Gvt => "GVT",
329            &Currency::Gxs => "GXS",
330            &Currency::Hbar => "HBAR",
331            &Currency::Hc => "HC",
332            &Currency::Hot => "HOT",
333            &Currency::Hsr => "HSR",
334            &Currency::Icn => "ICN",
335            &Currency::Icx => "ICX",
336            &Currency::Ins => "INS",
337            &Currency::Iost => "IOST",
338            &Currency::Iota => "IOTA",
339            &Currency::Iotx => "IOTX",
340            &Currency::Kava => "KAVA",
341            &Currency::Key => "KEY",
342            &Currency::Kmd => "KMD",
343            &Currency::Knc => "KNC",
344            &Currency::Lend => "LEND",
345            &Currency::Link => "LINK",
346            &Currency::Loom => "LOOM",
347            &Currency::Lpt => "LPT",
348            &Currency::Lrc => "LRC",
349            &Currency::Lsk => "LSK",
350            &Currency::Ltc => "LTC",
351            &Currency::Lun => "LUN",
352            &Currency::Maid => "MAID",
353            &Currency::Mana => "MANA",
354            &Currency::Matic => "MATIC",
355            &Currency::Mco => "MCO",
356            &Currency::Mda => "MDA",
357            &Currency::Mft => "MFT",
358            &Currency::Mith => "MITH",
359            &Currency::Mod => "MOD",
360            &Currency::Mth => "MTH",
361            &Currency::Mtl => "MTL",
362            &Currency::Nano => "NANO",
363            &Currency::Nas => "NAS",
364            &Currency::Nav => "NAV",
365            &Currency::Ncash => "NCASH",
366            &Currency::Nebl => "NEBL",
367            &Currency::Neo => "NEO",
368            &Currency::Ngn => "NGN",
369            &Currency::Nkn => "NKN",
370            &Currency::Nmr => "NMR",
371            &Currency::Npxs => "NPXS",
372            &Currency::Nuls => "NULS",
373            &Currency::Nxs => "NXS",
374            &Currency::Nxt => "NXT",
375            &Currency::Oax => "OAX",
376            &Currency::Omg => "OMG",
377            &Currency::Omni => "OMNI",
378            &Currency::One => "ONE",
379            &Currency::Ong => "ONG",
380            &Currency::Ont => "ONT",
381            &Currency::Ost => "OST",
382            &Currency::Pax => "PAX",
383            &Currency::Perl => "PERL",
384            &Currency::Phb => "PHB",
385            &Currency::Phx => "PHX",
386            &Currency::Pivx => "PIVX",
387            &Currency::Poa => "POA",
388            &Currency::Poe => "POE",
389            &Currency::Poly => "POLY",
390            &Currency::Powr => "POWR",
391            &Currency::Ppt => "PPT",
392            &Currency::Qkc => "QKC",
393            &Currency::Qlc => "QLC",
394            &Currency::Qsp => "QSP",
395            &Currency::Qtum => "QTUM",
396            &Currency::Rcn => "RCN",
397            &Currency::Rdn => "RDN",
398            &Currency::Ren => "REN",
399            &Currency::Rep => "REP",
400            &Currency::Req => "REQ",
401            &Currency::Rlc => "RLC",
402            &Currency::Rpx => "RPX",
403            &Currency::Rub => "RUB",
404            &Currency::Rvn => "RVN",
405            &Currency::Salt => "SALT",
406            &Currency::Sc => "SC",
407            &Currency::Sky => "SKY",
408            &Currency::Sngls => "SNGLS",
409            &Currency::Snm => "SNM",
410            &Currency::Snt => "SNT",
411            &Currency::Steem => "STEEM",
412            &Currency::Storj => "STORJ",
413            &Currency::Storm => "STORM",
414            &Currency::Str => "STR",
415            &Currency::Strat => "STRAT",
416            &Currency::Stx => "STX",
417            &Currency::Sub => "SUB",
418            &Currency::Sys => "SYS",
419            &Currency::Tfuel => "TFUEL",
420            &Currency::Theta => "THETA",
421            &Currency::Tnb => "TNB",
422            &Currency::Tnt => "TNT",
423            &Currency::Tomo => "TOMO",
424            &Currency::Trig => "TRIG",
425            &Currency::Troy => "TROY",
426            &Currency::Trx => "TRX",
427            &Currency::Try => "TRY",
428            &Currency::Tusd => "TUSD",
429            &Currency::Tusdb => "TUSDB",
430            &Currency::Usdc => "USDC",
431            &Currency::Usds => "USDS",
432            &Currency::Usdsb => "USDSB",
433            &Currency::Usdt => "USDT",
434            &Currency::Ven => "VEN",
435            &Currency::Vet => "VET",
436            &Currency::Via => "VIA",
437            &Currency::Vib => "VIB",
438            &Currency::Vibe => "VIBE",
439            &Currency::Vite => "VITE",
440            &Currency::Vtc => "VTC",
441            &Currency::Wabi => "WABI",
442            &Currency::Wan => "WAN",
443            &Currency::Waves => "WAVES",
444            &Currency::Win => "WIN",
445            &Currency::Wings => "WINGS",
446            &Currency::Wpr => "WPR",
447            &Currency::Wtc => "WTC",
448            &Currency::Xem => "XEM",
449            &Currency::Xlm => "XLM",
450            &Currency::Xmr => "XMR",
451            &Currency::Xpm => "XPM",
452            &Currency::Xrp => "XRP",
453            &Currency::Xtz => "XTZ",
454            &Currency::Xvg => "XVG",
455            &Currency::Xzc => "XZC",
456            &Currency::Yoyo => "YOYO",
457            &Currency::Zec => "ZEC",
458            &Currency::Zen => "ZEN",
459            &Currency::Zil => "ZIL",
460            &Currency::Zrx => "ZRX",
461        }
462    }
463}
464
465impl ::std::fmt::Display for Currency {
466    fn fmt(&self, f: &mut fmt::Formatter) -> ::std::fmt::Result {
467        write!(f, "{}", self.as_str())
468    }
469}
470
471impl From<&str> for Currency {
472    fn from(symbol: &str) -> Self {
473        match symbol {
474            "ADA" => Currency::Ada,
475            "ADX" => Currency::Adx,
476            "AE" => Currency::Ae,
477            "AGI" => Currency::Agi,
478            "AION" => Currency::Aion,
479            "ALGO" => Currency::Algo,
480            "AMB" => Currency::Amb,
481            "ANKR" => Currency::Ankr,
482            "APPC" => Currency::Appc,
483            "ARDR" => Currency::Ardr,
484            "ARK" => Currency::Ark,
485            "ARN" => Currency::Arn,
486            "ARPA" => Currency::Arpa,
487            "AST" => Currency::Ast,
488            "ATOM" => Currency::Atom,
489            "BAND" => Currency::Band,
490            "BAT" => Currency::Bat,
491            "BCC" => Currency::Bcc,
492            "BCD" => Currency::Bcd,
493            "BCH" => Currency::Bch,
494            "BCHABC" => Currency::Bchabc,
495            "BCHSV" => Currency::Bchsv,
496            "BCN" => Currency::Bcn,
497            "BCPT" => Currency::Bcpt,
498            "BEAM" => Currency::Beam,
499            "BGBP" => Currency::Bgbp,
500            "BLZ" => Currency::Blz,
501            "BNB" => Currency::Bnb,
502            "BNT" => Currency::Bnt,
503            "BQX" => Currency::Bqx,
504            "BRD" => Currency::Brd,
505            "BTC" => Currency::Btc,
506            "BTCB" => Currency::Btcb,
507            "BTG" => Currency::Btg,
508            "BTS" => Currency::Bts,
509            "BTT" => Currency::Btt,
510            "BUSD" => Currency::Busd,
511            "CDT" => Currency::Cdt,
512            "CELR" => Currency::Celr,
513            "CHAT" => Currency::Chat,
514            "CHZ" => Currency::Chz,
515            "CLOAK" => Currency::Cloak,
516            "CMT" => Currency::Cmt,
517            "CND" => Currency::Cnd,
518            "COCOS" => Currency::Cocos,
519            "COS" => Currency::Cos,
520            "CTXC" => Currency::Ctxc,
521            "CVC" => Currency::Cvc,
522            "DASH" => Currency::Dash,
523            "DATA" => Currency::Data,
524            "DCR" => Currency::Dcr,
525            "DENT" => Currency::Dent,
526            "DGB" => Currency::Dgb,
527            "DGD" => Currency::Dgd,
528            "DLT" => Currency::Dlt,
529            "DNT" => Currency::Dnt,
530            "DOCK" => Currency::Dock,
531            "DOGE" => Currency::Doge,
532            "DUSK" => Currency::Dusk,
533            "EDO" => Currency::Edo,
534            "ELF" => Currency::Elf,
535            "ENG" => Currency::Eng,
536            "ENJ" => Currency::Enj,
537            "EOS" => Currency::Eos,
538            "ERD" => Currency::Erd,
539            "ETC" => Currency::Etc,
540            "ETH" => Currency::Eth,
541            "EVX" => Currency::Evx,
542            "FCT" => Currency::Fct,
543            "FET" => Currency::Fet,
544            "FOAM" => Currency::Foam,
545            "FTM" => Currency::Ftm,
546            "FTT" => Currency::Ftt,
547            "FUEL" => Currency::Fuel,
548            "FUN" => Currency::Fun,
549            "GAS" => Currency::Gas,
550            "GNT" => Currency::Gnt,
551            "GO" => Currency::Go,
552            "GRIN" => Currency::Grin,
553            "GRS" => Currency::Grs,
554            "GTO" => Currency::Gto,
555            "GVT" => Currency::Gvt,
556            "GXS" => Currency::Gxs,
557            "HBAR" => Currency::Hbar,
558            "HC" => Currency::Hc,
559            "HOT" => Currency::Hot,
560            "HSR" => Currency::Hsr,
561            "ICN" => Currency::Icn,
562            "ICX" => Currency::Icx,
563            "INS" => Currency::Ins,
564            "IOST" => Currency::Iost,
565            "IOTA" => Currency::Iota,
566            "IOTX" => Currency::Iotx,
567            "KAVA" => Currency::Kava,
568            "KEY" => Currency::Key,
569            "KMD" => Currency::Kmd,
570            "KNC" => Currency::Knc,
571            "LEND" => Currency::Lend,
572            "LINK" => Currency::Link,
573            "LOOM" => Currency::Loom,
574            "LPT" => Currency::Lpt,
575            "LRC" => Currency::Lrc,
576            "LSK" => Currency::Lsk,
577            "LTC" => Currency::Ltc,
578            "LUN" => Currency::Lun,
579            "MAID" => Currency::Maid,
580            "MANA" => Currency::Mana,
581            "MATIC" => Currency::Matic,
582            "MCO" => Currency::Mco,
583            "MDA" => Currency::Mda,
584            "MFT" => Currency::Mft,
585            "MITH" => Currency::Mith,
586            "MOD" => Currency::Mod,
587            "MTH" => Currency::Mth,
588            "MTL" => Currency::Mtl,
589            "NANO" => Currency::Nano,
590            "NAS" => Currency::Nas,
591            "NAV" => Currency::Nav,
592            "NCASH" => Currency::Ncash,
593            "NEBL" => Currency::Nebl,
594            "NEO" => Currency::Neo,
595            "NGN" => Currency::Ngn,
596            "NKN" => Currency::Nkn,
597            "NMR" => Currency::Nmr,
598            "NPXS" => Currency::Npxs,
599            "NULS" => Currency::Nuls,
600            "NXS" => Currency::Nxs,
601            "NXT" => Currency::Nxt,
602            "OAX" => Currency::Oax,
603            "OMG" => Currency::Omg,
604            "OMNI" => Currency::Omni,
605            "ONE" => Currency::One,
606            "ONG" => Currency::Ong,
607            "ONT" => Currency::Ont,
608            "OST" => Currency::Ost,
609            "PAX" => Currency::Pax,
610            "PERL" => Currency::Perl,
611            "PHB" => Currency::Phb,
612            "PHX" => Currency::Phx,
613            "PIVX" => Currency::Pivx,
614            "POA" => Currency::Poa,
615            "POE" => Currency::Poe,
616            "POLY" => Currency::Poly,
617            "POWR" => Currency::Powr,
618            "PPT" => Currency::Ppt,
619            "QKC" => Currency::Qkc,
620            "QLC" => Currency::Qlc,
621            "QSP" => Currency::Qsp,
622            "QTUM" => Currency::Qtum,
623            "RCN" => Currency::Rcn,
624            "RDN" => Currency::Rdn,
625            "REN" => Currency::Ren,
626            "REP" => Currency::Rep,
627            "REQ" => Currency::Req,
628            "RLC" => Currency::Rlc,
629            "RPX" => Currency::Rpx,
630            "RUB" => Currency::Rub,
631            "RVN" => Currency::Rvn,
632            "SALT" => Currency::Salt,
633            "SC" => Currency::Sc,
634            "SKY" => Currency::Sky,
635            "SNGLS" => Currency::Sngls,
636            "SNM" => Currency::Snm,
637            "SNT" => Currency::Snt,
638            "STEEM" => Currency::Steem,
639            "STORJ" => Currency::Storj,
640            "STORM" => Currency::Storm,
641            "STR" => Currency::Str,
642            "STRAT" => Currency::Strat,
643            "STX" => Currency::Stx,
644            "SUB" => Currency::Sub,
645            "SYS" => Currency::Sys,
646            "TFUEL" => Currency::Tfuel,
647            "THETA" => Currency::Theta,
648            "TNB" => Currency::Tnb,
649            "TNT" => Currency::Tnt,
650            "TOMO" => Currency::Tomo,
651            "TRIG" => Currency::Trig,
652            "TROY" => Currency::Troy,
653            "TRX" => Currency::Trx,
654            "TRY" => Currency::Try,
655            "TUSD" => Currency::Tusd,
656            "TUSDB" => Currency::Tusdb,
657            "USDC" => Currency::Usdc,
658            "USDS" => Currency::Usds,
659            "USDSB" => Currency::Usdsb,
660            "USDT" => Currency::Usdt,
661            "VEN" => Currency::Ven,
662            "VET" => Currency::Vet,
663            "VIA" => Currency::Via,
664            "VIB" => Currency::Vib,
665            "VIBE" => Currency::Vibe,
666            "VITE" => Currency::Vite,
667            "VTC" => Currency::Vtc,
668            "WABI" => Currency::Wabi,
669            "WAN" => Currency::Wan,
670            "WAVES" => Currency::Waves,
671            "WIN" => Currency::Win,
672            "WINGS" => Currency::Wings,
673            "WPR" => Currency::Wpr,
674            "WTC" => Currency::Wtc,
675            "XEM" => Currency::Xem,
676            "XLM" => Currency::Xlm,
677            "XMR" => Currency::Xmr,
678            "XPM" => Currency::Xpm,
679            "XRP" => Currency::Xrp,
680            "XTZ" => Currency::Xtz,
681            "XVG" => Currency::Xvg,
682            "XZC" => Currency::Xzc,
683            "YOYO" => Currency::Yoyo,
684            "ZEC" => Currency::Zec,
685            "ZEN" => Currency::Zen,
686            "ZIL" => Currency::Zil,
687            "ZRX" => Currency::Zrx,
688            sym => Currency::Custom(sym.to_owned()),
689        }
690    }
691}
692
693/// Currency pair.
694#[derive(Eq, PartialEq, PartialOrd, Ord, Clone, Hash, Debug)]
695pub enum CurrencyPair {
696    Custom(String, Currency, Currency),
697    AdaBnb,
698    AdaBtc,
699    AdaBusd,
700    AdaEth,
701    AdaPax,
702    AdaTusd,
703    AdaUsdc,
704    AdaUsdt,
705    AdxBnb,
706    AdxBtc,
707    AdxEth,
708    AeBnb,
709    AeBtc,
710    AeEth,
711    AgiBnb,
712    AgiBtc,
713    AgiEth,
714    AionBnb,
715    AionBtc,
716    AionEth,
717    AlgoBnb,
718    AlgoBtc,
719    AlgoPax,
720    AlgoTusd,
721    AlgoUsdc,
722    AlgoUsdt,
723    AmbBnb,
724    AmbBtc,
725    AmbEth,
726    AnkrBnb,
727    AnkrBtc,
728    AnkrPax,
729    AnkrTusd,
730    AnkrUsdc,
731    AnkrUsdt,
732    AppcBnb,
733    AppcBtc,
734    AppcEth,
735    ArdrBnb,
736    ArdrBtc,
737    ArdrEth,
738    ArkBtc,
739    ArkEth,
740    ArnBtc,
741    ArnEth,
742    ArpaBnb,
743    ArpaBtc,
744    ArpaUsdt,
745    AstBtc,
746    AstEth,
747    AtomBnb,
748    AtomBtc,
749    AtomPax,
750    AtomTusd,
751    AtomUsdc,
752    AtomUsdt,
753    BandBnb,
754    BandBtc,
755    BandUsdt,
756    BatBnb,
757    BatBtc,
758    BatEth,
759    BatPax,
760    BatTusd,
761    BatUsdc,
762    BatUsdt,
763    BccBnb,
764    BccBtc,
765    BccEth,
766    BccUsdt,
767    BcdBtc,
768    BcdEth,
769    BchabcBtc,
770    BchabcBusd,
771    BchabcPax,
772    BchabcTusd,
773    BchabcUsdc,
774    BchabcUsdt,
775    BchsvBtc,
776    BchsvPax,
777    BchsvTusd,
778    BchsvUsdc,
779    BchsvUsdt,
780    BchBnb,
781    BchBtc,
782    BchBusd,
783    BchPax,
784    BchTusd,
785    BchUsdc,
786    BchUsdt,
787    BcnBnb,
788    BcnBtc,
789    BcnEth,
790    BcptBnb,
791    BcptBtc,
792    BcptEth,
793    BcptPax,
794    BcptTusd,
795    BcptUsdc,
796    BeamBnb,
797    BeamBtc,
798    BeamUsdt,
799    BgbpUsdc,
800    BlzBnb,
801    BlzBtc,
802    BlzEth,
803    BnbBtc,
804    BnbBusd,
805    BnbEth,
806    BnbNgn,
807    BnbPax,
808    BnbRub,
809    BnbTry,
810    BnbTusd,
811    BnbUsdc,
812    BnbUsds,
813    BnbUsdt,
814    BntBtc,
815    BntEth,
816    BqxBtc,
817    BqxEth,
818    BrdBnb,
819    BrdBtc,
820    BrdEth,
821    BtcbBtc,
822    BtcBusd,
823    BtcDgb,
824    BtcFct,
825    BtcFoam,
826    BtcGrin,
827    BtcLpt,
828    BtcMaid,
829    BtcNgn,
830    BtcNmr,
831    BtcNxt,
832    BtcOmni,
833    BtcPax,
834    BtcRub,
835    BtcStr,
836    BtcTry,
837    BtcTusd,
838    BtcUsdc,
839    BtcUsds,
840    BtcUsdt,
841    BtcVtc,
842    BtcXpm,
843    BtgBtc,
844    BtgEth,
845    BtsBnb,
846    BtsBtc,
847    BtsEth,
848    BttBnb,
849    BttBtc,
850    BttPax,
851    BttTrx,
852    BttTusd,
853    BttUsdc,
854    BttUsdt,
855    BusdNgn,
856    BusdRub,
857    BusdTry,
858    BusdUsdt,
859    CdtBtc,
860    CdtEth,
861    CelrBnb,
862    CelrBtc,
863    CelrUsdt,
864    ChatBtc,
865    ChatEth,
866    ChzBnb,
867    ChzBtc,
868    ChzUsdt,
869    CloakBtc,
870    CloakEth,
871    CmtBnb,
872    CmtBtc,
873    CmtEth,
874    CndBnb,
875    CndBtc,
876    CndEth,
877    CocosBnb,
878    CocosBtc,
879    CocosUsdt,
880    CosBnb,
881    CosBtc,
882    CosUsdt,
883    CtxcBnb,
884    CtxcBtc,
885    CtxcUsdt,
886    CvcBnb,
887    CvcBtc,
888    CvcEth,
889    CvcUsdt,
890    DashBnb,
891    DashBtc,
892    DashEth,
893    DashUsdt,
894    DataBtc,
895    DataEth,
896    DcrBnb,
897    DcrBtc,
898    DentBtc,
899    DentEth,
900    DentUsdt,
901    DgdBtc,
902    DgdEth,
903    DltBnb,
904    DltBtc,
905    DltEth,
906    DntBtc,
907    DntEth,
908    DockBtc,
909    DockEth,
910    DockUsdt,
911    DogeBnb,
912    DogeBtc,
913    DogePax,
914    DogeUsdc,
915    DogeUsdt,
916    DuskBnb,
917    DuskBtc,
918    DuskPax,
919    DuskUsdc,
920    DuskUsdt,
921    EdoBtc,
922    EdoEth,
923    ElfBtc,
924    ElfEth,
925    EngBtc,
926    EngEth,
927    EnjBnb,
928    EnjBtc,
929    EnjEth,
930    EnjUsdt,
931    EosBnb,
932    EosBtc,
933    EosBusd,
934    EosEth,
935    EosPax,
936    EosTusd,
937    EosUsdc,
938    EosUsdt,
939    ErdBnb,
940    ErdBtc,
941    ErdPax,
942    ErdUsdc,
943    ErdUsdt,
944    EtcBnb,
945    EtcBtc,
946    EtcBusd,
947    EtcEth,
948    EtcPax,
949    EtcTusd,
950    EtcUsdc,
951    EtcUsdt,
952    EthBtc,
953    EthBusd,
954    EthPax,
955    EthRub,
956    EthTry,
957    EthTusd,
958    EthUsdc,
959    EthUsdt,
960    EvxBtc,
961    EvxEth,
962    FetBnb,
963    FetBtc,
964    FetUsdt,
965    FtmBnb,
966    FtmBtc,
967    FtmPax,
968    FtmTusd,
969    FtmUsdc,
970    FtmUsdt,
971    FttBnb,
972    FttBtc,
973    FttUsdt,
974    FuelBtc,
975    FuelEth,
976    FunBtc,
977    FunEth,
978    FunUsdt,
979    GasBtc,
980    GntBnb,
981    GntBtc,
982    GntEth,
983    GoBnb,
984    GoBtc,
985    GrsBtc,
986    GrsEth,
987    GtoBnb,
988    GtoBtc,
989    GtoEth,
990    GtoPax,
991    GtoTusd,
992    GtoUsdc,
993    GtoUsdt,
994    GvtBtc,
995    GvtEth,
996    GxsBtc,
997    GxsEth,
998    HbarBnb,
999    HbarBtc,
1000    HbarUsdt,
1001    HcBtc,
1002    HcEth,
1003    HcUsdt,
1004    HotBnb,
1005    HotBtc,
1006    HotEth,
1007    HotUsdt,
1008    HsrBtc,
1009    HsrEth,
1010    IcnBtc,
1011    IcnEth,
1012    IcxBnb,
1013    IcxBtc,
1014    IcxEth,
1015    IcxUsdt,
1016    InsBtc,
1017    InsEth,
1018    IostBnb,
1019    IostBtc,
1020    IostEth,
1021    IostUsdt,
1022    IotaBnb,
1023    IotaBtc,
1024    IotaEth,
1025    IotaUsdt,
1026    IotxBtc,
1027    IotxEth,
1028    IotxUsdt,
1029    KavaBnb,
1030    KavaBtc,
1031    KavaUsdt,
1032    KeyBtc,
1033    KeyEth,
1034    KeyUsdt,
1035    KmdBtc,
1036    KmdEth,
1037    KncBtc,
1038    KncEth,
1039    LendBtc,
1040    LendEth,
1041    LinkBtc,
1042    LinkBusd,
1043    LinkEth,
1044    LinkPax,
1045    LinkTusd,
1046    LinkUsdc,
1047    LinkUsdt,
1048    LoomBnb,
1049    LoomBtc,
1050    LoomEth,
1051    LrcBtc,
1052    LrcEth,
1053    LskBnb,
1054    LskBtc,
1055    LskEth,
1056    LtcBnb,
1057    LtcBtc,
1058    LtcBusd,
1059    LtcEth,
1060    LtcPax,
1061    LtcTusd,
1062    LtcUsdc,
1063    LtcUsdt,
1064    LunBtc,
1065    LunEth,
1066    ManaBtc,
1067    ManaEth,
1068    MaticBnb,
1069    MaticBtc,
1070    MaticUsdt,
1071    McoBnb,
1072    McoBtc,
1073    McoEth,
1074    McoUsdt,
1075    MdaBtc,
1076    MdaEth,
1077    MftBnb,
1078    MftBtc,
1079    MftEth,
1080    MftUsdt,
1081    MithBnb,
1082    MithBtc,
1083    MithUsdt,
1084    ModBtc,
1085    ModEth,
1086    MthBtc,
1087    MthEth,
1088    MtlBtc,
1089    MtlEth,
1090    MtlUsdt,
1091    NanoBnb,
1092    NanoBtc,
1093    NanoEth,
1094    NanoUsdt,
1095    NasBnb,
1096    NasBtc,
1097    NasEth,
1098    NavBnb,
1099    NavBtc,
1100    NavEth,
1101    NcashBnb,
1102    NcashBtc,
1103    NcashEth,
1104    NeblBnb,
1105    NeblBtc,
1106    NeblEth,
1107    NeoBnb,
1108    NeoBtc,
1109    NeoEth,
1110    NeoPax,
1111    NeoTusd,
1112    NeoUsdc,
1113    NeoUsdt,
1114    NknBnb,
1115    NknBtc,
1116    NknUsdt,
1117    NpxsBtc,
1118    NpxsEth,
1119    NpxsUsdc,
1120    NpxsUsdt,
1121    NulsBnb,
1122    NulsBtc,
1123    NulsEth,
1124    NulsUsdt,
1125    NxsBnb,
1126    NxsBtc,
1127    NxsEth,
1128    OaxBtc,
1129    OaxEth,
1130    OmgBnb,
1131    OmgBtc,
1132    OmgEth,
1133    OmgUsdt,
1134    OneBnb,
1135    OneBtc,
1136    OnePax,
1137    OneTusd,
1138    OneUsdc,
1139    OneUsdt,
1140    OngBnb,
1141    OngBtc,
1142    OngUsdt,
1143    OntBnb,
1144    OntBtc,
1145    OntEth,
1146    OntPax,
1147    OntUsdc,
1148    OntUsdt,
1149    OstBnb,
1150    OstBtc,
1151    OstEth,
1152    PaxBnb,
1153    PaxBtc,
1154    PaxEth,
1155    PaxTusd,
1156    PaxUsdt,
1157    PerlBnb,
1158    PerlBtc,
1159    PerlUsdc,
1160    PerlUsdt,
1161    PhbBnb,
1162    PhbBtc,
1163    PhbPax,
1164    PhbTusd,
1165    PhbUsdc,
1166    PhxBnb,
1167    PhxBtc,
1168    PhxEth,
1169    PivxBnb,
1170    PivxBtc,
1171    PivxEth,
1172    PoaBnb,
1173    PoaBtc,
1174    PoaEth,
1175    PoeBtc,
1176    PoeEth,
1177    PolyBnb,
1178    PolyBtc,
1179    PowrBnb,
1180    PowrBtc,
1181    PowrEth,
1182    PptBtc,
1183    PptEth,
1184    QkcBtc,
1185    QkcEth,
1186    QlcBnb,
1187    QlcBtc,
1188    QlcEth,
1189    QspBnb,
1190    QspBtc,
1191    QspEth,
1192    QtumBnb,
1193    QtumBtc,
1194    QtumBusd,
1195    QtumEth,
1196    QtumUsdt,
1197    RcnBnb,
1198    RcnBtc,
1199    RcnEth,
1200    RdnBnb,
1201    RdnBtc,
1202    RdnEth,
1203    RenBnb,
1204    RenBtc,
1205    RenUsdt,
1206    RepBnb,
1207    RepBtc,
1208    RepEth,
1209    ReqBtc,
1210    ReqEth,
1211    RlcBnb,
1212    RlcBtc,
1213    RlcEth,
1214    RlcUsdt,
1215    RpxBnb,
1216    RpxBtc,
1217    RpxEth,
1218    RvnBnb,
1219    RvnBtc,
1220    RvnUsdt,
1221    SaltBtc,
1222    SaltEth,
1223    ScBnb,
1224    ScBtc,
1225    ScEth,
1226    SkyBnb,
1227    SkyBtc,
1228    SkyEth,
1229    SnglsBtc,
1230    SnglsEth,
1231    SnmBtc,
1232    SnmEth,
1233    SntBtc,
1234    SntEth,
1235    SteemBnb,
1236    SteemBtc,
1237    SteemEth,
1238    StorjBtc,
1239    StorjEth,
1240    StormBnb,
1241    StormBtc,
1242    StormEth,
1243    StormUsdt,
1244    StratBtc,
1245    StratEth,
1246    StxBnb,
1247    StxBtc,
1248    StxUsdt,
1249    SubBtc,
1250    SubEth,
1251    SysBnb,
1252    SysBtc,
1253    SysEth,
1254    TfuelBnb,
1255    TfuelBtc,
1256    TfuelPax,
1257    TfuelTusd,
1258    TfuelUsdc,
1259    TfuelUsdt,
1260    ThetaBnb,
1261    ThetaBtc,
1262    ThetaEth,
1263    ThetaUsdt,
1264    TnbBtc,
1265    TnbEth,
1266    TntBtc,
1267    TntEth,
1268    TomoBnb,
1269    TomoBtc,
1270    TomoUsdc,
1271    TomoUsdt,
1272    TrigBnb,
1273    TrigBtc,
1274    TrigEth,
1275    TroyBnb,
1276    TroyBtc,
1277    TroyUsdt,
1278    TrxBnb,
1279    TrxBtc,
1280    TrxBusd,
1281    TrxEth,
1282    TrxPax,
1283    TrxTusd,
1284    TrxUsdc,
1285    TrxUsdt,
1286    TrxXrp,
1287    TusdbTusd,
1288    TusdBnb,
1289    TusdBtc,
1290    TusdEth,
1291    TusdUsdt,
1292    UsdcBnb,
1293    UsdcDash,
1294    UsdcGrin,
1295    UsdcPax,
1296    UsdcStr,
1297    UsdcTusd,
1298    UsdcUsdt,
1299    UsdcXmr,
1300    UsdsbUsds,
1301    UsdsbUsdt,
1302    UsdsPax,
1303    UsdsTusd,
1304    UsdsUsdc,
1305    UsdsUsdt,
1306    UsdtDgb,
1307    UsdtGnt,
1308    UsdtGrin,
1309    UsdtLsk,
1310    UsdtMana,
1311    UsdtNxt,
1312    UsdtRep,
1313    UsdtRub,
1314    UsdtSc,
1315    UsdtStr,
1316    UsdtTry,
1317    VenBnb,
1318    VenBtc,
1319    VenEth,
1320    VenUsdt,
1321    VetBnb,
1322    VetBtc,
1323    VetBusd,
1324    VetEth,
1325    VetUsdt,
1326    ViaBnb,
1327    ViaBtc,
1328    ViaEth,
1329    VibeBtc,
1330    VibeEth,
1331    VibBtc,
1332    VibEth,
1333    ViteBnb,
1334    ViteBtc,
1335    ViteUsdt,
1336    WabiBnb,
1337    WabiBtc,
1338    WabiEth,
1339    WanBnb,
1340    WanBtc,
1341    WanEth,
1342    WanUsdt,
1343    WavesBnb,
1344    WavesBtc,
1345    WavesEth,
1346    WavesPax,
1347    WavesTusd,
1348    WavesUsdc,
1349    WavesUsdt,
1350    WingsBtc,
1351    WingsEth,
1352    WinBnb,
1353    WinBtc,
1354    WinTrx,
1355    WinUsdc,
1356    WinUsdt,
1357    WprBtc,
1358    WprEth,
1359    WtcBnb,
1360    WtcBtc,
1361    WtcEth,
1362    XemBnb,
1363    XemBtc,
1364    XemEth,
1365    XlmBnb,
1366    XlmBtc,
1367    XlmBusd,
1368    XlmEth,
1369    XlmPax,
1370    XlmTusd,
1371    XlmUsdc,
1372    XlmUsdt,
1373    XmrBnb,
1374    XmrBtc,
1375    XmrEth,
1376    XmrUsdt,
1377    XrpBnb,
1378    XrpBtc,
1379    XrpBusd,
1380    XrpEth,
1381    XrpPax,
1382    XrpRub,
1383    XrpTry,
1384    XrpTusd,
1385    XrpUsdc,
1386    XrpUsdt,
1387    XtzBnb,
1388    XtzBtc,
1389    XtzUsdt,
1390    XvgBtc,
1391    XvgEth,
1392    XzcBnb,
1393    XzcBtc,
1394    XzcEth,
1395    XzcXrp,
1396    YoyoBnb,
1397    YoyoBtc,
1398    YoyoEth,
1399    ZecBnb,
1400    ZecBtc,
1401    ZecEth,
1402    ZecPax,
1403    ZecTusd,
1404    ZecUsdc,
1405    ZecUsdt,
1406    ZenBnb,
1407    ZenBtc,
1408    ZenEth,
1409    ZilBnb,
1410    ZilBtc,
1411    ZilEth,
1412    ZilUsdt,
1413    ZrxBnb,
1414    ZrxBtc,
1415    ZrxEth,
1416    ZrxUsdt,
1417}
1418
1419impl CurrencyPair {
1420    pub fn new(quote: Currency, base: Currency) -> CurrencyPair {
1421        match (quote, base) {
1422            (Currency::Ada, Currency::Bnb) => CurrencyPair::AdaBnb,
1423            (Currency::Ada, Currency::Btc) => CurrencyPair::AdaBtc,
1424            (Currency::Ada, Currency::Busd) => CurrencyPair::AdaBusd,
1425            (Currency::Ada, Currency::Eth) => CurrencyPair::AdaEth,
1426            (Currency::Ada, Currency::Pax) => CurrencyPair::AdaPax,
1427            (Currency::Ada, Currency::Tusd) => CurrencyPair::AdaTusd,
1428            (Currency::Ada, Currency::Usdc) => CurrencyPair::AdaUsdc,
1429            (Currency::Ada, Currency::Usdt) => CurrencyPair::AdaUsdt,
1430            (Currency::Adx, Currency::Bnb) => CurrencyPair::AdxBnb,
1431            (Currency::Adx, Currency::Btc) => CurrencyPair::AdxBtc,
1432            (Currency::Adx, Currency::Eth) => CurrencyPair::AdxEth,
1433            (Currency::Ae, Currency::Bnb) => CurrencyPair::AeBnb,
1434            (Currency::Ae, Currency::Btc) => CurrencyPair::AeBtc,
1435            (Currency::Ae, Currency::Eth) => CurrencyPair::AeEth,
1436            (Currency::Agi, Currency::Bnb) => CurrencyPair::AgiBnb,
1437            (Currency::Agi, Currency::Btc) => CurrencyPair::AgiBtc,
1438            (Currency::Agi, Currency::Eth) => CurrencyPair::AgiEth,
1439            (Currency::Aion, Currency::Bnb) => CurrencyPair::AionBnb,
1440            (Currency::Aion, Currency::Btc) => CurrencyPair::AionBtc,
1441            (Currency::Aion, Currency::Eth) => CurrencyPair::AionEth,
1442            (Currency::Algo, Currency::Bnb) => CurrencyPair::AlgoBnb,
1443            (Currency::Algo, Currency::Btc) => CurrencyPair::AlgoBtc,
1444            (Currency::Algo, Currency::Pax) => CurrencyPair::AlgoPax,
1445            (Currency::Algo, Currency::Tusd) => CurrencyPair::AlgoTusd,
1446            (Currency::Algo, Currency::Usdc) => CurrencyPair::AlgoUsdc,
1447            (Currency::Algo, Currency::Usdt) => CurrencyPair::AlgoUsdt,
1448            (Currency::Amb, Currency::Bnb) => CurrencyPair::AmbBnb,
1449            (Currency::Amb, Currency::Btc) => CurrencyPair::AmbBtc,
1450            (Currency::Amb, Currency::Eth) => CurrencyPair::AmbEth,
1451            (Currency::Ankr, Currency::Bnb) => CurrencyPair::AnkrBnb,
1452            (Currency::Ankr, Currency::Btc) => CurrencyPair::AnkrBtc,
1453            (Currency::Ankr, Currency::Pax) => CurrencyPair::AnkrPax,
1454            (Currency::Ankr, Currency::Tusd) => CurrencyPair::AnkrTusd,
1455            (Currency::Ankr, Currency::Usdc) => CurrencyPair::AnkrUsdc,
1456            (Currency::Ankr, Currency::Usdt) => CurrencyPair::AnkrUsdt,
1457            (Currency::Appc, Currency::Bnb) => CurrencyPair::AppcBnb,
1458            (Currency::Appc, Currency::Btc) => CurrencyPair::AppcBtc,
1459            (Currency::Appc, Currency::Eth) => CurrencyPair::AppcEth,
1460            (Currency::Ardr, Currency::Bnb) => CurrencyPair::ArdrBnb,
1461            (Currency::Ardr, Currency::Btc) => CurrencyPair::ArdrBtc,
1462            (Currency::Ardr, Currency::Eth) => CurrencyPair::ArdrEth,
1463            (Currency::Ark, Currency::Btc) => CurrencyPair::ArkBtc,
1464            (Currency::Ark, Currency::Eth) => CurrencyPair::ArkEth,
1465            (Currency::Arn, Currency::Btc) => CurrencyPair::ArnBtc,
1466            (Currency::Arn, Currency::Eth) => CurrencyPair::ArnEth,
1467            (Currency::Arpa, Currency::Bnb) => CurrencyPair::ArpaBnb,
1468            (Currency::Arpa, Currency::Btc) => CurrencyPair::ArpaBtc,
1469            (Currency::Arpa, Currency::Usdt) => CurrencyPair::ArpaUsdt,
1470            (Currency::Ast, Currency::Btc) => CurrencyPair::AstBtc,
1471            (Currency::Ast, Currency::Eth) => CurrencyPair::AstEth,
1472            (Currency::Atom, Currency::Bnb) => CurrencyPair::AtomBnb,
1473            (Currency::Atom, Currency::Btc) => CurrencyPair::AtomBtc,
1474            (Currency::Atom, Currency::Pax) => CurrencyPair::AtomPax,
1475            (Currency::Atom, Currency::Tusd) => CurrencyPair::AtomTusd,
1476            (Currency::Atom, Currency::Usdc) => CurrencyPair::AtomUsdc,
1477            (Currency::Atom, Currency::Usdt) => CurrencyPair::AtomUsdt,
1478            (Currency::Band, Currency::Bnb) => CurrencyPair::BandBnb,
1479            (Currency::Band, Currency::Btc) => CurrencyPair::BandBtc,
1480            (Currency::Band, Currency::Usdt) => CurrencyPair::BandUsdt,
1481            (Currency::Bat, Currency::Bnb) => CurrencyPair::BatBnb,
1482            (Currency::Bat, Currency::Btc) => CurrencyPair::BatBtc,
1483            (Currency::Bat, Currency::Eth) => CurrencyPair::BatEth,
1484            (Currency::Bat, Currency::Pax) => CurrencyPair::BatPax,
1485            (Currency::Bat, Currency::Tusd) => CurrencyPair::BatTusd,
1486            (Currency::Bat, Currency::Usdc) => CurrencyPair::BatUsdc,
1487            (Currency::Bat, Currency::Usdt) => CurrencyPair::BatUsdt,
1488            (Currency::Bcc, Currency::Bnb) => CurrencyPair::BccBnb,
1489            (Currency::Bcc, Currency::Btc) => CurrencyPair::BccBtc,
1490            (Currency::Bcc, Currency::Eth) => CurrencyPair::BccEth,
1491            (Currency::Bcc, Currency::Usdt) => CurrencyPair::BccUsdt,
1492            (Currency::Bcd, Currency::Btc) => CurrencyPair::BcdBtc,
1493            (Currency::Bcd, Currency::Eth) => CurrencyPair::BcdEth,
1494            (Currency::Bchabc, Currency::Btc) => CurrencyPair::BchabcBtc,
1495            (Currency::Bchabc, Currency::Busd) => CurrencyPair::BchabcBusd,
1496            (Currency::Bchabc, Currency::Pax) => CurrencyPair::BchabcPax,
1497            (Currency::Bchabc, Currency::Tusd) => CurrencyPair::BchabcTusd,
1498            (Currency::Bchabc, Currency::Usdc) => CurrencyPair::BchabcUsdc,
1499            (Currency::Bchabc, Currency::Usdt) => CurrencyPair::BchabcUsdt,
1500            (Currency::Bchsv, Currency::Btc) => CurrencyPair::BchsvBtc,
1501            (Currency::Bchsv, Currency::Pax) => CurrencyPair::BchsvPax,
1502            (Currency::Bchsv, Currency::Tusd) => CurrencyPair::BchsvTusd,
1503            (Currency::Bchsv, Currency::Usdc) => CurrencyPair::BchsvUsdc,
1504            (Currency::Bchsv, Currency::Usdt) => CurrencyPair::BchsvUsdt,
1505            (Currency::Bch, Currency::Bnb) => CurrencyPair::BchBnb,
1506            (Currency::Bch, Currency::Btc) => CurrencyPair::BchBtc,
1507            (Currency::Bch, Currency::Busd) => CurrencyPair::BchBusd,
1508            (Currency::Bch, Currency::Pax) => CurrencyPair::BchPax,
1509            (Currency::Bch, Currency::Tusd) => CurrencyPair::BchTusd,
1510            (Currency::Bch, Currency::Usdc) => CurrencyPair::BchUsdc,
1511            (Currency::Bch, Currency::Usdt) => CurrencyPair::BchUsdt,
1512            (Currency::Bcn, Currency::Bnb) => CurrencyPair::BcnBnb,
1513            (Currency::Bcn, Currency::Btc) => CurrencyPair::BcnBtc,
1514            (Currency::Bcn, Currency::Eth) => CurrencyPair::BcnEth,
1515            (Currency::Bcpt, Currency::Bnb) => CurrencyPair::BcptBnb,
1516            (Currency::Bcpt, Currency::Btc) => CurrencyPair::BcptBtc,
1517            (Currency::Bcpt, Currency::Eth) => CurrencyPair::BcptEth,
1518            (Currency::Bcpt, Currency::Pax) => CurrencyPair::BcptPax,
1519            (Currency::Bcpt, Currency::Tusd) => CurrencyPair::BcptTusd,
1520            (Currency::Bcpt, Currency::Usdc) => CurrencyPair::BcptUsdc,
1521            (Currency::Beam, Currency::Bnb) => CurrencyPair::BeamBnb,
1522            (Currency::Beam, Currency::Btc) => CurrencyPair::BeamBtc,
1523            (Currency::Beam, Currency::Usdt) => CurrencyPair::BeamUsdt,
1524            (Currency::Bgbp, Currency::Usdc) => CurrencyPair::BgbpUsdc,
1525            (Currency::Blz, Currency::Bnb) => CurrencyPair::BlzBnb,
1526            (Currency::Blz, Currency::Btc) => CurrencyPair::BlzBtc,
1527            (Currency::Blz, Currency::Eth) => CurrencyPair::BlzEth,
1528            (Currency::Bnb, Currency::Btc) => CurrencyPair::BnbBtc,
1529            (Currency::Bnb, Currency::Busd) => CurrencyPair::BnbBusd,
1530            (Currency::Bnb, Currency::Eth) => CurrencyPair::BnbEth,
1531            (Currency::Bnb, Currency::Ngn) => CurrencyPair::BnbNgn,
1532            (Currency::Bnb, Currency::Pax) => CurrencyPair::BnbPax,
1533            (Currency::Bnb, Currency::Rub) => CurrencyPair::BnbRub,
1534            (Currency::Bnb, Currency::Try) => CurrencyPair::BnbTry,
1535            (Currency::Bnb, Currency::Tusd) => CurrencyPair::BnbTusd,
1536            (Currency::Bnb, Currency::Usdc) => CurrencyPair::BnbUsdc,
1537            (Currency::Bnb, Currency::Usds) => CurrencyPair::BnbUsds,
1538            (Currency::Bnb, Currency::Usdt) => CurrencyPair::BnbUsdt,
1539            (Currency::Bnt, Currency::Btc) => CurrencyPair::BntBtc,
1540            (Currency::Bnt, Currency::Eth) => CurrencyPair::BntEth,
1541            (Currency::Bqx, Currency::Btc) => CurrencyPair::BqxBtc,
1542            (Currency::Bqx, Currency::Eth) => CurrencyPair::BqxEth,
1543            (Currency::Brd, Currency::Bnb) => CurrencyPair::BrdBnb,
1544            (Currency::Brd, Currency::Btc) => CurrencyPair::BrdBtc,
1545            (Currency::Brd, Currency::Eth) => CurrencyPair::BrdEth,
1546            (Currency::Btcb, Currency::Btc) => CurrencyPair::BtcbBtc,
1547            (Currency::Btc, Currency::Busd) => CurrencyPair::BtcBusd,
1548            (Currency::Btc, Currency::Dgb) => CurrencyPair::BtcDgb,
1549            (Currency::Btc, Currency::Fct) => CurrencyPair::BtcFct,
1550            (Currency::Btc, Currency::Foam) => CurrencyPair::BtcFoam,
1551            (Currency::Btc, Currency::Grin) => CurrencyPair::BtcGrin,
1552            (Currency::Btc, Currency::Lpt) => CurrencyPair::BtcLpt,
1553            (Currency::Btc, Currency::Maid) => CurrencyPair::BtcMaid,
1554            (Currency::Btc, Currency::Ngn) => CurrencyPair::BtcNgn,
1555            (Currency::Btc, Currency::Nmr) => CurrencyPair::BtcNmr,
1556            (Currency::Btc, Currency::Nxt) => CurrencyPair::BtcNxt,
1557            (Currency::Btc, Currency::Omni) => CurrencyPair::BtcOmni,
1558            (Currency::Btc, Currency::Pax) => CurrencyPair::BtcPax,
1559            (Currency::Btc, Currency::Rub) => CurrencyPair::BtcRub,
1560            (Currency::Btc, Currency::Str) => CurrencyPair::BtcStr,
1561            (Currency::Btc, Currency::Try) => CurrencyPair::BtcTry,
1562            (Currency::Btc, Currency::Tusd) => CurrencyPair::BtcTusd,
1563            (Currency::Btc, Currency::Usdc) => CurrencyPair::BtcUsdc,
1564            (Currency::Btc, Currency::Usds) => CurrencyPair::BtcUsds,
1565            (Currency::Btc, Currency::Usdt) => CurrencyPair::BtcUsdt,
1566            (Currency::Btc, Currency::Vtc) => CurrencyPair::BtcVtc,
1567            (Currency::Btc, Currency::Xpm) => CurrencyPair::BtcXpm,
1568            (Currency::Btg, Currency::Btc) => CurrencyPair::BtgBtc,
1569            (Currency::Btg, Currency::Eth) => CurrencyPair::BtgEth,
1570            (Currency::Bts, Currency::Bnb) => CurrencyPair::BtsBnb,
1571            (Currency::Bts, Currency::Btc) => CurrencyPair::BtsBtc,
1572            (Currency::Bts, Currency::Eth) => CurrencyPair::BtsEth,
1573            (Currency::Btt, Currency::Bnb) => CurrencyPair::BttBnb,
1574            (Currency::Btt, Currency::Btc) => CurrencyPair::BttBtc,
1575            (Currency::Btt, Currency::Pax) => CurrencyPair::BttPax,
1576            (Currency::Btt, Currency::Trx) => CurrencyPair::BttTrx,
1577            (Currency::Btt, Currency::Tusd) => CurrencyPair::BttTusd,
1578            (Currency::Btt, Currency::Usdc) => CurrencyPair::BttUsdc,
1579            (Currency::Btt, Currency::Usdt) => CurrencyPair::BttUsdt,
1580            (Currency::Busd, Currency::Ngn) => CurrencyPair::BusdNgn,
1581            (Currency::Busd, Currency::Rub) => CurrencyPair::BusdRub,
1582            (Currency::Busd, Currency::Try) => CurrencyPair::BusdTry,
1583            (Currency::Busd, Currency::Usdt) => CurrencyPair::BusdUsdt,
1584            (Currency::Cdt, Currency::Btc) => CurrencyPair::CdtBtc,
1585            (Currency::Cdt, Currency::Eth) => CurrencyPair::CdtEth,
1586            (Currency::Celr, Currency::Bnb) => CurrencyPair::CelrBnb,
1587            (Currency::Celr, Currency::Btc) => CurrencyPair::CelrBtc,
1588            (Currency::Celr, Currency::Usdt) => CurrencyPair::CelrUsdt,
1589            (Currency::Chat, Currency::Btc) => CurrencyPair::ChatBtc,
1590            (Currency::Chat, Currency::Eth) => CurrencyPair::ChatEth,
1591            (Currency::Chz, Currency::Bnb) => CurrencyPair::ChzBnb,
1592            (Currency::Chz, Currency::Btc) => CurrencyPair::ChzBtc,
1593            (Currency::Chz, Currency::Usdt) => CurrencyPair::ChzUsdt,
1594            (Currency::Cloak, Currency::Btc) => CurrencyPair::CloakBtc,
1595            (Currency::Cloak, Currency::Eth) => CurrencyPair::CloakEth,
1596            (Currency::Cmt, Currency::Bnb) => CurrencyPair::CmtBnb,
1597            (Currency::Cmt, Currency::Btc) => CurrencyPair::CmtBtc,
1598            (Currency::Cmt, Currency::Eth) => CurrencyPair::CmtEth,
1599            (Currency::Cnd, Currency::Bnb) => CurrencyPair::CndBnb,
1600            (Currency::Cnd, Currency::Btc) => CurrencyPair::CndBtc,
1601            (Currency::Cnd, Currency::Eth) => CurrencyPair::CndEth,
1602            (Currency::Cocos, Currency::Bnb) => CurrencyPair::CocosBnb,
1603            (Currency::Cocos, Currency::Btc) => CurrencyPair::CocosBtc,
1604            (Currency::Cocos, Currency::Usdt) => CurrencyPair::CocosUsdt,
1605            (Currency::Cos, Currency::Bnb) => CurrencyPair::CosBnb,
1606            (Currency::Cos, Currency::Btc) => CurrencyPair::CosBtc,
1607            (Currency::Cos, Currency::Usdt) => CurrencyPair::CosUsdt,
1608            (Currency::Ctxc, Currency::Bnb) => CurrencyPair::CtxcBnb,
1609            (Currency::Ctxc, Currency::Btc) => CurrencyPair::CtxcBtc,
1610            (Currency::Ctxc, Currency::Usdt) => CurrencyPair::CtxcUsdt,
1611            (Currency::Cvc, Currency::Bnb) => CurrencyPair::CvcBnb,
1612            (Currency::Cvc, Currency::Btc) => CurrencyPair::CvcBtc,
1613            (Currency::Cvc, Currency::Eth) => CurrencyPair::CvcEth,
1614            (Currency::Cvc, Currency::Usdt) => CurrencyPair::CvcUsdt,
1615            (Currency::Dash, Currency::Bnb) => CurrencyPair::DashBnb,
1616            (Currency::Dash, Currency::Btc) => CurrencyPair::DashBtc,
1617            (Currency::Dash, Currency::Eth) => CurrencyPair::DashEth,
1618            (Currency::Dash, Currency::Usdt) => CurrencyPair::DashUsdt,
1619            (Currency::Data, Currency::Btc) => CurrencyPair::DataBtc,
1620            (Currency::Data, Currency::Eth) => CurrencyPair::DataEth,
1621            (Currency::Dcr, Currency::Bnb) => CurrencyPair::DcrBnb,
1622            (Currency::Dcr, Currency::Btc) => CurrencyPair::DcrBtc,
1623            (Currency::Dent, Currency::Btc) => CurrencyPair::DentBtc,
1624            (Currency::Dent, Currency::Eth) => CurrencyPair::DentEth,
1625            (Currency::Dent, Currency::Usdt) => CurrencyPair::DentUsdt,
1626            (Currency::Dgd, Currency::Btc) => CurrencyPair::DgdBtc,
1627            (Currency::Dgd, Currency::Eth) => CurrencyPair::DgdEth,
1628            (Currency::Dlt, Currency::Bnb) => CurrencyPair::DltBnb,
1629            (Currency::Dlt, Currency::Btc) => CurrencyPair::DltBtc,
1630            (Currency::Dlt, Currency::Eth) => CurrencyPair::DltEth,
1631            (Currency::Dnt, Currency::Btc) => CurrencyPair::DntBtc,
1632            (Currency::Dnt, Currency::Eth) => CurrencyPair::DntEth,
1633            (Currency::Dock, Currency::Btc) => CurrencyPair::DockBtc,
1634            (Currency::Dock, Currency::Eth) => CurrencyPair::DockEth,
1635            (Currency::Dock, Currency::Usdt) => CurrencyPair::DockUsdt,
1636            (Currency::Doge, Currency::Bnb) => CurrencyPair::DogeBnb,
1637            (Currency::Doge, Currency::Btc) => CurrencyPair::DogeBtc,
1638            (Currency::Doge, Currency::Pax) => CurrencyPair::DogePax,
1639            (Currency::Doge, Currency::Usdc) => CurrencyPair::DogeUsdc,
1640            (Currency::Doge, Currency::Usdt) => CurrencyPair::DogeUsdt,
1641            (Currency::Dusk, Currency::Bnb) => CurrencyPair::DuskBnb,
1642            (Currency::Dusk, Currency::Btc) => CurrencyPair::DuskBtc,
1643            (Currency::Dusk, Currency::Pax) => CurrencyPair::DuskPax,
1644            (Currency::Dusk, Currency::Usdc) => CurrencyPair::DuskUsdc,
1645            (Currency::Dusk, Currency::Usdt) => CurrencyPair::DuskUsdt,
1646            (Currency::Edo, Currency::Btc) => CurrencyPair::EdoBtc,
1647            (Currency::Edo, Currency::Eth) => CurrencyPair::EdoEth,
1648            (Currency::Elf, Currency::Btc) => CurrencyPair::ElfBtc,
1649            (Currency::Elf, Currency::Eth) => CurrencyPair::ElfEth,
1650            (Currency::Eng, Currency::Btc) => CurrencyPair::EngBtc,
1651            (Currency::Eng, Currency::Eth) => CurrencyPair::EngEth,
1652            (Currency::Enj, Currency::Bnb) => CurrencyPair::EnjBnb,
1653            (Currency::Enj, Currency::Btc) => CurrencyPair::EnjBtc,
1654            (Currency::Enj, Currency::Eth) => CurrencyPair::EnjEth,
1655            (Currency::Enj, Currency::Usdt) => CurrencyPair::EnjUsdt,
1656            (Currency::Eos, Currency::Bnb) => CurrencyPair::EosBnb,
1657            (Currency::Eos, Currency::Btc) => CurrencyPair::EosBtc,
1658            (Currency::Eos, Currency::Busd) => CurrencyPair::EosBusd,
1659            (Currency::Eos, Currency::Eth) => CurrencyPair::EosEth,
1660            (Currency::Eos, Currency::Pax) => CurrencyPair::EosPax,
1661            (Currency::Eos, Currency::Tusd) => CurrencyPair::EosTusd,
1662            (Currency::Eos, Currency::Usdc) => CurrencyPair::EosUsdc,
1663            (Currency::Eos, Currency::Usdt) => CurrencyPair::EosUsdt,
1664            (Currency::Erd, Currency::Bnb) => CurrencyPair::ErdBnb,
1665            (Currency::Erd, Currency::Btc) => CurrencyPair::ErdBtc,
1666            (Currency::Erd, Currency::Pax) => CurrencyPair::ErdPax,
1667            (Currency::Erd, Currency::Usdc) => CurrencyPair::ErdUsdc,
1668            (Currency::Erd, Currency::Usdt) => CurrencyPair::ErdUsdt,
1669            (Currency::Etc, Currency::Bnb) => CurrencyPair::EtcBnb,
1670            (Currency::Etc, Currency::Btc) => CurrencyPair::EtcBtc,
1671            (Currency::Etc, Currency::Busd) => CurrencyPair::EtcBusd,
1672            (Currency::Etc, Currency::Eth) => CurrencyPair::EtcEth,
1673            (Currency::Etc, Currency::Pax) => CurrencyPair::EtcPax,
1674            (Currency::Etc, Currency::Tusd) => CurrencyPair::EtcTusd,
1675            (Currency::Etc, Currency::Usdc) => CurrencyPair::EtcUsdc,
1676            (Currency::Etc, Currency::Usdt) => CurrencyPair::EtcUsdt,
1677            (Currency::Eth, Currency::Btc) => CurrencyPair::EthBtc,
1678            (Currency::Eth, Currency::Busd) => CurrencyPair::EthBusd,
1679            (Currency::Eth, Currency::Pax) => CurrencyPair::EthPax,
1680            (Currency::Eth, Currency::Rub) => CurrencyPair::EthRub,
1681            (Currency::Eth, Currency::Try) => CurrencyPair::EthTry,
1682            (Currency::Eth, Currency::Tusd) => CurrencyPair::EthTusd,
1683            (Currency::Eth, Currency::Usdc) => CurrencyPair::EthUsdc,
1684            (Currency::Eth, Currency::Usdt) => CurrencyPair::EthUsdt,
1685            (Currency::Evx, Currency::Btc) => CurrencyPair::EvxBtc,
1686            (Currency::Evx, Currency::Eth) => CurrencyPair::EvxEth,
1687            (Currency::Fet, Currency::Bnb) => CurrencyPair::FetBnb,
1688            (Currency::Fet, Currency::Btc) => CurrencyPair::FetBtc,
1689            (Currency::Fet, Currency::Usdt) => CurrencyPair::FetUsdt,
1690            (Currency::Ftm, Currency::Bnb) => CurrencyPair::FtmBnb,
1691            (Currency::Ftm, Currency::Btc) => CurrencyPair::FtmBtc,
1692            (Currency::Ftm, Currency::Pax) => CurrencyPair::FtmPax,
1693            (Currency::Ftm, Currency::Tusd) => CurrencyPair::FtmTusd,
1694            (Currency::Ftm, Currency::Usdc) => CurrencyPair::FtmUsdc,
1695            (Currency::Ftm, Currency::Usdt) => CurrencyPair::FtmUsdt,
1696            (Currency::Ftt, Currency::Bnb) => CurrencyPair::FttBnb,
1697            (Currency::Ftt, Currency::Btc) => CurrencyPair::FttBtc,
1698            (Currency::Ftt, Currency::Usdt) => CurrencyPair::FttUsdt,
1699            (Currency::Fuel, Currency::Btc) => CurrencyPair::FuelBtc,
1700            (Currency::Fuel, Currency::Eth) => CurrencyPair::FuelEth,
1701            (Currency::Fun, Currency::Btc) => CurrencyPair::FunBtc,
1702            (Currency::Fun, Currency::Eth) => CurrencyPair::FunEth,
1703            (Currency::Fun, Currency::Usdt) => CurrencyPair::FunUsdt,
1704            (Currency::Gas, Currency::Btc) => CurrencyPair::GasBtc,
1705            (Currency::Gnt, Currency::Bnb) => CurrencyPair::GntBnb,
1706            (Currency::Gnt, Currency::Btc) => CurrencyPair::GntBtc,
1707            (Currency::Gnt, Currency::Eth) => CurrencyPair::GntEth,
1708            (Currency::Go, Currency::Bnb) => CurrencyPair::GoBnb,
1709            (Currency::Go, Currency::Btc) => CurrencyPair::GoBtc,
1710            (Currency::Grs, Currency::Btc) => CurrencyPair::GrsBtc,
1711            (Currency::Grs, Currency::Eth) => CurrencyPair::GrsEth,
1712            (Currency::Gto, Currency::Bnb) => CurrencyPair::GtoBnb,
1713            (Currency::Gto, Currency::Btc) => CurrencyPair::GtoBtc,
1714            (Currency::Gto, Currency::Eth) => CurrencyPair::GtoEth,
1715            (Currency::Gto, Currency::Pax) => CurrencyPair::GtoPax,
1716            (Currency::Gto, Currency::Tusd) => CurrencyPair::GtoTusd,
1717            (Currency::Gto, Currency::Usdc) => CurrencyPair::GtoUsdc,
1718            (Currency::Gto, Currency::Usdt) => CurrencyPair::GtoUsdt,
1719            (Currency::Gvt, Currency::Btc) => CurrencyPair::GvtBtc,
1720            (Currency::Gvt, Currency::Eth) => CurrencyPair::GvtEth,
1721            (Currency::Gxs, Currency::Btc) => CurrencyPair::GxsBtc,
1722            (Currency::Gxs, Currency::Eth) => CurrencyPair::GxsEth,
1723            (Currency::Hbar, Currency::Bnb) => CurrencyPair::HbarBnb,
1724            (Currency::Hbar, Currency::Btc) => CurrencyPair::HbarBtc,
1725            (Currency::Hbar, Currency::Usdt) => CurrencyPair::HbarUsdt,
1726            (Currency::Hc, Currency::Btc) => CurrencyPair::HcBtc,
1727            (Currency::Hc, Currency::Eth) => CurrencyPair::HcEth,
1728            (Currency::Hc, Currency::Usdt) => CurrencyPair::HcUsdt,
1729            (Currency::Hot, Currency::Bnb) => CurrencyPair::HotBnb,
1730            (Currency::Hot, Currency::Btc) => CurrencyPair::HotBtc,
1731            (Currency::Hot, Currency::Eth) => CurrencyPair::HotEth,
1732            (Currency::Hot, Currency::Usdt) => CurrencyPair::HotUsdt,
1733            (Currency::Hsr, Currency::Btc) => CurrencyPair::HsrBtc,
1734            (Currency::Hsr, Currency::Eth) => CurrencyPair::HsrEth,
1735            (Currency::Icn, Currency::Btc) => CurrencyPair::IcnBtc,
1736            (Currency::Icn, Currency::Eth) => CurrencyPair::IcnEth,
1737            (Currency::Icx, Currency::Bnb) => CurrencyPair::IcxBnb,
1738            (Currency::Icx, Currency::Btc) => CurrencyPair::IcxBtc,
1739            (Currency::Icx, Currency::Eth) => CurrencyPair::IcxEth,
1740            (Currency::Icx, Currency::Usdt) => CurrencyPair::IcxUsdt,
1741            (Currency::Ins, Currency::Btc) => CurrencyPair::InsBtc,
1742            (Currency::Ins, Currency::Eth) => CurrencyPair::InsEth,
1743            (Currency::Iost, Currency::Bnb) => CurrencyPair::IostBnb,
1744            (Currency::Iost, Currency::Btc) => CurrencyPair::IostBtc,
1745            (Currency::Iost, Currency::Eth) => CurrencyPair::IostEth,
1746            (Currency::Iost, Currency::Usdt) => CurrencyPair::IostUsdt,
1747            (Currency::Iota, Currency::Bnb) => CurrencyPair::IotaBnb,
1748            (Currency::Iota, Currency::Btc) => CurrencyPair::IotaBtc,
1749            (Currency::Iota, Currency::Eth) => CurrencyPair::IotaEth,
1750            (Currency::Iota, Currency::Usdt) => CurrencyPair::IotaUsdt,
1751            (Currency::Iotx, Currency::Btc) => CurrencyPair::IotxBtc,
1752            (Currency::Iotx, Currency::Eth) => CurrencyPair::IotxEth,
1753            (Currency::Iotx, Currency::Usdt) => CurrencyPair::IotxUsdt,
1754            (Currency::Kava, Currency::Bnb) => CurrencyPair::KavaBnb,
1755            (Currency::Kava, Currency::Btc) => CurrencyPair::KavaBtc,
1756            (Currency::Kava, Currency::Usdt) => CurrencyPair::KavaUsdt,
1757            (Currency::Key, Currency::Btc) => CurrencyPair::KeyBtc,
1758            (Currency::Key, Currency::Eth) => CurrencyPair::KeyEth,
1759            (Currency::Key, Currency::Usdt) => CurrencyPair::KeyUsdt,
1760            (Currency::Kmd, Currency::Btc) => CurrencyPair::KmdBtc,
1761            (Currency::Kmd, Currency::Eth) => CurrencyPair::KmdEth,
1762            (Currency::Knc, Currency::Btc) => CurrencyPair::KncBtc,
1763            (Currency::Knc, Currency::Eth) => CurrencyPair::KncEth,
1764            (Currency::Lend, Currency::Btc) => CurrencyPair::LendBtc,
1765            (Currency::Lend, Currency::Eth) => CurrencyPair::LendEth,
1766            (Currency::Link, Currency::Btc) => CurrencyPair::LinkBtc,
1767            (Currency::Link, Currency::Busd) => CurrencyPair::LinkBusd,
1768            (Currency::Link, Currency::Eth) => CurrencyPair::LinkEth,
1769            (Currency::Link, Currency::Pax) => CurrencyPair::LinkPax,
1770            (Currency::Link, Currency::Tusd) => CurrencyPair::LinkTusd,
1771            (Currency::Link, Currency::Usdc) => CurrencyPair::LinkUsdc,
1772            (Currency::Link, Currency::Usdt) => CurrencyPair::LinkUsdt,
1773            (Currency::Loom, Currency::Bnb) => CurrencyPair::LoomBnb,
1774            (Currency::Loom, Currency::Btc) => CurrencyPair::LoomBtc,
1775            (Currency::Loom, Currency::Eth) => CurrencyPair::LoomEth,
1776            (Currency::Lrc, Currency::Btc) => CurrencyPair::LrcBtc,
1777            (Currency::Lrc, Currency::Eth) => CurrencyPair::LrcEth,
1778            (Currency::Lsk, Currency::Bnb) => CurrencyPair::LskBnb,
1779            (Currency::Lsk, Currency::Btc) => CurrencyPair::LskBtc,
1780            (Currency::Lsk, Currency::Eth) => CurrencyPair::LskEth,
1781            (Currency::Ltc, Currency::Bnb) => CurrencyPair::LtcBnb,
1782            (Currency::Ltc, Currency::Btc) => CurrencyPair::LtcBtc,
1783            (Currency::Ltc, Currency::Busd) => CurrencyPair::LtcBusd,
1784            (Currency::Ltc, Currency::Eth) => CurrencyPair::LtcEth,
1785            (Currency::Ltc, Currency::Pax) => CurrencyPair::LtcPax,
1786            (Currency::Ltc, Currency::Tusd) => CurrencyPair::LtcTusd,
1787            (Currency::Ltc, Currency::Usdc) => CurrencyPair::LtcUsdc,
1788            (Currency::Ltc, Currency::Usdt) => CurrencyPair::LtcUsdt,
1789            (Currency::Lun, Currency::Btc) => CurrencyPair::LunBtc,
1790            (Currency::Lun, Currency::Eth) => CurrencyPair::LunEth,
1791            (Currency::Mana, Currency::Btc) => CurrencyPair::ManaBtc,
1792            (Currency::Mana, Currency::Eth) => CurrencyPair::ManaEth,
1793            (Currency::Matic, Currency::Bnb) => CurrencyPair::MaticBnb,
1794            (Currency::Matic, Currency::Btc) => CurrencyPair::MaticBtc,
1795            (Currency::Matic, Currency::Usdt) => CurrencyPair::MaticUsdt,
1796            (Currency::Mco, Currency::Bnb) => CurrencyPair::McoBnb,
1797            (Currency::Mco, Currency::Btc) => CurrencyPair::McoBtc,
1798            (Currency::Mco, Currency::Eth) => CurrencyPair::McoEth,
1799            (Currency::Mco, Currency::Usdt) => CurrencyPair::McoUsdt,
1800            (Currency::Mda, Currency::Btc) => CurrencyPair::MdaBtc,
1801            (Currency::Mda, Currency::Eth) => CurrencyPair::MdaEth,
1802            (Currency::Mft, Currency::Bnb) => CurrencyPair::MftBnb,
1803            (Currency::Mft, Currency::Btc) => CurrencyPair::MftBtc,
1804            (Currency::Mft, Currency::Eth) => CurrencyPair::MftEth,
1805            (Currency::Mft, Currency::Usdt) => CurrencyPair::MftUsdt,
1806            (Currency::Mith, Currency::Bnb) => CurrencyPair::MithBnb,
1807            (Currency::Mith, Currency::Btc) => CurrencyPair::MithBtc,
1808            (Currency::Mith, Currency::Usdt) => CurrencyPair::MithUsdt,
1809            (Currency::Mod, Currency::Btc) => CurrencyPair::ModBtc,
1810            (Currency::Mod, Currency::Eth) => CurrencyPair::ModEth,
1811            (Currency::Mth, Currency::Btc) => CurrencyPair::MthBtc,
1812            (Currency::Mth, Currency::Eth) => CurrencyPair::MthEth,
1813            (Currency::Mtl, Currency::Btc) => CurrencyPair::MtlBtc,
1814            (Currency::Mtl, Currency::Eth) => CurrencyPair::MtlEth,
1815            (Currency::Mtl, Currency::Usdt) => CurrencyPair::MtlUsdt,
1816            (Currency::Nano, Currency::Bnb) => CurrencyPair::NanoBnb,
1817            (Currency::Nano, Currency::Btc) => CurrencyPair::NanoBtc,
1818            (Currency::Nano, Currency::Eth) => CurrencyPair::NanoEth,
1819            (Currency::Nano, Currency::Usdt) => CurrencyPair::NanoUsdt,
1820            (Currency::Nas, Currency::Bnb) => CurrencyPair::NasBnb,
1821            (Currency::Nas, Currency::Btc) => CurrencyPair::NasBtc,
1822            (Currency::Nas, Currency::Eth) => CurrencyPair::NasEth,
1823            (Currency::Nav, Currency::Bnb) => CurrencyPair::NavBnb,
1824            (Currency::Nav, Currency::Btc) => CurrencyPair::NavBtc,
1825            (Currency::Nav, Currency::Eth) => CurrencyPair::NavEth,
1826            (Currency::Ncash, Currency::Bnb) => CurrencyPair::NcashBnb,
1827            (Currency::Ncash, Currency::Btc) => CurrencyPair::NcashBtc,
1828            (Currency::Ncash, Currency::Eth) => CurrencyPair::NcashEth,
1829            (Currency::Nebl, Currency::Bnb) => CurrencyPair::NeblBnb,
1830            (Currency::Nebl, Currency::Btc) => CurrencyPair::NeblBtc,
1831            (Currency::Nebl, Currency::Eth) => CurrencyPair::NeblEth,
1832            (Currency::Neo, Currency::Bnb) => CurrencyPair::NeoBnb,
1833            (Currency::Neo, Currency::Btc) => CurrencyPair::NeoBtc,
1834            (Currency::Neo, Currency::Eth) => CurrencyPair::NeoEth,
1835            (Currency::Neo, Currency::Pax) => CurrencyPair::NeoPax,
1836            (Currency::Neo, Currency::Tusd) => CurrencyPair::NeoTusd,
1837            (Currency::Neo, Currency::Usdc) => CurrencyPair::NeoUsdc,
1838            (Currency::Neo, Currency::Usdt) => CurrencyPair::NeoUsdt,
1839            (Currency::Nkn, Currency::Bnb) => CurrencyPair::NknBnb,
1840            (Currency::Nkn, Currency::Btc) => CurrencyPair::NknBtc,
1841            (Currency::Nkn, Currency::Usdt) => CurrencyPair::NknUsdt,
1842            (Currency::Npxs, Currency::Btc) => CurrencyPair::NpxsBtc,
1843            (Currency::Npxs, Currency::Eth) => CurrencyPair::NpxsEth,
1844            (Currency::Npxs, Currency::Usdc) => CurrencyPair::NpxsUsdc,
1845            (Currency::Npxs, Currency::Usdt) => CurrencyPair::NpxsUsdt,
1846            (Currency::Nuls, Currency::Bnb) => CurrencyPair::NulsBnb,
1847            (Currency::Nuls, Currency::Btc) => CurrencyPair::NulsBtc,
1848            (Currency::Nuls, Currency::Eth) => CurrencyPair::NulsEth,
1849            (Currency::Nuls, Currency::Usdt) => CurrencyPair::NulsUsdt,
1850            (Currency::Nxs, Currency::Bnb) => CurrencyPair::NxsBnb,
1851            (Currency::Nxs, Currency::Btc) => CurrencyPair::NxsBtc,
1852            (Currency::Nxs, Currency::Eth) => CurrencyPair::NxsEth,
1853            (Currency::Oax, Currency::Btc) => CurrencyPair::OaxBtc,
1854            (Currency::Oax, Currency::Eth) => CurrencyPair::OaxEth,
1855            (Currency::Omg, Currency::Bnb) => CurrencyPair::OmgBnb,
1856            (Currency::Omg, Currency::Btc) => CurrencyPair::OmgBtc,
1857            (Currency::Omg, Currency::Eth) => CurrencyPair::OmgEth,
1858            (Currency::Omg, Currency::Usdt) => CurrencyPair::OmgUsdt,
1859            (Currency::One, Currency::Bnb) => CurrencyPair::OneBnb,
1860            (Currency::One, Currency::Btc) => CurrencyPair::OneBtc,
1861            (Currency::One, Currency::Pax) => CurrencyPair::OnePax,
1862            (Currency::One, Currency::Tusd) => CurrencyPair::OneTusd,
1863            (Currency::One, Currency::Usdc) => CurrencyPair::OneUsdc,
1864            (Currency::One, Currency::Usdt) => CurrencyPair::OneUsdt,
1865            (Currency::Ong, Currency::Bnb) => CurrencyPair::OngBnb,
1866            (Currency::Ong, Currency::Btc) => CurrencyPair::OngBtc,
1867            (Currency::Ong, Currency::Usdt) => CurrencyPair::OngUsdt,
1868            (Currency::Ont, Currency::Bnb) => CurrencyPair::OntBnb,
1869            (Currency::Ont, Currency::Btc) => CurrencyPair::OntBtc,
1870            (Currency::Ont, Currency::Eth) => CurrencyPair::OntEth,
1871            (Currency::Ont, Currency::Pax) => CurrencyPair::OntPax,
1872            (Currency::Ont, Currency::Usdc) => CurrencyPair::OntUsdc,
1873            (Currency::Ont, Currency::Usdt) => CurrencyPair::OntUsdt,
1874            (Currency::Ost, Currency::Bnb) => CurrencyPair::OstBnb,
1875            (Currency::Ost, Currency::Btc) => CurrencyPair::OstBtc,
1876            (Currency::Ost, Currency::Eth) => CurrencyPair::OstEth,
1877            (Currency::Pax, Currency::Bnb) => CurrencyPair::PaxBnb,
1878            (Currency::Pax, Currency::Btc) => CurrencyPair::PaxBtc,
1879            (Currency::Pax, Currency::Eth) => CurrencyPair::PaxEth,
1880            (Currency::Pax, Currency::Tusd) => CurrencyPair::PaxTusd,
1881            (Currency::Pax, Currency::Usdt) => CurrencyPair::PaxUsdt,
1882            (Currency::Perl, Currency::Bnb) => CurrencyPair::PerlBnb,
1883            (Currency::Perl, Currency::Btc) => CurrencyPair::PerlBtc,
1884            (Currency::Perl, Currency::Usdc) => CurrencyPair::PerlUsdc,
1885            (Currency::Perl, Currency::Usdt) => CurrencyPair::PerlUsdt,
1886            (Currency::Phb, Currency::Bnb) => CurrencyPair::PhbBnb,
1887            (Currency::Phb, Currency::Btc) => CurrencyPair::PhbBtc,
1888            (Currency::Phb, Currency::Pax) => CurrencyPair::PhbPax,
1889            (Currency::Phb, Currency::Tusd) => CurrencyPair::PhbTusd,
1890            (Currency::Phb, Currency::Usdc) => CurrencyPair::PhbUsdc,
1891            (Currency::Phx, Currency::Bnb) => CurrencyPair::PhxBnb,
1892            (Currency::Phx, Currency::Btc) => CurrencyPair::PhxBtc,
1893            (Currency::Phx, Currency::Eth) => CurrencyPair::PhxEth,
1894            (Currency::Pivx, Currency::Bnb) => CurrencyPair::PivxBnb,
1895            (Currency::Pivx, Currency::Btc) => CurrencyPair::PivxBtc,
1896            (Currency::Pivx, Currency::Eth) => CurrencyPair::PivxEth,
1897            (Currency::Poa, Currency::Bnb) => CurrencyPair::PoaBnb,
1898            (Currency::Poa, Currency::Btc) => CurrencyPair::PoaBtc,
1899            (Currency::Poa, Currency::Eth) => CurrencyPair::PoaEth,
1900            (Currency::Poe, Currency::Btc) => CurrencyPair::PoeBtc,
1901            (Currency::Poe, Currency::Eth) => CurrencyPair::PoeEth,
1902            (Currency::Poly, Currency::Bnb) => CurrencyPair::PolyBnb,
1903            (Currency::Poly, Currency::Btc) => CurrencyPair::PolyBtc,
1904            (Currency::Powr, Currency::Bnb) => CurrencyPair::PowrBnb,
1905            (Currency::Powr, Currency::Btc) => CurrencyPair::PowrBtc,
1906            (Currency::Powr, Currency::Eth) => CurrencyPair::PowrEth,
1907            (Currency::Ppt, Currency::Btc) => CurrencyPair::PptBtc,
1908            (Currency::Ppt, Currency::Eth) => CurrencyPair::PptEth,
1909            (Currency::Qkc, Currency::Btc) => CurrencyPair::QkcBtc,
1910            (Currency::Qkc, Currency::Eth) => CurrencyPair::QkcEth,
1911            (Currency::Qlc, Currency::Bnb) => CurrencyPair::QlcBnb,
1912            (Currency::Qlc, Currency::Btc) => CurrencyPair::QlcBtc,
1913            (Currency::Qlc, Currency::Eth) => CurrencyPair::QlcEth,
1914            (Currency::Qsp, Currency::Bnb) => CurrencyPair::QspBnb,
1915            (Currency::Qsp, Currency::Btc) => CurrencyPair::QspBtc,
1916            (Currency::Qsp, Currency::Eth) => CurrencyPair::QspEth,
1917            (Currency::Qtum, Currency::Bnb) => CurrencyPair::QtumBnb,
1918            (Currency::Qtum, Currency::Btc) => CurrencyPair::QtumBtc,
1919            (Currency::Qtum, Currency::Busd) => CurrencyPair::QtumBusd,
1920            (Currency::Qtum, Currency::Eth) => CurrencyPair::QtumEth,
1921            (Currency::Qtum, Currency::Usdt) => CurrencyPair::QtumUsdt,
1922            (Currency::Rcn, Currency::Bnb) => CurrencyPair::RcnBnb,
1923            (Currency::Rcn, Currency::Btc) => CurrencyPair::RcnBtc,
1924            (Currency::Rcn, Currency::Eth) => CurrencyPair::RcnEth,
1925            (Currency::Rdn, Currency::Bnb) => CurrencyPair::RdnBnb,
1926            (Currency::Rdn, Currency::Btc) => CurrencyPair::RdnBtc,
1927            (Currency::Rdn, Currency::Eth) => CurrencyPair::RdnEth,
1928            (Currency::Ren, Currency::Bnb) => CurrencyPair::RenBnb,
1929            (Currency::Ren, Currency::Btc) => CurrencyPair::RenBtc,
1930            (Currency::Ren, Currency::Usdt) => CurrencyPair::RenUsdt,
1931            (Currency::Rep, Currency::Bnb) => CurrencyPair::RepBnb,
1932            (Currency::Rep, Currency::Btc) => CurrencyPair::RepBtc,
1933            (Currency::Rep, Currency::Eth) => CurrencyPair::RepEth,
1934            (Currency::Req, Currency::Btc) => CurrencyPair::ReqBtc,
1935            (Currency::Req, Currency::Eth) => CurrencyPair::ReqEth,
1936            (Currency::Rlc, Currency::Bnb) => CurrencyPair::RlcBnb,
1937            (Currency::Rlc, Currency::Btc) => CurrencyPair::RlcBtc,
1938            (Currency::Rlc, Currency::Eth) => CurrencyPair::RlcEth,
1939            (Currency::Rlc, Currency::Usdt) => CurrencyPair::RlcUsdt,
1940            (Currency::Rpx, Currency::Bnb) => CurrencyPair::RpxBnb,
1941            (Currency::Rpx, Currency::Btc) => CurrencyPair::RpxBtc,
1942            (Currency::Rpx, Currency::Eth) => CurrencyPair::RpxEth,
1943            (Currency::Rvn, Currency::Bnb) => CurrencyPair::RvnBnb,
1944            (Currency::Rvn, Currency::Btc) => CurrencyPair::RvnBtc,
1945            (Currency::Rvn, Currency::Usdt) => CurrencyPair::RvnUsdt,
1946            (Currency::Salt, Currency::Btc) => CurrencyPair::SaltBtc,
1947            (Currency::Salt, Currency::Eth) => CurrencyPair::SaltEth,
1948            (Currency::Sc, Currency::Bnb) => CurrencyPair::ScBnb,
1949            (Currency::Sc, Currency::Btc) => CurrencyPair::ScBtc,
1950            (Currency::Sc, Currency::Eth) => CurrencyPair::ScEth,
1951            (Currency::Sky, Currency::Bnb) => CurrencyPair::SkyBnb,
1952            (Currency::Sky, Currency::Btc) => CurrencyPair::SkyBtc,
1953            (Currency::Sky, Currency::Eth) => CurrencyPair::SkyEth,
1954            (Currency::Sngls, Currency::Btc) => CurrencyPair::SnglsBtc,
1955            (Currency::Sngls, Currency::Eth) => CurrencyPair::SnglsEth,
1956            (Currency::Snm, Currency::Btc) => CurrencyPair::SnmBtc,
1957            (Currency::Snm, Currency::Eth) => CurrencyPair::SnmEth,
1958            (Currency::Snt, Currency::Btc) => CurrencyPair::SntBtc,
1959            (Currency::Snt, Currency::Eth) => CurrencyPair::SntEth,
1960            (Currency::Steem, Currency::Bnb) => CurrencyPair::SteemBnb,
1961            (Currency::Steem, Currency::Btc) => CurrencyPair::SteemBtc,
1962            (Currency::Steem, Currency::Eth) => CurrencyPair::SteemEth,
1963            (Currency::Storj, Currency::Btc) => CurrencyPair::StorjBtc,
1964            (Currency::Storj, Currency::Eth) => CurrencyPair::StorjEth,
1965            (Currency::Storm, Currency::Bnb) => CurrencyPair::StormBnb,
1966            (Currency::Storm, Currency::Btc) => CurrencyPair::StormBtc,
1967            (Currency::Storm, Currency::Eth) => CurrencyPair::StormEth,
1968            (Currency::Storm, Currency::Usdt) => CurrencyPair::StormUsdt,
1969            (Currency::Strat, Currency::Btc) => CurrencyPair::StratBtc,
1970            (Currency::Strat, Currency::Eth) => CurrencyPair::StratEth,
1971            (Currency::Stx, Currency::Bnb) => CurrencyPair::StxBnb,
1972            (Currency::Stx, Currency::Btc) => CurrencyPair::StxBtc,
1973            (Currency::Stx, Currency::Usdt) => CurrencyPair::StxUsdt,
1974            (Currency::Sub, Currency::Btc) => CurrencyPair::SubBtc,
1975            (Currency::Sub, Currency::Eth) => CurrencyPair::SubEth,
1976            (Currency::Sys, Currency::Bnb) => CurrencyPair::SysBnb,
1977            (Currency::Sys, Currency::Btc) => CurrencyPair::SysBtc,
1978            (Currency::Sys, Currency::Eth) => CurrencyPair::SysEth,
1979            (Currency::Tfuel, Currency::Bnb) => CurrencyPair::TfuelBnb,
1980            (Currency::Tfuel, Currency::Btc) => CurrencyPair::TfuelBtc,
1981            (Currency::Tfuel, Currency::Pax) => CurrencyPair::TfuelPax,
1982            (Currency::Tfuel, Currency::Tusd) => CurrencyPair::TfuelTusd,
1983            (Currency::Tfuel, Currency::Usdc) => CurrencyPair::TfuelUsdc,
1984            (Currency::Tfuel, Currency::Usdt) => CurrencyPair::TfuelUsdt,
1985            (Currency::Theta, Currency::Bnb) => CurrencyPair::ThetaBnb,
1986            (Currency::Theta, Currency::Btc) => CurrencyPair::ThetaBtc,
1987            (Currency::Theta, Currency::Eth) => CurrencyPair::ThetaEth,
1988            (Currency::Theta, Currency::Usdt) => CurrencyPair::ThetaUsdt,
1989            (Currency::Tnb, Currency::Btc) => CurrencyPair::TnbBtc,
1990            (Currency::Tnb, Currency::Eth) => CurrencyPair::TnbEth,
1991            (Currency::Tnt, Currency::Btc) => CurrencyPair::TntBtc,
1992            (Currency::Tnt, Currency::Eth) => CurrencyPair::TntEth,
1993            (Currency::Tomo, Currency::Bnb) => CurrencyPair::TomoBnb,
1994            (Currency::Tomo, Currency::Btc) => CurrencyPair::TomoBtc,
1995            (Currency::Tomo, Currency::Usdc) => CurrencyPair::TomoUsdc,
1996            (Currency::Tomo, Currency::Usdt) => CurrencyPair::TomoUsdt,
1997            (Currency::Trig, Currency::Bnb) => CurrencyPair::TrigBnb,
1998            (Currency::Trig, Currency::Btc) => CurrencyPair::TrigBtc,
1999            (Currency::Trig, Currency::Eth) => CurrencyPair::TrigEth,
2000            (Currency::Troy, Currency::Bnb) => CurrencyPair::TroyBnb,
2001            (Currency::Troy, Currency::Btc) => CurrencyPair::TroyBtc,
2002            (Currency::Troy, Currency::Usdt) => CurrencyPair::TroyUsdt,
2003            (Currency::Trx, Currency::Bnb) => CurrencyPair::TrxBnb,
2004            (Currency::Trx, Currency::Btc) => CurrencyPair::TrxBtc,
2005            (Currency::Trx, Currency::Busd) => CurrencyPair::TrxBusd,
2006            (Currency::Trx, Currency::Eth) => CurrencyPair::TrxEth,
2007            (Currency::Trx, Currency::Pax) => CurrencyPair::TrxPax,
2008            (Currency::Trx, Currency::Tusd) => CurrencyPair::TrxTusd,
2009            (Currency::Trx, Currency::Usdc) => CurrencyPair::TrxUsdc,
2010            (Currency::Trx, Currency::Usdt) => CurrencyPair::TrxUsdt,
2011            (Currency::Trx, Currency::Xrp) => CurrencyPair::TrxXrp,
2012            (Currency::Tusdb, Currency::Tusd) => CurrencyPair::TusdbTusd,
2013            (Currency::Tusd, Currency::Bnb) => CurrencyPair::TusdBnb,
2014            (Currency::Tusd, Currency::Btc) => CurrencyPair::TusdBtc,
2015            (Currency::Tusd, Currency::Eth) => CurrencyPair::TusdEth,
2016            (Currency::Tusd, Currency::Usdt) => CurrencyPair::TusdUsdt,
2017            (Currency::Usdc, Currency::Bnb) => CurrencyPair::UsdcBnb,
2018            (Currency::Usdc, Currency::Dash) => CurrencyPair::UsdcDash,
2019            (Currency::Usdc, Currency::Grin) => CurrencyPair::UsdcGrin,
2020            (Currency::Usdc, Currency::Pax) => CurrencyPair::UsdcPax,
2021            (Currency::Usdc, Currency::Str) => CurrencyPair::UsdcStr,
2022            (Currency::Usdc, Currency::Tusd) => CurrencyPair::UsdcTusd,
2023            (Currency::Usdc, Currency::Usdt) => CurrencyPair::UsdcUsdt,
2024            (Currency::Usdc, Currency::Xmr) => CurrencyPair::UsdcXmr,
2025            (Currency::Usdsb, Currency::Usds) => CurrencyPair::UsdsbUsds,
2026            (Currency::Usdsb, Currency::Usdt) => CurrencyPair::UsdsbUsdt,
2027            (Currency::Usds, Currency::Pax) => CurrencyPair::UsdsPax,
2028            (Currency::Usds, Currency::Tusd) => CurrencyPair::UsdsTusd,
2029            (Currency::Usds, Currency::Usdc) => CurrencyPair::UsdsUsdc,
2030            (Currency::Usds, Currency::Usdt) => CurrencyPair::UsdsUsdt,
2031            (Currency::Usdt, Currency::Dgb) => CurrencyPair::UsdtDgb,
2032            (Currency::Usdt, Currency::Gnt) => CurrencyPair::UsdtGnt,
2033            (Currency::Usdt, Currency::Grin) => CurrencyPair::UsdtGrin,
2034            (Currency::Usdt, Currency::Lsk) => CurrencyPair::UsdtLsk,
2035            (Currency::Usdt, Currency::Mana) => CurrencyPair::UsdtMana,
2036            (Currency::Usdt, Currency::Nxt) => CurrencyPair::UsdtNxt,
2037            (Currency::Usdt, Currency::Rep) => CurrencyPair::UsdtRep,
2038            (Currency::Usdt, Currency::Rub) => CurrencyPair::UsdtRub,
2039            (Currency::Usdt, Currency::Sc) => CurrencyPair::UsdtSc,
2040            (Currency::Usdt, Currency::Str) => CurrencyPair::UsdtStr,
2041            (Currency::Usdt, Currency::Try) => CurrencyPair::UsdtTry,
2042            (Currency::Ven, Currency::Bnb) => CurrencyPair::VenBnb,
2043            (Currency::Ven, Currency::Btc) => CurrencyPair::VenBtc,
2044            (Currency::Ven, Currency::Eth) => CurrencyPair::VenEth,
2045            (Currency::Ven, Currency::Usdt) => CurrencyPair::VenUsdt,
2046            (Currency::Vet, Currency::Bnb) => CurrencyPair::VetBnb,
2047            (Currency::Vet, Currency::Btc) => CurrencyPair::VetBtc,
2048            (Currency::Vet, Currency::Busd) => CurrencyPair::VetBusd,
2049            (Currency::Vet, Currency::Eth) => CurrencyPair::VetEth,
2050            (Currency::Vet, Currency::Usdt) => CurrencyPair::VetUsdt,
2051            (Currency::Via, Currency::Bnb) => CurrencyPair::ViaBnb,
2052            (Currency::Via, Currency::Btc) => CurrencyPair::ViaBtc,
2053            (Currency::Via, Currency::Eth) => CurrencyPair::ViaEth,
2054            (Currency::Vibe, Currency::Btc) => CurrencyPair::VibeBtc,
2055            (Currency::Vibe, Currency::Eth) => CurrencyPair::VibeEth,
2056            (Currency::Vib, Currency::Btc) => CurrencyPair::VibBtc,
2057            (Currency::Vib, Currency::Eth) => CurrencyPair::VibEth,
2058            (Currency::Vite, Currency::Bnb) => CurrencyPair::ViteBnb,
2059            (Currency::Vite, Currency::Btc) => CurrencyPair::ViteBtc,
2060            (Currency::Vite, Currency::Usdt) => CurrencyPair::ViteUsdt,
2061            (Currency::Wabi, Currency::Bnb) => CurrencyPair::WabiBnb,
2062            (Currency::Wabi, Currency::Btc) => CurrencyPair::WabiBtc,
2063            (Currency::Wabi, Currency::Eth) => CurrencyPair::WabiEth,
2064            (Currency::Wan, Currency::Bnb) => CurrencyPair::WanBnb,
2065            (Currency::Wan, Currency::Btc) => CurrencyPair::WanBtc,
2066            (Currency::Wan, Currency::Eth) => CurrencyPair::WanEth,
2067            (Currency::Wan, Currency::Usdt) => CurrencyPair::WanUsdt,
2068            (Currency::Waves, Currency::Bnb) => CurrencyPair::WavesBnb,
2069            (Currency::Waves, Currency::Btc) => CurrencyPair::WavesBtc,
2070            (Currency::Waves, Currency::Eth) => CurrencyPair::WavesEth,
2071            (Currency::Waves, Currency::Pax) => CurrencyPair::WavesPax,
2072            (Currency::Waves, Currency::Tusd) => CurrencyPair::WavesTusd,
2073            (Currency::Waves, Currency::Usdc) => CurrencyPair::WavesUsdc,
2074            (Currency::Waves, Currency::Usdt) => CurrencyPair::WavesUsdt,
2075            (Currency::Wings, Currency::Btc) => CurrencyPair::WingsBtc,
2076            (Currency::Wings, Currency::Eth) => CurrencyPair::WingsEth,
2077            (Currency::Win, Currency::Bnb) => CurrencyPair::WinBnb,
2078            (Currency::Win, Currency::Btc) => CurrencyPair::WinBtc,
2079            (Currency::Win, Currency::Trx) => CurrencyPair::WinTrx,
2080            (Currency::Win, Currency::Usdc) => CurrencyPair::WinUsdc,
2081            (Currency::Win, Currency::Usdt) => CurrencyPair::WinUsdt,
2082            (Currency::Wpr, Currency::Btc) => CurrencyPair::WprBtc,
2083            (Currency::Wpr, Currency::Eth) => CurrencyPair::WprEth,
2084            (Currency::Wtc, Currency::Bnb) => CurrencyPair::WtcBnb,
2085            (Currency::Wtc, Currency::Btc) => CurrencyPair::WtcBtc,
2086            (Currency::Wtc, Currency::Eth) => CurrencyPair::WtcEth,
2087            (Currency::Xem, Currency::Bnb) => CurrencyPair::XemBnb,
2088            (Currency::Xem, Currency::Btc) => CurrencyPair::XemBtc,
2089            (Currency::Xem, Currency::Eth) => CurrencyPair::XemEth,
2090            (Currency::Xlm, Currency::Bnb) => CurrencyPair::XlmBnb,
2091            (Currency::Xlm, Currency::Btc) => CurrencyPair::XlmBtc,
2092            (Currency::Xlm, Currency::Busd) => CurrencyPair::XlmBusd,
2093            (Currency::Xlm, Currency::Eth) => CurrencyPair::XlmEth,
2094            (Currency::Xlm, Currency::Pax) => CurrencyPair::XlmPax,
2095            (Currency::Xlm, Currency::Tusd) => CurrencyPair::XlmTusd,
2096            (Currency::Xlm, Currency::Usdc) => CurrencyPair::XlmUsdc,
2097            (Currency::Xlm, Currency::Usdt) => CurrencyPair::XlmUsdt,
2098            (Currency::Xmr, Currency::Bnb) => CurrencyPair::XmrBnb,
2099            (Currency::Xmr, Currency::Btc) => CurrencyPair::XmrBtc,
2100            (Currency::Xmr, Currency::Eth) => CurrencyPair::XmrEth,
2101            (Currency::Xmr, Currency::Usdt) => CurrencyPair::XmrUsdt,
2102            (Currency::Xrp, Currency::Bnb) => CurrencyPair::XrpBnb,
2103            (Currency::Xrp, Currency::Btc) => CurrencyPair::XrpBtc,
2104            (Currency::Xrp, Currency::Busd) => CurrencyPair::XrpBusd,
2105            (Currency::Xrp, Currency::Eth) => CurrencyPair::XrpEth,
2106            (Currency::Xrp, Currency::Pax) => CurrencyPair::XrpPax,
2107            (Currency::Xrp, Currency::Rub) => CurrencyPair::XrpRub,
2108            (Currency::Xrp, Currency::Try) => CurrencyPair::XrpTry,
2109            (Currency::Xrp, Currency::Tusd) => CurrencyPair::XrpTusd,
2110            (Currency::Xrp, Currency::Usdc) => CurrencyPair::XrpUsdc,
2111            (Currency::Xrp, Currency::Usdt) => CurrencyPair::XrpUsdt,
2112            (Currency::Xtz, Currency::Bnb) => CurrencyPair::XtzBnb,
2113            (Currency::Xtz, Currency::Btc) => CurrencyPair::XtzBtc,
2114            (Currency::Xtz, Currency::Usdt) => CurrencyPair::XtzUsdt,
2115            (Currency::Xvg, Currency::Btc) => CurrencyPair::XvgBtc,
2116            (Currency::Xvg, Currency::Eth) => CurrencyPair::XvgEth,
2117            (Currency::Xzc, Currency::Bnb) => CurrencyPair::XzcBnb,
2118            (Currency::Xzc, Currency::Btc) => CurrencyPair::XzcBtc,
2119            (Currency::Xzc, Currency::Eth) => CurrencyPair::XzcEth,
2120            (Currency::Xzc, Currency::Xrp) => CurrencyPair::XzcXrp,
2121            (Currency::Yoyo, Currency::Bnb) => CurrencyPair::YoyoBnb,
2122            (Currency::Yoyo, Currency::Btc) => CurrencyPair::YoyoBtc,
2123            (Currency::Yoyo, Currency::Eth) => CurrencyPair::YoyoEth,
2124            (Currency::Zec, Currency::Bnb) => CurrencyPair::ZecBnb,
2125            (Currency::Zec, Currency::Btc) => CurrencyPair::ZecBtc,
2126            (Currency::Zec, Currency::Eth) => CurrencyPair::ZecEth,
2127            (Currency::Zec, Currency::Pax) => CurrencyPair::ZecPax,
2128            (Currency::Zec, Currency::Tusd) => CurrencyPair::ZecTusd,
2129            (Currency::Zec, Currency::Usdc) => CurrencyPair::ZecUsdc,
2130            (Currency::Zec, Currency::Usdt) => CurrencyPair::ZecUsdt,
2131            (Currency::Zen, Currency::Bnb) => CurrencyPair::ZenBnb,
2132            (Currency::Zen, Currency::Btc) => CurrencyPair::ZenBtc,
2133            (Currency::Zen, Currency::Eth) => CurrencyPair::ZenEth,
2134            (Currency::Zil, Currency::Bnb) => CurrencyPair::ZilBnb,
2135            (Currency::Zil, Currency::Btc) => CurrencyPair::ZilBtc,
2136            (Currency::Zil, Currency::Eth) => CurrencyPair::ZilEth,
2137            (Currency::Zil, Currency::Usdt) => CurrencyPair::ZilUsdt,
2138            (Currency::Zrx, Currency::Bnb) => CurrencyPair::ZrxBnb,
2139            (Currency::Zrx, Currency::Btc) => CurrencyPair::ZrxBtc,
2140            (Currency::Zrx, Currency::Eth) => CurrencyPair::ZrxEth,
2141            (Currency::Zrx, Currency::Usdt) => CurrencyPair::ZrxUsdt,
2142            (quote, base) => CurrencyPair::Custom(format!("{}_{}", quote, base), quote, base),
2143        }
2144    }
2145
2146    pub fn split_reversed(pair: &str) -> Result<CurrencyPair, Error> {
2147        match pair {
2148            "BNB_ADA" => Ok(CurrencyPair::AdaBnb),
2149            "BTC_ADA" => Ok(CurrencyPair::AdaBtc),
2150            "BUSD_ADA" => Ok(CurrencyPair::AdaBusd),
2151            "ETH_ADA" => Ok(CurrencyPair::AdaEth),
2152            "PAX_ADA" => Ok(CurrencyPair::AdaPax),
2153            "TUSD_ADA" => Ok(CurrencyPair::AdaTusd),
2154            "USDC_ADA" => Ok(CurrencyPair::AdaUsdc),
2155            "USDT_ADA" => Ok(CurrencyPair::AdaUsdt),
2156            "BNB_ADX" => Ok(CurrencyPair::AdxBnb),
2157            "BTC_ADX" => Ok(CurrencyPair::AdxBtc),
2158            "ETH_ADX" => Ok(CurrencyPair::AdxEth),
2159            "BNB_AE" => Ok(CurrencyPair::AeBnb),
2160            "BTC_AE" => Ok(CurrencyPair::AeBtc),
2161            "ETH_AE" => Ok(CurrencyPair::AeEth),
2162            "BNB_AGI" => Ok(CurrencyPair::AgiBnb),
2163            "BTC_AGI" => Ok(CurrencyPair::AgiBtc),
2164            "ETH_AGI" => Ok(CurrencyPair::AgiEth),
2165            "BNB_AION" => Ok(CurrencyPair::AionBnb),
2166            "BTC_AION" => Ok(CurrencyPair::AionBtc),
2167            "ETH_AION" => Ok(CurrencyPair::AionEth),
2168            "BNB_ALGO" => Ok(CurrencyPair::AlgoBnb),
2169            "BTC_ALGO" => Ok(CurrencyPair::AlgoBtc),
2170            "PAX_ALGO" => Ok(CurrencyPair::AlgoPax),
2171            "TUSD_ALGO" => Ok(CurrencyPair::AlgoTusd),
2172            "USDC_ALGO" => Ok(CurrencyPair::AlgoUsdc),
2173            "USDT_ALGO" => Ok(CurrencyPair::AlgoUsdt),
2174            "BNB_AMB" => Ok(CurrencyPair::AmbBnb),
2175            "BTC_AMB" => Ok(CurrencyPair::AmbBtc),
2176            "ETH_AMB" => Ok(CurrencyPair::AmbEth),
2177            "BNB_ANKR" => Ok(CurrencyPair::AnkrBnb),
2178            "BTC_ANKR" => Ok(CurrencyPair::AnkrBtc),
2179            "PAX_ANKR" => Ok(CurrencyPair::AnkrPax),
2180            "TUSD_ANKR" => Ok(CurrencyPair::AnkrTusd),
2181            "USDC_ANKR" => Ok(CurrencyPair::AnkrUsdc),
2182            "USDT_ANKR" => Ok(CurrencyPair::AnkrUsdt),
2183            "BNB_APPC" => Ok(CurrencyPair::AppcBnb),
2184            "BTC_APPC" => Ok(CurrencyPair::AppcBtc),
2185            "ETH_APPC" => Ok(CurrencyPair::AppcEth),
2186            "BNB_ARDR" => Ok(CurrencyPair::ArdrBnb),
2187            "BTC_ARDR" => Ok(CurrencyPair::ArdrBtc),
2188            "ETH_ARDR" => Ok(CurrencyPair::ArdrEth),
2189            "BTC_ARK" => Ok(CurrencyPair::ArkBtc),
2190            "ETH_ARK" => Ok(CurrencyPair::ArkEth),
2191            "BTC_ARN" => Ok(CurrencyPair::ArnBtc),
2192            "ETH_ARN" => Ok(CurrencyPair::ArnEth),
2193            "BNB_ARPA" => Ok(CurrencyPair::ArpaBnb),
2194            "BTC_ARPA" => Ok(CurrencyPair::ArpaBtc),
2195            "USDT_ARPA" => Ok(CurrencyPair::ArpaUsdt),
2196            "BTC_AST" => Ok(CurrencyPair::AstBtc),
2197            "ETH_AST" => Ok(CurrencyPair::AstEth),
2198            "BNB_ATOM" => Ok(CurrencyPair::AtomBnb),
2199            "BTC_ATOM" => Ok(CurrencyPair::AtomBtc),
2200            "PAX_ATOM" => Ok(CurrencyPair::AtomPax),
2201            "TUSD_ATOM" => Ok(CurrencyPair::AtomTusd),
2202            "USDC_ATOM" => Ok(CurrencyPair::AtomUsdc),
2203            "USDT_ATOM" => Ok(CurrencyPair::AtomUsdt),
2204            "BNB_BAND" => Ok(CurrencyPair::BandBnb),
2205            "BTC_BAND" => Ok(CurrencyPair::BandBtc),
2206            "USDT_BAND" => Ok(CurrencyPair::BandUsdt),
2207            "BNB_BAT" => Ok(CurrencyPair::BatBnb),
2208            "BTC_BAT" => Ok(CurrencyPair::BatBtc),
2209            "ETH_BAT" => Ok(CurrencyPair::BatEth),
2210            "PAX_BAT" => Ok(CurrencyPair::BatPax),
2211            "TUSD_BAT" => Ok(CurrencyPair::BatTusd),
2212            "USDC_BAT" => Ok(CurrencyPair::BatUsdc),
2213            "USDT_BAT" => Ok(CurrencyPair::BatUsdt),
2214            "BNB_BCC" => Ok(CurrencyPair::BccBnb),
2215            "BTC_BCC" => Ok(CurrencyPair::BccBtc),
2216            "ETH_BCC" => Ok(CurrencyPair::BccEth),
2217            "USDT_BCC" => Ok(CurrencyPair::BccUsdt),
2218            "BTC_BCD" => Ok(CurrencyPair::BcdBtc),
2219            "ETH_BCD" => Ok(CurrencyPair::BcdEth),
2220            "BTC_BCHABC" => Ok(CurrencyPair::BchabcBtc),
2221            "BUSD_BCHABC" => Ok(CurrencyPair::BchabcBusd),
2222            "PAX_BCHABC" => Ok(CurrencyPair::BchabcPax),
2223            "TUSD_BCHABC" => Ok(CurrencyPair::BchabcTusd),
2224            "USDC_BCHABC" => Ok(CurrencyPair::BchabcUsdc),
2225            "USDT_BCHABC" => Ok(CurrencyPair::BchabcUsdt),
2226            "BTC_BCHSV" => Ok(CurrencyPair::BchsvBtc),
2227            "PAX_BCHSV" => Ok(CurrencyPair::BchsvPax),
2228            "TUSD_BCHSV" => Ok(CurrencyPair::BchsvTusd),
2229            "USDC_BCHSV" => Ok(CurrencyPair::BchsvUsdc),
2230            "USDT_BCHSV" => Ok(CurrencyPair::BchsvUsdt),
2231            "BNB_BCH" => Ok(CurrencyPair::BchBnb),
2232            "BTC_BCH" => Ok(CurrencyPair::BchBtc),
2233            "BUSD_BCH" => Ok(CurrencyPair::BchBusd),
2234            "PAX_BCH" => Ok(CurrencyPair::BchPax),
2235            "TUSD_BCH" => Ok(CurrencyPair::BchTusd),
2236            "USDC_BCH" => Ok(CurrencyPair::BchUsdc),
2237            "USDT_BCH" => Ok(CurrencyPair::BchUsdt),
2238            "BNB_BCN" => Ok(CurrencyPair::BcnBnb),
2239            "BTC_BCN" => Ok(CurrencyPair::BcnBtc),
2240            "ETH_BCN" => Ok(CurrencyPair::BcnEth),
2241            "BNB_BCPT" => Ok(CurrencyPair::BcptBnb),
2242            "BTC_BCPT" => Ok(CurrencyPair::BcptBtc),
2243            "ETH_BCPT" => Ok(CurrencyPair::BcptEth),
2244            "PAX_BCPT" => Ok(CurrencyPair::BcptPax),
2245            "TUSD_BCPT" => Ok(CurrencyPair::BcptTusd),
2246            "USDC_BCPT" => Ok(CurrencyPair::BcptUsdc),
2247            "BNB_BEAM" => Ok(CurrencyPair::BeamBnb),
2248            "BTC_BEAM" => Ok(CurrencyPair::BeamBtc),
2249            "USDT_BEAM" => Ok(CurrencyPair::BeamUsdt),
2250            "USDC_BGBP" => Ok(CurrencyPair::BgbpUsdc),
2251            "BNB_BLZ" => Ok(CurrencyPair::BlzBnb),
2252            "BTC_BLZ" => Ok(CurrencyPair::BlzBtc),
2253            "ETH_BLZ" => Ok(CurrencyPair::BlzEth),
2254            "BTC_BNB" => Ok(CurrencyPair::BnbBtc),
2255            "BUSD_BNB" => Ok(CurrencyPair::BnbBusd),
2256            "ETH_BNB" => Ok(CurrencyPair::BnbEth),
2257            "NGN_BNB" => Ok(CurrencyPair::BnbNgn),
2258            "PAX_BNB" => Ok(CurrencyPair::BnbPax),
2259            "RUB_BNB" => Ok(CurrencyPair::BnbRub),
2260            "TRY_BNB" => Ok(CurrencyPair::BnbTry),
2261            "TUSD_BNB" => Ok(CurrencyPair::BnbTusd),
2262            "USDC_BNB" => Ok(CurrencyPair::BnbUsdc),
2263            "USDS_BNB" => Ok(CurrencyPair::BnbUsds),
2264            "USDT_BNB" => Ok(CurrencyPair::BnbUsdt),
2265            "BTC_BNT" => Ok(CurrencyPair::BntBtc),
2266            "ETH_BNT" => Ok(CurrencyPair::BntEth),
2267            "BTC_BQX" => Ok(CurrencyPair::BqxBtc),
2268            "ETH_BQX" => Ok(CurrencyPair::BqxEth),
2269            "BNB_BRD" => Ok(CurrencyPair::BrdBnb),
2270            "BTC_BRD" => Ok(CurrencyPair::BrdBtc),
2271            "ETH_BRD" => Ok(CurrencyPair::BrdEth),
2272            "BTC_BTCB" => Ok(CurrencyPair::BtcbBtc),
2273            "BUSD_BTC" => Ok(CurrencyPair::BtcBusd),
2274            "DGB_BTC" => Ok(CurrencyPair::BtcDgb),
2275            "FCT_BTC" => Ok(CurrencyPair::BtcFct),
2276            "FOAM_BTC" => Ok(CurrencyPair::BtcFoam),
2277            "GRIN_BTC" => Ok(CurrencyPair::BtcGrin),
2278            "LPT_BTC" => Ok(CurrencyPair::BtcLpt),
2279            "MAID_BTC" => Ok(CurrencyPair::BtcMaid),
2280            "NGN_BTC" => Ok(CurrencyPair::BtcNgn),
2281            "NMR_BTC" => Ok(CurrencyPair::BtcNmr),
2282            "NXT_BTC" => Ok(CurrencyPair::BtcNxt),
2283            "OMNI_BTC" => Ok(CurrencyPair::BtcOmni),
2284            "PAX_BTC" => Ok(CurrencyPair::BtcPax),
2285            "RUB_BTC" => Ok(CurrencyPair::BtcRub),
2286            "STR_BTC" => Ok(CurrencyPair::BtcStr),
2287            "TRY_BTC" => Ok(CurrencyPair::BtcTry),
2288            "TUSD_BTC" => Ok(CurrencyPair::BtcTusd),
2289            "USDC_BTC" => Ok(CurrencyPair::BtcUsdc),
2290            "USDS_BTC" => Ok(CurrencyPair::BtcUsds),
2291            "USDT_BTC" => Ok(CurrencyPair::BtcUsdt),
2292            "VTC_BTC" => Ok(CurrencyPair::BtcVtc),
2293            "XPM_BTC" => Ok(CurrencyPair::BtcXpm),
2294            "BTC_BTG" => Ok(CurrencyPair::BtgBtc),
2295            "ETH_BTG" => Ok(CurrencyPair::BtgEth),
2296            "BNB_BTS" => Ok(CurrencyPair::BtsBnb),
2297            "BTC_BTS" => Ok(CurrencyPair::BtsBtc),
2298            "ETH_BTS" => Ok(CurrencyPair::BtsEth),
2299            "BNB_BTT" => Ok(CurrencyPair::BttBnb),
2300            "BTC_BTT" => Ok(CurrencyPair::BttBtc),
2301            "PAX_BTT" => Ok(CurrencyPair::BttPax),
2302            "TRX_BTT" => Ok(CurrencyPair::BttTrx),
2303            "TUSD_BTT" => Ok(CurrencyPair::BttTusd),
2304            "USDC_BTT" => Ok(CurrencyPair::BttUsdc),
2305            "USDT_BTT" => Ok(CurrencyPair::BttUsdt),
2306            "NGN_BUSD" => Ok(CurrencyPair::BusdNgn),
2307            "RUB_BUSD" => Ok(CurrencyPair::BusdRub),
2308            "TRY_BUSD" => Ok(CurrencyPair::BusdTry),
2309            "USDT_BUSD" => Ok(CurrencyPair::BusdUsdt),
2310            "BTC_CDT" => Ok(CurrencyPair::CdtBtc),
2311            "ETH_CDT" => Ok(CurrencyPair::CdtEth),
2312            "BNB_CELR" => Ok(CurrencyPair::CelrBnb),
2313            "BTC_CELR" => Ok(CurrencyPair::CelrBtc),
2314            "USDT_CELR" => Ok(CurrencyPair::CelrUsdt),
2315            "BTC_CHAT" => Ok(CurrencyPair::ChatBtc),
2316            "ETH_CHAT" => Ok(CurrencyPair::ChatEth),
2317            "BNB_CHZ" => Ok(CurrencyPair::ChzBnb),
2318            "BTC_CHZ" => Ok(CurrencyPair::ChzBtc),
2319            "USDT_CHZ" => Ok(CurrencyPair::ChzUsdt),
2320            "BTC_CLOAK" => Ok(CurrencyPair::CloakBtc),
2321            "ETH_CLOAK" => Ok(CurrencyPair::CloakEth),
2322            "BNB_CMT" => Ok(CurrencyPair::CmtBnb),
2323            "BTC_CMT" => Ok(CurrencyPair::CmtBtc),
2324            "ETH_CMT" => Ok(CurrencyPair::CmtEth),
2325            "BNB_CND" => Ok(CurrencyPair::CndBnb),
2326            "BTC_CND" => Ok(CurrencyPair::CndBtc),
2327            "ETH_CND" => Ok(CurrencyPair::CndEth),
2328            "BNB_COCOS" => Ok(CurrencyPair::CocosBnb),
2329            "BTC_COCOS" => Ok(CurrencyPair::CocosBtc),
2330            "USDT_COCOS" => Ok(CurrencyPair::CocosUsdt),
2331            "BNB_COS" => Ok(CurrencyPair::CosBnb),
2332            "BTC_COS" => Ok(CurrencyPair::CosBtc),
2333            "USDT_COS" => Ok(CurrencyPair::CosUsdt),
2334            "BNB_CTXC" => Ok(CurrencyPair::CtxcBnb),
2335            "BTC_CTXC" => Ok(CurrencyPair::CtxcBtc),
2336            "USDT_CTXC" => Ok(CurrencyPair::CtxcUsdt),
2337            "BNB_CVC" => Ok(CurrencyPair::CvcBnb),
2338            "BTC_CVC" => Ok(CurrencyPair::CvcBtc),
2339            "ETH_CVC" => Ok(CurrencyPair::CvcEth),
2340            "USDT_CVC" => Ok(CurrencyPair::CvcUsdt),
2341            "BNB_DASH" => Ok(CurrencyPair::DashBnb),
2342            "BTC_DASH" => Ok(CurrencyPair::DashBtc),
2343            "ETH_DASH" => Ok(CurrencyPair::DashEth),
2344            "USDT_DASH" => Ok(CurrencyPair::DashUsdt),
2345            "BTC_DATA" => Ok(CurrencyPair::DataBtc),
2346            "ETH_DATA" => Ok(CurrencyPair::DataEth),
2347            "BNB_DCR" => Ok(CurrencyPair::DcrBnb),
2348            "BTC_DCR" => Ok(CurrencyPair::DcrBtc),
2349            "BTC_DENT" => Ok(CurrencyPair::DentBtc),
2350            "ETH_DENT" => Ok(CurrencyPair::DentEth),
2351            "USDT_DENT" => Ok(CurrencyPair::DentUsdt),
2352            "BTC_DGD" => Ok(CurrencyPair::DgdBtc),
2353            "ETH_DGD" => Ok(CurrencyPair::DgdEth),
2354            "BNB_DLT" => Ok(CurrencyPair::DltBnb),
2355            "BTC_DLT" => Ok(CurrencyPair::DltBtc),
2356            "ETH_DLT" => Ok(CurrencyPair::DltEth),
2357            "BTC_DNT" => Ok(CurrencyPair::DntBtc),
2358            "ETH_DNT" => Ok(CurrencyPair::DntEth),
2359            "BTC_DOCK" => Ok(CurrencyPair::DockBtc),
2360            "ETH_DOCK" => Ok(CurrencyPair::DockEth),
2361            "USDT_DOCK" => Ok(CurrencyPair::DockUsdt),
2362            "BNB_DOGE" => Ok(CurrencyPair::DogeBnb),
2363            "BTC_DOGE" => Ok(CurrencyPair::DogeBtc),
2364            "PAX_DOGE" => Ok(CurrencyPair::DogePax),
2365            "USDC_DOGE" => Ok(CurrencyPair::DogeUsdc),
2366            "USDT_DOGE" => Ok(CurrencyPair::DogeUsdt),
2367            "BNB_DUSK" => Ok(CurrencyPair::DuskBnb),
2368            "BTC_DUSK" => Ok(CurrencyPair::DuskBtc),
2369            "PAX_DUSK" => Ok(CurrencyPair::DuskPax),
2370            "USDC_DUSK" => Ok(CurrencyPair::DuskUsdc),
2371            "USDT_DUSK" => Ok(CurrencyPair::DuskUsdt),
2372            "BTC_EDO" => Ok(CurrencyPair::EdoBtc),
2373            "ETH_EDO" => Ok(CurrencyPair::EdoEth),
2374            "BTC_ELF" => Ok(CurrencyPair::ElfBtc),
2375            "ETH_ELF" => Ok(CurrencyPair::ElfEth),
2376            "BTC_ENG" => Ok(CurrencyPair::EngBtc),
2377            "ETH_ENG" => Ok(CurrencyPair::EngEth),
2378            "BNB_ENJ" => Ok(CurrencyPair::EnjBnb),
2379            "BTC_ENJ" => Ok(CurrencyPair::EnjBtc),
2380            "ETH_ENJ" => Ok(CurrencyPair::EnjEth),
2381            "USDT_ENJ" => Ok(CurrencyPair::EnjUsdt),
2382            "BNB_EOS" => Ok(CurrencyPair::EosBnb),
2383            "BTC_EOS" => Ok(CurrencyPair::EosBtc),
2384            "BUSD_EOS" => Ok(CurrencyPair::EosBusd),
2385            "ETH_EOS" => Ok(CurrencyPair::EosEth),
2386            "PAX_EOS" => Ok(CurrencyPair::EosPax),
2387            "TUSD_EOS" => Ok(CurrencyPair::EosTusd),
2388            "USDC_EOS" => Ok(CurrencyPair::EosUsdc),
2389            "USDT_EOS" => Ok(CurrencyPair::EosUsdt),
2390            "BNB_ERD" => Ok(CurrencyPair::ErdBnb),
2391            "BTC_ERD" => Ok(CurrencyPair::ErdBtc),
2392            "PAX_ERD" => Ok(CurrencyPair::ErdPax),
2393            "USDC_ERD" => Ok(CurrencyPair::ErdUsdc),
2394            "USDT_ERD" => Ok(CurrencyPair::ErdUsdt),
2395            "BNB_ETC" => Ok(CurrencyPair::EtcBnb),
2396            "BTC_ETC" => Ok(CurrencyPair::EtcBtc),
2397            "BUSD_ETC" => Ok(CurrencyPair::EtcBusd),
2398            "ETH_ETC" => Ok(CurrencyPair::EtcEth),
2399            "PAX_ETC" => Ok(CurrencyPair::EtcPax),
2400            "TUSD_ETC" => Ok(CurrencyPair::EtcTusd),
2401            "USDC_ETC" => Ok(CurrencyPair::EtcUsdc),
2402            "USDT_ETC" => Ok(CurrencyPair::EtcUsdt),
2403            "BTC_ETH" => Ok(CurrencyPair::EthBtc),
2404            "BUSD_ETH" => Ok(CurrencyPair::EthBusd),
2405            "PAX_ETH" => Ok(CurrencyPair::EthPax),
2406            "RUB_ETH" => Ok(CurrencyPair::EthRub),
2407            "TRY_ETH" => Ok(CurrencyPair::EthTry),
2408            "TUSD_ETH" => Ok(CurrencyPair::EthTusd),
2409            "USDC_ETH" => Ok(CurrencyPair::EthUsdc),
2410            "USDT_ETH" => Ok(CurrencyPair::EthUsdt),
2411            "BTC_EVX" => Ok(CurrencyPair::EvxBtc),
2412            "ETH_EVX" => Ok(CurrencyPair::EvxEth),
2413            "BNB_FET" => Ok(CurrencyPair::FetBnb),
2414            "BTC_FET" => Ok(CurrencyPair::FetBtc),
2415            "USDT_FET" => Ok(CurrencyPair::FetUsdt),
2416            "BNB_FTM" => Ok(CurrencyPair::FtmBnb),
2417            "BTC_FTM" => Ok(CurrencyPair::FtmBtc),
2418            "PAX_FTM" => Ok(CurrencyPair::FtmPax),
2419            "TUSD_FTM" => Ok(CurrencyPair::FtmTusd),
2420            "USDC_FTM" => Ok(CurrencyPair::FtmUsdc),
2421            "USDT_FTM" => Ok(CurrencyPair::FtmUsdt),
2422            "BNB_FTT" => Ok(CurrencyPair::FttBnb),
2423            "BTC_FTT" => Ok(CurrencyPair::FttBtc),
2424            "USDT_FTT" => Ok(CurrencyPair::FttUsdt),
2425            "BTC_FUEL" => Ok(CurrencyPair::FuelBtc),
2426            "ETH_FUEL" => Ok(CurrencyPair::FuelEth),
2427            "BTC_FUN" => Ok(CurrencyPair::FunBtc),
2428            "ETH_FUN" => Ok(CurrencyPair::FunEth),
2429            "USDT_FUN" => Ok(CurrencyPair::FunUsdt),
2430            "BTC_GAS" => Ok(CurrencyPair::GasBtc),
2431            "BNB_GNT" => Ok(CurrencyPair::GntBnb),
2432            "BTC_GNT" => Ok(CurrencyPair::GntBtc),
2433            "ETH_GNT" => Ok(CurrencyPair::GntEth),
2434            "BNB_GO" => Ok(CurrencyPair::GoBnb),
2435            "BTC_GO" => Ok(CurrencyPair::GoBtc),
2436            "BTC_GRS" => Ok(CurrencyPair::GrsBtc),
2437            "ETH_GRS" => Ok(CurrencyPair::GrsEth),
2438            "BNB_GTO" => Ok(CurrencyPair::GtoBnb),
2439            "BTC_GTO" => Ok(CurrencyPair::GtoBtc),
2440            "ETH_GTO" => Ok(CurrencyPair::GtoEth),
2441            "PAX_GTO" => Ok(CurrencyPair::GtoPax),
2442            "TUSD_GTO" => Ok(CurrencyPair::GtoTusd),
2443            "USDC_GTO" => Ok(CurrencyPair::GtoUsdc),
2444            "USDT_GTO" => Ok(CurrencyPair::GtoUsdt),
2445            "BTC_GVT" => Ok(CurrencyPair::GvtBtc),
2446            "ETH_GVT" => Ok(CurrencyPair::GvtEth),
2447            "BTC_GXS" => Ok(CurrencyPair::GxsBtc),
2448            "ETH_GXS" => Ok(CurrencyPair::GxsEth),
2449            "BNB_HBAR" => Ok(CurrencyPair::HbarBnb),
2450            "BTC_HBAR" => Ok(CurrencyPair::HbarBtc),
2451            "USDT_HBAR" => Ok(CurrencyPair::HbarUsdt),
2452            "BTC_HC" => Ok(CurrencyPair::HcBtc),
2453            "ETH_HC" => Ok(CurrencyPair::HcEth),
2454            "USDT_HC" => Ok(CurrencyPair::HcUsdt),
2455            "BNB_HOT" => Ok(CurrencyPair::HotBnb),
2456            "BTC_HOT" => Ok(CurrencyPair::HotBtc),
2457            "ETH_HOT" => Ok(CurrencyPair::HotEth),
2458            "USDT_HOT" => Ok(CurrencyPair::HotUsdt),
2459            "BTC_HSR" => Ok(CurrencyPair::HsrBtc),
2460            "ETH_HSR" => Ok(CurrencyPair::HsrEth),
2461            "BTC_ICN" => Ok(CurrencyPair::IcnBtc),
2462            "ETH_ICN" => Ok(CurrencyPair::IcnEth),
2463            "BNB_ICX" => Ok(CurrencyPair::IcxBnb),
2464            "BTC_ICX" => Ok(CurrencyPair::IcxBtc),
2465            "ETH_ICX" => Ok(CurrencyPair::IcxEth),
2466            "USDT_ICX" => Ok(CurrencyPair::IcxUsdt),
2467            "BTC_INS" => Ok(CurrencyPair::InsBtc),
2468            "ETH_INS" => Ok(CurrencyPair::InsEth),
2469            "BNB_IOST" => Ok(CurrencyPair::IostBnb),
2470            "BTC_IOST" => Ok(CurrencyPair::IostBtc),
2471            "ETH_IOST" => Ok(CurrencyPair::IostEth),
2472            "USDT_IOST" => Ok(CurrencyPair::IostUsdt),
2473            "BNB_IOTA" => Ok(CurrencyPair::IotaBnb),
2474            "BTC_IOTA" => Ok(CurrencyPair::IotaBtc),
2475            "ETH_IOTA" => Ok(CurrencyPair::IotaEth),
2476            "USDT_IOTA" => Ok(CurrencyPair::IotaUsdt),
2477            "BTC_IOTX" => Ok(CurrencyPair::IotxBtc),
2478            "ETH_IOTX" => Ok(CurrencyPair::IotxEth),
2479            "USDT_IOTX" => Ok(CurrencyPair::IotxUsdt),
2480            "BNB_KAVA" => Ok(CurrencyPair::KavaBnb),
2481            "BTC_KAVA" => Ok(CurrencyPair::KavaBtc),
2482            "USDT_KAVA" => Ok(CurrencyPair::KavaUsdt),
2483            "BTC_KEY" => Ok(CurrencyPair::KeyBtc),
2484            "ETH_KEY" => Ok(CurrencyPair::KeyEth),
2485            "USDT_KEY" => Ok(CurrencyPair::KeyUsdt),
2486            "BTC_KMD" => Ok(CurrencyPair::KmdBtc),
2487            "ETH_KMD" => Ok(CurrencyPair::KmdEth),
2488            "BTC_KNC" => Ok(CurrencyPair::KncBtc),
2489            "ETH_KNC" => Ok(CurrencyPair::KncEth),
2490            "BTC_LEND" => Ok(CurrencyPair::LendBtc),
2491            "ETH_LEND" => Ok(CurrencyPair::LendEth),
2492            "BTC_LINK" => Ok(CurrencyPair::LinkBtc),
2493            "BUSD_LINK" => Ok(CurrencyPair::LinkBusd),
2494            "ETH_LINK" => Ok(CurrencyPair::LinkEth),
2495            "PAX_LINK" => Ok(CurrencyPair::LinkPax),
2496            "TUSD_LINK" => Ok(CurrencyPair::LinkTusd),
2497            "USDC_LINK" => Ok(CurrencyPair::LinkUsdc),
2498            "USDT_LINK" => Ok(CurrencyPair::LinkUsdt),
2499            "BNB_LOOM" => Ok(CurrencyPair::LoomBnb),
2500            "BTC_LOOM" => Ok(CurrencyPair::LoomBtc),
2501            "ETH_LOOM" => Ok(CurrencyPair::LoomEth),
2502            "BTC_LRC" => Ok(CurrencyPair::LrcBtc),
2503            "ETH_LRC" => Ok(CurrencyPair::LrcEth),
2504            "BNB_LSK" => Ok(CurrencyPair::LskBnb),
2505            "BTC_LSK" => Ok(CurrencyPair::LskBtc),
2506            "ETH_LSK" => Ok(CurrencyPair::LskEth),
2507            "BNB_LTC" => Ok(CurrencyPair::LtcBnb),
2508            "BTC_LTC" => Ok(CurrencyPair::LtcBtc),
2509            "BUSD_LTC" => Ok(CurrencyPair::LtcBusd),
2510            "ETH_LTC" => Ok(CurrencyPair::LtcEth),
2511            "PAX_LTC" => Ok(CurrencyPair::LtcPax),
2512            "TUSD_LTC" => Ok(CurrencyPair::LtcTusd),
2513            "USDC_LTC" => Ok(CurrencyPair::LtcUsdc),
2514            "USDT_LTC" => Ok(CurrencyPair::LtcUsdt),
2515            "BTC_LUN" => Ok(CurrencyPair::LunBtc),
2516            "ETH_LUN" => Ok(CurrencyPair::LunEth),
2517            "BTC_MANA" => Ok(CurrencyPair::ManaBtc),
2518            "ETH_MANA" => Ok(CurrencyPair::ManaEth),
2519            "BNB_MATIC" => Ok(CurrencyPair::MaticBnb),
2520            "BTC_MATIC" => Ok(CurrencyPair::MaticBtc),
2521            "USDT_MATIC" => Ok(CurrencyPair::MaticUsdt),
2522            "BNB_MCO" => Ok(CurrencyPair::McoBnb),
2523            "BTC_MCO" => Ok(CurrencyPair::McoBtc),
2524            "ETH_MCO" => Ok(CurrencyPair::McoEth),
2525            "USDT_MCO" => Ok(CurrencyPair::McoUsdt),
2526            "BTC_MDA" => Ok(CurrencyPair::MdaBtc),
2527            "ETH_MDA" => Ok(CurrencyPair::MdaEth),
2528            "BNB_MFT" => Ok(CurrencyPair::MftBnb),
2529            "BTC_MFT" => Ok(CurrencyPair::MftBtc),
2530            "ETH_MFT" => Ok(CurrencyPair::MftEth),
2531            "USDT_MFT" => Ok(CurrencyPair::MftUsdt),
2532            "BNB_MITH" => Ok(CurrencyPair::MithBnb),
2533            "BTC_MITH" => Ok(CurrencyPair::MithBtc),
2534            "USDT_MITH" => Ok(CurrencyPair::MithUsdt),
2535            "BTC_MOD" => Ok(CurrencyPair::ModBtc),
2536            "ETH_MOD" => Ok(CurrencyPair::ModEth),
2537            "BTC_MTH" => Ok(CurrencyPair::MthBtc),
2538            "ETH_MTH" => Ok(CurrencyPair::MthEth),
2539            "BTC_MTL" => Ok(CurrencyPair::MtlBtc),
2540            "ETH_MTL" => Ok(CurrencyPair::MtlEth),
2541            "USDT_MTL" => Ok(CurrencyPair::MtlUsdt),
2542            "BNB_NANO" => Ok(CurrencyPair::NanoBnb),
2543            "BTC_NANO" => Ok(CurrencyPair::NanoBtc),
2544            "ETH_NANO" => Ok(CurrencyPair::NanoEth),
2545            "USDT_NANO" => Ok(CurrencyPair::NanoUsdt),
2546            "BNB_NAS" => Ok(CurrencyPair::NasBnb),
2547            "BTC_NAS" => Ok(CurrencyPair::NasBtc),
2548            "ETH_NAS" => Ok(CurrencyPair::NasEth),
2549            "BNB_NAV" => Ok(CurrencyPair::NavBnb),
2550            "BTC_NAV" => Ok(CurrencyPair::NavBtc),
2551            "ETH_NAV" => Ok(CurrencyPair::NavEth),
2552            "BNB_NCASH" => Ok(CurrencyPair::NcashBnb),
2553            "BTC_NCASH" => Ok(CurrencyPair::NcashBtc),
2554            "ETH_NCASH" => Ok(CurrencyPair::NcashEth),
2555            "BNB_NEBL" => Ok(CurrencyPair::NeblBnb),
2556            "BTC_NEBL" => Ok(CurrencyPair::NeblBtc),
2557            "ETH_NEBL" => Ok(CurrencyPair::NeblEth),
2558            "BNB_NEO" => Ok(CurrencyPair::NeoBnb),
2559            "BTC_NEO" => Ok(CurrencyPair::NeoBtc),
2560            "ETH_NEO" => Ok(CurrencyPair::NeoEth),
2561            "PAX_NEO" => Ok(CurrencyPair::NeoPax),
2562            "TUSD_NEO" => Ok(CurrencyPair::NeoTusd),
2563            "USDC_NEO" => Ok(CurrencyPair::NeoUsdc),
2564            "USDT_NEO" => Ok(CurrencyPair::NeoUsdt),
2565            "BNB_NKN" => Ok(CurrencyPair::NknBnb),
2566            "BTC_NKN" => Ok(CurrencyPair::NknBtc),
2567            "USDT_NKN" => Ok(CurrencyPair::NknUsdt),
2568            "BTC_NPXS" => Ok(CurrencyPair::NpxsBtc),
2569            "ETH_NPXS" => Ok(CurrencyPair::NpxsEth),
2570            "USDC_NPXS" => Ok(CurrencyPair::NpxsUsdc),
2571            "USDT_NPXS" => Ok(CurrencyPair::NpxsUsdt),
2572            "BNB_NULS" => Ok(CurrencyPair::NulsBnb),
2573            "BTC_NULS" => Ok(CurrencyPair::NulsBtc),
2574            "ETH_NULS" => Ok(CurrencyPair::NulsEth),
2575            "USDT_NULS" => Ok(CurrencyPair::NulsUsdt),
2576            "BNB_NXS" => Ok(CurrencyPair::NxsBnb),
2577            "BTC_NXS" => Ok(CurrencyPair::NxsBtc),
2578            "ETH_NXS" => Ok(CurrencyPair::NxsEth),
2579            "BTC_OAX" => Ok(CurrencyPair::OaxBtc),
2580            "ETH_OAX" => Ok(CurrencyPair::OaxEth),
2581            "BNB_OMG" => Ok(CurrencyPair::OmgBnb),
2582            "BTC_OMG" => Ok(CurrencyPair::OmgBtc),
2583            "ETH_OMG" => Ok(CurrencyPair::OmgEth),
2584            "USDT_OMG" => Ok(CurrencyPair::OmgUsdt),
2585            "BNB_ONE" => Ok(CurrencyPair::OneBnb),
2586            "BTC_ONE" => Ok(CurrencyPair::OneBtc),
2587            "PAX_ONE" => Ok(CurrencyPair::OnePax),
2588            "TUSD_ONE" => Ok(CurrencyPair::OneTusd),
2589            "USDC_ONE" => Ok(CurrencyPair::OneUsdc),
2590            "USDT_ONE" => Ok(CurrencyPair::OneUsdt),
2591            "BNB_ONG" => Ok(CurrencyPair::OngBnb),
2592            "BTC_ONG" => Ok(CurrencyPair::OngBtc),
2593            "USDT_ONG" => Ok(CurrencyPair::OngUsdt),
2594            "BNB_ONT" => Ok(CurrencyPair::OntBnb),
2595            "BTC_ONT" => Ok(CurrencyPair::OntBtc),
2596            "ETH_ONT" => Ok(CurrencyPair::OntEth),
2597            "PAX_ONT" => Ok(CurrencyPair::OntPax),
2598            "USDC_ONT" => Ok(CurrencyPair::OntUsdc),
2599            "USDT_ONT" => Ok(CurrencyPair::OntUsdt),
2600            "BNB_OST" => Ok(CurrencyPair::OstBnb),
2601            "BTC_OST" => Ok(CurrencyPair::OstBtc),
2602            "ETH_OST" => Ok(CurrencyPair::OstEth),
2603            "BNB_PAX" => Ok(CurrencyPair::PaxBnb),
2604            "BTC_PAX" => Ok(CurrencyPair::PaxBtc),
2605            "ETH_PAX" => Ok(CurrencyPair::PaxEth),
2606            "TUSD_PAX" => Ok(CurrencyPair::PaxTusd),
2607            "USDT_PAX" => Ok(CurrencyPair::PaxUsdt),
2608            "BNB_PERL" => Ok(CurrencyPair::PerlBnb),
2609            "BTC_PERL" => Ok(CurrencyPair::PerlBtc),
2610            "USDC_PERL" => Ok(CurrencyPair::PerlUsdc),
2611            "USDT_PERL" => Ok(CurrencyPair::PerlUsdt),
2612            "BNB_PHB" => Ok(CurrencyPair::PhbBnb),
2613            "BTC_PHB" => Ok(CurrencyPair::PhbBtc),
2614            "PAX_PHB" => Ok(CurrencyPair::PhbPax),
2615            "TUSD_PHB" => Ok(CurrencyPair::PhbTusd),
2616            "USDC_PHB" => Ok(CurrencyPair::PhbUsdc),
2617            "BNB_PHX" => Ok(CurrencyPair::PhxBnb),
2618            "BTC_PHX" => Ok(CurrencyPair::PhxBtc),
2619            "ETH_PHX" => Ok(CurrencyPair::PhxEth),
2620            "BNB_PIVX" => Ok(CurrencyPair::PivxBnb),
2621            "BTC_PIVX" => Ok(CurrencyPair::PivxBtc),
2622            "ETH_PIVX" => Ok(CurrencyPair::PivxEth),
2623            "BNB_POA" => Ok(CurrencyPair::PoaBnb),
2624            "BTC_POA" => Ok(CurrencyPair::PoaBtc),
2625            "ETH_POA" => Ok(CurrencyPair::PoaEth),
2626            "BTC_POE" => Ok(CurrencyPair::PoeBtc),
2627            "ETH_POE" => Ok(CurrencyPair::PoeEth),
2628            "BNB_POLY" => Ok(CurrencyPair::PolyBnb),
2629            "BTC_POLY" => Ok(CurrencyPair::PolyBtc),
2630            "BNB_POWR" => Ok(CurrencyPair::PowrBnb),
2631            "BTC_POWR" => Ok(CurrencyPair::PowrBtc),
2632            "ETH_POWR" => Ok(CurrencyPair::PowrEth),
2633            "BTC_PPT" => Ok(CurrencyPair::PptBtc),
2634            "ETH_PPT" => Ok(CurrencyPair::PptEth),
2635            "BTC_QKC" => Ok(CurrencyPair::QkcBtc),
2636            "ETH_QKC" => Ok(CurrencyPair::QkcEth),
2637            "BNB_QLC" => Ok(CurrencyPair::QlcBnb),
2638            "BTC_QLC" => Ok(CurrencyPair::QlcBtc),
2639            "ETH_QLC" => Ok(CurrencyPair::QlcEth),
2640            "BNB_QSP" => Ok(CurrencyPair::QspBnb),
2641            "BTC_QSP" => Ok(CurrencyPair::QspBtc),
2642            "ETH_QSP" => Ok(CurrencyPair::QspEth),
2643            "BNB_QTUM" => Ok(CurrencyPair::QtumBnb),
2644            "BTC_QTUM" => Ok(CurrencyPair::QtumBtc),
2645            "BUSD_QTUM" => Ok(CurrencyPair::QtumBusd),
2646            "ETH_QTUM" => Ok(CurrencyPair::QtumEth),
2647            "USDT_QTUM" => Ok(CurrencyPair::QtumUsdt),
2648            "BNB_RCN" => Ok(CurrencyPair::RcnBnb),
2649            "BTC_RCN" => Ok(CurrencyPair::RcnBtc),
2650            "ETH_RCN" => Ok(CurrencyPair::RcnEth),
2651            "BNB_RDN" => Ok(CurrencyPair::RdnBnb),
2652            "BTC_RDN" => Ok(CurrencyPair::RdnBtc),
2653            "ETH_RDN" => Ok(CurrencyPair::RdnEth),
2654            "BNB_REN" => Ok(CurrencyPair::RenBnb),
2655            "BTC_REN" => Ok(CurrencyPair::RenBtc),
2656            "USDT_REN" => Ok(CurrencyPair::RenUsdt),
2657            "BNB_REP" => Ok(CurrencyPair::RepBnb),
2658            "BTC_REP" => Ok(CurrencyPair::RepBtc),
2659            "ETH_REP" => Ok(CurrencyPair::RepEth),
2660            "BTC_REQ" => Ok(CurrencyPair::ReqBtc),
2661            "ETH_REQ" => Ok(CurrencyPair::ReqEth),
2662            "BNB_RLC" => Ok(CurrencyPair::RlcBnb),
2663            "BTC_RLC" => Ok(CurrencyPair::RlcBtc),
2664            "ETH_RLC" => Ok(CurrencyPair::RlcEth),
2665            "USDT_RLC" => Ok(CurrencyPair::RlcUsdt),
2666            "BNB_RPX" => Ok(CurrencyPair::RpxBnb),
2667            "BTC_RPX" => Ok(CurrencyPair::RpxBtc),
2668            "ETH_RPX" => Ok(CurrencyPair::RpxEth),
2669            "BNB_RVN" => Ok(CurrencyPair::RvnBnb),
2670            "BTC_RVN" => Ok(CurrencyPair::RvnBtc),
2671            "USDT_RVN" => Ok(CurrencyPair::RvnUsdt),
2672            "BTC_SALT" => Ok(CurrencyPair::SaltBtc),
2673            "ETH_SALT" => Ok(CurrencyPair::SaltEth),
2674            "BNB_SC" => Ok(CurrencyPair::ScBnb),
2675            "BTC_SC" => Ok(CurrencyPair::ScBtc),
2676            "ETH_SC" => Ok(CurrencyPair::ScEth),
2677            "BNB_SKY" => Ok(CurrencyPair::SkyBnb),
2678            "BTC_SKY" => Ok(CurrencyPair::SkyBtc),
2679            "ETH_SKY" => Ok(CurrencyPair::SkyEth),
2680            "BTC_SNGLS" => Ok(CurrencyPair::SnglsBtc),
2681            "ETH_SNGLS" => Ok(CurrencyPair::SnglsEth),
2682            "BTC_SNM" => Ok(CurrencyPair::SnmBtc),
2683            "ETH_SNM" => Ok(CurrencyPair::SnmEth),
2684            "BTC_SNT" => Ok(CurrencyPair::SntBtc),
2685            "ETH_SNT" => Ok(CurrencyPair::SntEth),
2686            "BNB_STEEM" => Ok(CurrencyPair::SteemBnb),
2687            "BTC_STEEM" => Ok(CurrencyPair::SteemBtc),
2688            "ETH_STEEM" => Ok(CurrencyPair::SteemEth),
2689            "BTC_STORJ" => Ok(CurrencyPair::StorjBtc),
2690            "ETH_STORJ" => Ok(CurrencyPair::StorjEth),
2691            "BNB_STORM" => Ok(CurrencyPair::StormBnb),
2692            "BTC_STORM" => Ok(CurrencyPair::StormBtc),
2693            "ETH_STORM" => Ok(CurrencyPair::StormEth),
2694            "USDT_STORM" => Ok(CurrencyPair::StormUsdt),
2695            "BTC_STRAT" => Ok(CurrencyPair::StratBtc),
2696            "ETH_STRAT" => Ok(CurrencyPair::StratEth),
2697            "BNB_STX" => Ok(CurrencyPair::StxBnb),
2698            "BTC_STX" => Ok(CurrencyPair::StxBtc),
2699            "USDT_STX" => Ok(CurrencyPair::StxUsdt),
2700            "BTC_SUB" => Ok(CurrencyPair::SubBtc),
2701            "ETH_SUB" => Ok(CurrencyPair::SubEth),
2702            "BNB_SYS" => Ok(CurrencyPair::SysBnb),
2703            "BTC_SYS" => Ok(CurrencyPair::SysBtc),
2704            "ETH_SYS" => Ok(CurrencyPair::SysEth),
2705            "BNB_TFUEL" => Ok(CurrencyPair::TfuelBnb),
2706            "BTC_TFUEL" => Ok(CurrencyPair::TfuelBtc),
2707            "PAX_TFUEL" => Ok(CurrencyPair::TfuelPax),
2708            "TUSD_TFUEL" => Ok(CurrencyPair::TfuelTusd),
2709            "USDC_TFUEL" => Ok(CurrencyPair::TfuelUsdc),
2710            "USDT_TFUEL" => Ok(CurrencyPair::TfuelUsdt),
2711            "BNB_THETA" => Ok(CurrencyPair::ThetaBnb),
2712            "BTC_THETA" => Ok(CurrencyPair::ThetaBtc),
2713            "ETH_THETA" => Ok(CurrencyPair::ThetaEth),
2714            "USDT_THETA" => Ok(CurrencyPair::ThetaUsdt),
2715            "BTC_TNB" => Ok(CurrencyPair::TnbBtc),
2716            "ETH_TNB" => Ok(CurrencyPair::TnbEth),
2717            "BTC_TNT" => Ok(CurrencyPair::TntBtc),
2718            "ETH_TNT" => Ok(CurrencyPair::TntEth),
2719            "BNB_TOMO" => Ok(CurrencyPair::TomoBnb),
2720            "BTC_TOMO" => Ok(CurrencyPair::TomoBtc),
2721            "USDC_TOMO" => Ok(CurrencyPair::TomoUsdc),
2722            "USDT_TOMO" => Ok(CurrencyPair::TomoUsdt),
2723            "BNB_TRIG" => Ok(CurrencyPair::TrigBnb),
2724            "BTC_TRIG" => Ok(CurrencyPair::TrigBtc),
2725            "ETH_TRIG" => Ok(CurrencyPair::TrigEth),
2726            "BNB_TROY" => Ok(CurrencyPair::TroyBnb),
2727            "BTC_TROY" => Ok(CurrencyPair::TroyBtc),
2728            "USDT_TROY" => Ok(CurrencyPair::TroyUsdt),
2729            "BNB_TRX" => Ok(CurrencyPair::TrxBnb),
2730            "BTC_TRX" => Ok(CurrencyPair::TrxBtc),
2731            "BUSD_TRX" => Ok(CurrencyPair::TrxBusd),
2732            "ETH_TRX" => Ok(CurrencyPair::TrxEth),
2733            "PAX_TRX" => Ok(CurrencyPair::TrxPax),
2734            "TUSD_TRX" => Ok(CurrencyPair::TrxTusd),
2735            "USDC_TRX" => Ok(CurrencyPair::TrxUsdc),
2736            "USDT_TRX" => Ok(CurrencyPair::TrxUsdt),
2737            "XRP_TRX" => Ok(CurrencyPair::TrxXrp),
2738            "TUSD_TUSDB" => Ok(CurrencyPair::TusdbTusd),
2739            "BNB_TUSD" => Ok(CurrencyPair::TusdBnb),
2740            "BTC_TUSD" => Ok(CurrencyPair::TusdBtc),
2741            "ETH_TUSD" => Ok(CurrencyPair::TusdEth),
2742            "USDT_TUSD" => Ok(CurrencyPair::TusdUsdt),
2743            "BNB_USDC" => Ok(CurrencyPair::UsdcBnb),
2744            "DASH_USDC" => Ok(CurrencyPair::UsdcDash),
2745            "GRIN_USDC" => Ok(CurrencyPair::UsdcGrin),
2746            "PAX_USDC" => Ok(CurrencyPair::UsdcPax),
2747            "STR_USDC" => Ok(CurrencyPair::UsdcStr),
2748            "TUSD_USDC" => Ok(CurrencyPair::UsdcTusd),
2749            "USDT_USDC" => Ok(CurrencyPair::UsdcUsdt),
2750            "XMR_USDC" => Ok(CurrencyPair::UsdcXmr),
2751            "USDS_USDSB" => Ok(CurrencyPair::UsdsbUsds),
2752            "USDT_USDSB" => Ok(CurrencyPair::UsdsbUsdt),
2753            "PAX_USDS" => Ok(CurrencyPair::UsdsPax),
2754            "TUSD_USDS" => Ok(CurrencyPair::UsdsTusd),
2755            "USDC_USDS" => Ok(CurrencyPair::UsdsUsdc),
2756            "USDT_USDS" => Ok(CurrencyPair::UsdsUsdt),
2757            "DGB_USDT" => Ok(CurrencyPair::UsdtDgb),
2758            "GNT_USDT" => Ok(CurrencyPair::UsdtGnt),
2759            "GRIN_USDT" => Ok(CurrencyPair::UsdtGrin),
2760            "LSK_USDT" => Ok(CurrencyPair::UsdtLsk),
2761            "MANA_USDT" => Ok(CurrencyPair::UsdtMana),
2762            "NXT_USDT" => Ok(CurrencyPair::UsdtNxt),
2763            "REP_USDT" => Ok(CurrencyPair::UsdtRep),
2764            "RUB_USDT" => Ok(CurrencyPair::UsdtRub),
2765            "SC_USDT" => Ok(CurrencyPair::UsdtSc),
2766            "STR_USDT" => Ok(CurrencyPair::UsdtStr),
2767            "TRY_USDT" => Ok(CurrencyPair::UsdtTry),
2768            "BNB_VEN" => Ok(CurrencyPair::VenBnb),
2769            "BTC_VEN" => Ok(CurrencyPair::VenBtc),
2770            "ETH_VEN" => Ok(CurrencyPair::VenEth),
2771            "USDT_VEN" => Ok(CurrencyPair::VenUsdt),
2772            "BNB_VET" => Ok(CurrencyPair::VetBnb),
2773            "BTC_VET" => Ok(CurrencyPair::VetBtc),
2774            "BUSD_VET" => Ok(CurrencyPair::VetBusd),
2775            "ETH_VET" => Ok(CurrencyPair::VetEth),
2776            "USDT_VET" => Ok(CurrencyPair::VetUsdt),
2777            "BNB_VIA" => Ok(CurrencyPair::ViaBnb),
2778            "BTC_VIA" => Ok(CurrencyPair::ViaBtc),
2779            "ETH_VIA" => Ok(CurrencyPair::ViaEth),
2780            "BTC_VIBE" => Ok(CurrencyPair::VibeBtc),
2781            "ETH_VIBE" => Ok(CurrencyPair::VibeEth),
2782            "BTC_VIB" => Ok(CurrencyPair::VibBtc),
2783            "ETH_VIB" => Ok(CurrencyPair::VibEth),
2784            "BNB_VITE" => Ok(CurrencyPair::ViteBnb),
2785            "BTC_VITE" => Ok(CurrencyPair::ViteBtc),
2786            "USDT_VITE" => Ok(CurrencyPair::ViteUsdt),
2787            "BNB_WABI" => Ok(CurrencyPair::WabiBnb),
2788            "BTC_WABI" => Ok(CurrencyPair::WabiBtc),
2789            "ETH_WABI" => Ok(CurrencyPair::WabiEth),
2790            "BNB_WAN" => Ok(CurrencyPair::WanBnb),
2791            "BTC_WAN" => Ok(CurrencyPair::WanBtc),
2792            "ETH_WAN" => Ok(CurrencyPair::WanEth),
2793            "USDT_WAN" => Ok(CurrencyPair::WanUsdt),
2794            "BNB_WAVES" => Ok(CurrencyPair::WavesBnb),
2795            "BTC_WAVES" => Ok(CurrencyPair::WavesBtc),
2796            "ETH_WAVES" => Ok(CurrencyPair::WavesEth),
2797            "PAX_WAVES" => Ok(CurrencyPair::WavesPax),
2798            "TUSD_WAVES" => Ok(CurrencyPair::WavesTusd),
2799            "USDC_WAVES" => Ok(CurrencyPair::WavesUsdc),
2800            "USDT_WAVES" => Ok(CurrencyPair::WavesUsdt),
2801            "BTC_WINGS" => Ok(CurrencyPair::WingsBtc),
2802            "ETH_WINGS" => Ok(CurrencyPair::WingsEth),
2803            "BNB_WIN" => Ok(CurrencyPair::WinBnb),
2804            "BTC_WIN" => Ok(CurrencyPair::WinBtc),
2805            "TRX_WIN" => Ok(CurrencyPair::WinTrx),
2806            "USDC_WIN" => Ok(CurrencyPair::WinUsdc),
2807            "USDT_WIN" => Ok(CurrencyPair::WinUsdt),
2808            "BTC_WPR" => Ok(CurrencyPair::WprBtc),
2809            "ETH_WPR" => Ok(CurrencyPair::WprEth),
2810            "BNB_WTC" => Ok(CurrencyPair::WtcBnb),
2811            "BTC_WTC" => Ok(CurrencyPair::WtcBtc),
2812            "ETH_WTC" => Ok(CurrencyPair::WtcEth),
2813            "BNB_XEM" => Ok(CurrencyPair::XemBnb),
2814            "BTC_XEM" => Ok(CurrencyPair::XemBtc),
2815            "ETH_XEM" => Ok(CurrencyPair::XemEth),
2816            "BNB_XLM" => Ok(CurrencyPair::XlmBnb),
2817            "BTC_XLM" => Ok(CurrencyPair::XlmBtc),
2818            "BUSD_XLM" => Ok(CurrencyPair::XlmBusd),
2819            "ETH_XLM" => Ok(CurrencyPair::XlmEth),
2820            "PAX_XLM" => Ok(CurrencyPair::XlmPax),
2821            "TUSD_XLM" => Ok(CurrencyPair::XlmTusd),
2822            "USDC_XLM" => Ok(CurrencyPair::XlmUsdc),
2823            "USDT_XLM" => Ok(CurrencyPair::XlmUsdt),
2824            "BNB_XMR" => Ok(CurrencyPair::XmrBnb),
2825            "BTC_XMR" => Ok(CurrencyPair::XmrBtc),
2826            "ETH_XMR" => Ok(CurrencyPair::XmrEth),
2827            "USDT_XMR" => Ok(CurrencyPair::XmrUsdt),
2828            "BNB_XRP" => Ok(CurrencyPair::XrpBnb),
2829            "BTC_XRP" => Ok(CurrencyPair::XrpBtc),
2830            "BUSD_XRP" => Ok(CurrencyPair::XrpBusd),
2831            "ETH_XRP" => Ok(CurrencyPair::XrpEth),
2832            "PAX_XRP" => Ok(CurrencyPair::XrpPax),
2833            "RUB_XRP" => Ok(CurrencyPair::XrpRub),
2834            "TRY_XRP" => Ok(CurrencyPair::XrpTry),
2835            "TUSD_XRP" => Ok(CurrencyPair::XrpTusd),
2836            "USDC_XRP" => Ok(CurrencyPair::XrpUsdc),
2837            "USDT_XRP" => Ok(CurrencyPair::XrpUsdt),
2838            "BNB_XTZ" => Ok(CurrencyPair::XtzBnb),
2839            "BTC_XTZ" => Ok(CurrencyPair::XtzBtc),
2840            "USDT_XTZ" => Ok(CurrencyPair::XtzUsdt),
2841            "BTC_XVG" => Ok(CurrencyPair::XvgBtc),
2842            "ETH_XVG" => Ok(CurrencyPair::XvgEth),
2843            "BNB_XZC" => Ok(CurrencyPair::XzcBnb),
2844            "BTC_XZC" => Ok(CurrencyPair::XzcBtc),
2845            "ETH_XZC" => Ok(CurrencyPair::XzcEth),
2846            "XRP_XZC" => Ok(CurrencyPair::XzcXrp),
2847            "BNB_YOYO" => Ok(CurrencyPair::YoyoBnb),
2848            "BTC_YOYO" => Ok(CurrencyPair::YoyoBtc),
2849            "ETH_YOYO" => Ok(CurrencyPair::YoyoEth),
2850            "BNB_ZEC" => Ok(CurrencyPair::ZecBnb),
2851            "BTC_ZEC" => Ok(CurrencyPair::ZecBtc),
2852            "ETH_ZEC" => Ok(CurrencyPair::ZecEth),
2853            "PAX_ZEC" => Ok(CurrencyPair::ZecPax),
2854            "TUSD_ZEC" => Ok(CurrencyPair::ZecTusd),
2855            "USDC_ZEC" => Ok(CurrencyPair::ZecUsdc),
2856            "USDT_ZEC" => Ok(CurrencyPair::ZecUsdt),
2857            "BNB_ZEN" => Ok(CurrencyPair::ZenBnb),
2858            "BTC_ZEN" => Ok(CurrencyPair::ZenBtc),
2859            "ETH_ZEN" => Ok(CurrencyPair::ZenEth),
2860            "BNB_ZIL" => Ok(CurrencyPair::ZilBnb),
2861            "BTC_ZIL" => Ok(CurrencyPair::ZilBtc),
2862            "ETH_ZIL" => Ok(CurrencyPair::ZilEth),
2863            "USDT_ZIL" => Ok(CurrencyPair::ZilUsdt),
2864            "BNB_ZRX" => Ok(CurrencyPair::ZrxBnb),
2865            "BTC_ZRX" => Ok(CurrencyPair::ZrxBtc),
2866            "ETH_ZRX" => Ok(CurrencyPair::ZrxEth),
2867            "USDT_ZRX" => Ok(CurrencyPair::ZrxUsdt),
2868            pair => {
2869                let index = pair
2870                    .find('_')
2871                    .ok_or_else(|| Error::InvalidPair(pair.to_owned()))?;
2872                if index == pair.len() - 1 {
2873                    return Err(Error::InvalidPair(pair.to_owned()));
2874                }
2875                let quote: Currency = pair[..index].into();
2876                let base: Currency = pair[index + 1..].into();
2877                Ok(CurrencyPair::Custom(
2878                    format!("{}_{}", quote, base),
2879                    quote,
2880                    base,
2881                ))
2882            }
2883        }
2884    }
2885
2886    pub fn join_no_sep(&self) -> String {
2887        match self {
2888            CurrencyPair::Custom(_, ref quote, ref base) => format!("{}{}", quote, base),
2889            &CurrencyPair::AdaBnb => "ADABNB".to_owned(),
2890            &CurrencyPair::AdaBtc => "ADABTC".to_owned(),
2891            &CurrencyPair::AdaBusd => "ADABUSD".to_owned(),
2892            &CurrencyPair::AdaEth => "ADAETH".to_owned(),
2893            &CurrencyPair::AdaPax => "ADAPAX".to_owned(),
2894            &CurrencyPair::AdaTusd => "ADATUSD".to_owned(),
2895            &CurrencyPair::AdaUsdc => "ADAUSDC".to_owned(),
2896            &CurrencyPair::AdaUsdt => "ADAUSDT".to_owned(),
2897            &CurrencyPair::AdxBnb => "ADXBNB".to_owned(),
2898            &CurrencyPair::AdxBtc => "ADXBTC".to_owned(),
2899            &CurrencyPair::AdxEth => "ADXETH".to_owned(),
2900            &CurrencyPair::AeBnb => "AEBNB".to_owned(),
2901            &CurrencyPair::AeBtc => "AEBTC".to_owned(),
2902            &CurrencyPair::AeEth => "AEETH".to_owned(),
2903            &CurrencyPair::AgiBnb => "AGIBNB".to_owned(),
2904            &CurrencyPair::AgiBtc => "AGIBTC".to_owned(),
2905            &CurrencyPair::AgiEth => "AGIETH".to_owned(),
2906            &CurrencyPair::AionBnb => "AIONBNB".to_owned(),
2907            &CurrencyPair::AionBtc => "AIONBTC".to_owned(),
2908            &CurrencyPair::AionEth => "AIONETH".to_owned(),
2909            &CurrencyPair::AlgoBnb => "ALGOBNB".to_owned(),
2910            &CurrencyPair::AlgoBtc => "ALGOBTC".to_owned(),
2911            &CurrencyPair::AlgoPax => "ALGOPAX".to_owned(),
2912            &CurrencyPair::AlgoTusd => "ALGOTUSD".to_owned(),
2913            &CurrencyPair::AlgoUsdc => "ALGOUSDC".to_owned(),
2914            &CurrencyPair::AlgoUsdt => "ALGOUSDT".to_owned(),
2915            &CurrencyPair::AmbBnb => "AMBBNB".to_owned(),
2916            &CurrencyPair::AmbBtc => "AMBBTC".to_owned(),
2917            &CurrencyPair::AmbEth => "AMBETH".to_owned(),
2918            &CurrencyPair::AnkrBnb => "ANKRBNB".to_owned(),
2919            &CurrencyPair::AnkrBtc => "ANKRBTC".to_owned(),
2920            &CurrencyPair::AnkrPax => "ANKRPAX".to_owned(),
2921            &CurrencyPair::AnkrTusd => "ANKRTUSD".to_owned(),
2922            &CurrencyPair::AnkrUsdc => "ANKRUSDC".to_owned(),
2923            &CurrencyPair::AnkrUsdt => "ANKRUSDT".to_owned(),
2924            &CurrencyPair::AppcBnb => "APPCBNB".to_owned(),
2925            &CurrencyPair::AppcBtc => "APPCBTC".to_owned(),
2926            &CurrencyPair::AppcEth => "APPCETH".to_owned(),
2927            &CurrencyPair::ArdrBnb => "ARDRBNB".to_owned(),
2928            &CurrencyPair::ArdrBtc => "ARDRBTC".to_owned(),
2929            &CurrencyPair::ArdrEth => "ARDRETH".to_owned(),
2930            &CurrencyPair::ArkBtc => "ARKBTC".to_owned(),
2931            &CurrencyPair::ArkEth => "ARKETH".to_owned(),
2932            &CurrencyPair::ArnBtc => "ARNBTC".to_owned(),
2933            &CurrencyPair::ArnEth => "ARNETH".to_owned(),
2934            &CurrencyPair::ArpaBnb => "ARPABNB".to_owned(),
2935            &CurrencyPair::ArpaBtc => "ARPABTC".to_owned(),
2936            &CurrencyPair::ArpaUsdt => "ARPAUSDT".to_owned(),
2937            &CurrencyPair::AstBtc => "ASTBTC".to_owned(),
2938            &CurrencyPair::AstEth => "ASTETH".to_owned(),
2939            &CurrencyPair::AtomBnb => "ATOMBNB".to_owned(),
2940            &CurrencyPair::AtomBtc => "ATOMBTC".to_owned(),
2941            &CurrencyPair::AtomPax => "ATOMPAX".to_owned(),
2942            &CurrencyPair::AtomTusd => "ATOMTUSD".to_owned(),
2943            &CurrencyPair::AtomUsdc => "ATOMUSDC".to_owned(),
2944            &CurrencyPair::AtomUsdt => "ATOMUSDT".to_owned(),
2945            &CurrencyPair::BandBnb => "BANDBNB".to_owned(),
2946            &CurrencyPair::BandBtc => "BANDBTC".to_owned(),
2947            &CurrencyPair::BandUsdt => "BANDUSDT".to_owned(),
2948            &CurrencyPair::BatBnb => "BATBNB".to_owned(),
2949            &CurrencyPair::BatBtc => "BATBTC".to_owned(),
2950            &CurrencyPair::BatEth => "BATETH".to_owned(),
2951            &CurrencyPair::BatPax => "BATPAX".to_owned(),
2952            &CurrencyPair::BatTusd => "BATTUSD".to_owned(),
2953            &CurrencyPair::BatUsdc => "BATUSDC".to_owned(),
2954            &CurrencyPair::BatUsdt => "BATUSDT".to_owned(),
2955            &CurrencyPair::BccBnb => "BCCBNB".to_owned(),
2956            &CurrencyPair::BccBtc => "BCCBTC".to_owned(),
2957            &CurrencyPair::BccEth => "BCCETH".to_owned(),
2958            &CurrencyPair::BccUsdt => "BCCUSDT".to_owned(),
2959            &CurrencyPair::BcdBtc => "BCDBTC".to_owned(),
2960            &CurrencyPair::BcdEth => "BCDETH".to_owned(),
2961            &CurrencyPair::BchabcBtc => "BCHABCBTC".to_owned(),
2962            &CurrencyPair::BchabcBusd => "BCHABCBUSD".to_owned(),
2963            &CurrencyPair::BchabcPax => "BCHABCPAX".to_owned(),
2964            &CurrencyPair::BchabcTusd => "BCHABCTUSD".to_owned(),
2965            &CurrencyPair::BchabcUsdc => "BCHABCUSDC".to_owned(),
2966            &CurrencyPair::BchabcUsdt => "BCHABCUSDT".to_owned(),
2967            &CurrencyPair::BchsvBtc => "BCHSVBTC".to_owned(),
2968            &CurrencyPair::BchsvPax => "BCHSVPAX".to_owned(),
2969            &CurrencyPair::BchsvTusd => "BCHSVTUSD".to_owned(),
2970            &CurrencyPair::BchsvUsdc => "BCHSVUSDC".to_owned(),
2971            &CurrencyPair::BchsvUsdt => "BCHSVUSDT".to_owned(),
2972            &CurrencyPair::BchBnb => "BCHBNB".to_owned(),
2973            &CurrencyPair::BchBtc => "BCHBTC".to_owned(),
2974            &CurrencyPair::BchBusd => "BCHBUSD".to_owned(),
2975            &CurrencyPair::BchPax => "BCHPAX".to_owned(),
2976            &CurrencyPair::BchTusd => "BCHTUSD".to_owned(),
2977            &CurrencyPair::BchUsdc => "BCHUSDC".to_owned(),
2978            &CurrencyPair::BchUsdt => "BCHUSDT".to_owned(),
2979            &CurrencyPair::BcnBnb => "BCNBNB".to_owned(),
2980            &CurrencyPair::BcnBtc => "BCNBTC".to_owned(),
2981            &CurrencyPair::BcnEth => "BCNETH".to_owned(),
2982            &CurrencyPair::BcptBnb => "BCPTBNB".to_owned(),
2983            &CurrencyPair::BcptBtc => "BCPTBTC".to_owned(),
2984            &CurrencyPair::BcptEth => "BCPTETH".to_owned(),
2985            &CurrencyPair::BcptPax => "BCPTPAX".to_owned(),
2986            &CurrencyPair::BcptTusd => "BCPTTUSD".to_owned(),
2987            &CurrencyPair::BcptUsdc => "BCPTUSDC".to_owned(),
2988            &CurrencyPair::BeamBnb => "BEAMBNB".to_owned(),
2989            &CurrencyPair::BeamBtc => "BEAMBTC".to_owned(),
2990            &CurrencyPair::BeamUsdt => "BEAMUSDT".to_owned(),
2991            &CurrencyPair::BgbpUsdc => "BGBPUSDC".to_owned(),
2992            &CurrencyPair::BlzBnb => "BLZBNB".to_owned(),
2993            &CurrencyPair::BlzBtc => "BLZBTC".to_owned(),
2994            &CurrencyPair::BlzEth => "BLZETH".to_owned(),
2995            &CurrencyPair::BnbBtc => "BNBBTC".to_owned(),
2996            &CurrencyPair::BnbBusd => "BNBBUSD".to_owned(),
2997            &CurrencyPair::BnbEth => "BNBETH".to_owned(),
2998            &CurrencyPair::BnbNgn => "BNBNGN".to_owned(),
2999            &CurrencyPair::BnbPax => "BNBPAX".to_owned(),
3000            &CurrencyPair::BnbRub => "BNBRUB".to_owned(),
3001            &CurrencyPair::BnbTry => "BNBTRY".to_owned(),
3002            &CurrencyPair::BnbTusd => "BNBTUSD".to_owned(),
3003            &CurrencyPair::BnbUsdc => "BNBUSDC".to_owned(),
3004            &CurrencyPair::BnbUsds => "BNBUSDS".to_owned(),
3005            &CurrencyPair::BnbUsdt => "BNBUSDT".to_owned(),
3006            &CurrencyPair::BntBtc => "BNTBTC".to_owned(),
3007            &CurrencyPair::BntEth => "BNTETH".to_owned(),
3008            &CurrencyPair::BqxBtc => "BQXBTC".to_owned(),
3009            &CurrencyPair::BqxEth => "BQXETH".to_owned(),
3010            &CurrencyPair::BrdBnb => "BRDBNB".to_owned(),
3011            &CurrencyPair::BrdBtc => "BRDBTC".to_owned(),
3012            &CurrencyPair::BrdEth => "BRDETH".to_owned(),
3013            &CurrencyPair::BtcbBtc => "BTCBBTC".to_owned(),
3014            &CurrencyPair::BtcBusd => "BTCBUSD".to_owned(),
3015            &CurrencyPair::BtcDgb => "BTCDGB".to_owned(),
3016            &CurrencyPair::BtcFct => "BTCFCT".to_owned(),
3017            &CurrencyPair::BtcFoam => "BTCFOAM".to_owned(),
3018            &CurrencyPair::BtcGrin => "BTCGRIN".to_owned(),
3019            &CurrencyPair::BtcLpt => "BTCLPT".to_owned(),
3020            &CurrencyPair::BtcMaid => "BTCMAID".to_owned(),
3021            &CurrencyPair::BtcNgn => "BTCNGN".to_owned(),
3022            &CurrencyPair::BtcNmr => "BTCNMR".to_owned(),
3023            &CurrencyPair::BtcNxt => "BTCNXT".to_owned(),
3024            &CurrencyPair::BtcOmni => "BTCOMNI".to_owned(),
3025            &CurrencyPair::BtcPax => "BTCPAX".to_owned(),
3026            &CurrencyPair::BtcRub => "BTCRUB".to_owned(),
3027            &CurrencyPair::BtcStr => "BTCSTR".to_owned(),
3028            &CurrencyPair::BtcTry => "BTCTRY".to_owned(),
3029            &CurrencyPair::BtcTusd => "BTCTUSD".to_owned(),
3030            &CurrencyPair::BtcUsdc => "BTCUSDC".to_owned(),
3031            &CurrencyPair::BtcUsds => "BTCUSDS".to_owned(),
3032            &CurrencyPair::BtcUsdt => "BTCUSDT".to_owned(),
3033            &CurrencyPair::BtcVtc => "BTCVTC".to_owned(),
3034            &CurrencyPair::BtcXpm => "BTCXPM".to_owned(),
3035            &CurrencyPair::BtgBtc => "BTGBTC".to_owned(),
3036            &CurrencyPair::BtgEth => "BTGETH".to_owned(),
3037            &CurrencyPair::BtsBnb => "BTSBNB".to_owned(),
3038            &CurrencyPair::BtsBtc => "BTSBTC".to_owned(),
3039            &CurrencyPair::BtsEth => "BTSETH".to_owned(),
3040            &CurrencyPair::BttBnb => "BTTBNB".to_owned(),
3041            &CurrencyPair::BttBtc => "BTTBTC".to_owned(),
3042            &CurrencyPair::BttPax => "BTTPAX".to_owned(),
3043            &CurrencyPair::BttTrx => "BTTTRX".to_owned(),
3044            &CurrencyPair::BttTusd => "BTTTUSD".to_owned(),
3045            &CurrencyPair::BttUsdc => "BTTUSDC".to_owned(),
3046            &CurrencyPair::BttUsdt => "BTTUSDT".to_owned(),
3047            &CurrencyPair::BusdNgn => "BUSDNGN".to_owned(),
3048            &CurrencyPair::BusdRub => "BUSDRUB".to_owned(),
3049            &CurrencyPair::BusdTry => "BUSDTRY".to_owned(),
3050            &CurrencyPair::BusdUsdt => "BUSDUSDT".to_owned(),
3051            &CurrencyPair::CdtBtc => "CDTBTC".to_owned(),
3052            &CurrencyPair::CdtEth => "CDTETH".to_owned(),
3053            &CurrencyPair::CelrBnb => "CELRBNB".to_owned(),
3054            &CurrencyPair::CelrBtc => "CELRBTC".to_owned(),
3055            &CurrencyPair::CelrUsdt => "CELRUSDT".to_owned(),
3056            &CurrencyPair::ChatBtc => "CHATBTC".to_owned(),
3057            &CurrencyPair::ChatEth => "CHATETH".to_owned(),
3058            &CurrencyPair::ChzBnb => "CHZBNB".to_owned(),
3059            &CurrencyPair::ChzBtc => "CHZBTC".to_owned(),
3060            &CurrencyPair::ChzUsdt => "CHZUSDT".to_owned(),
3061            &CurrencyPair::CloakBtc => "CLOAKBTC".to_owned(),
3062            &CurrencyPair::CloakEth => "CLOAKETH".to_owned(),
3063            &CurrencyPair::CmtBnb => "CMTBNB".to_owned(),
3064            &CurrencyPair::CmtBtc => "CMTBTC".to_owned(),
3065            &CurrencyPair::CmtEth => "CMTETH".to_owned(),
3066            &CurrencyPair::CndBnb => "CNDBNB".to_owned(),
3067            &CurrencyPair::CndBtc => "CNDBTC".to_owned(),
3068            &CurrencyPair::CndEth => "CNDETH".to_owned(),
3069            &CurrencyPair::CocosBnb => "COCOSBNB".to_owned(),
3070            &CurrencyPair::CocosBtc => "COCOSBTC".to_owned(),
3071            &CurrencyPair::CocosUsdt => "COCOSUSDT".to_owned(),
3072            &CurrencyPair::CosBnb => "COSBNB".to_owned(),
3073            &CurrencyPair::CosBtc => "COSBTC".to_owned(),
3074            &CurrencyPair::CosUsdt => "COSUSDT".to_owned(),
3075            &CurrencyPair::CtxcBnb => "CTXCBNB".to_owned(),
3076            &CurrencyPair::CtxcBtc => "CTXCBTC".to_owned(),
3077            &CurrencyPair::CtxcUsdt => "CTXCUSDT".to_owned(),
3078            &CurrencyPair::CvcBnb => "CVCBNB".to_owned(),
3079            &CurrencyPair::CvcBtc => "CVCBTC".to_owned(),
3080            &CurrencyPair::CvcEth => "CVCETH".to_owned(),
3081            &CurrencyPair::CvcUsdt => "CVCUSDT".to_owned(),
3082            &CurrencyPair::DashBnb => "DASHBNB".to_owned(),
3083            &CurrencyPair::DashBtc => "DASHBTC".to_owned(),
3084            &CurrencyPair::DashEth => "DASHETH".to_owned(),
3085            &CurrencyPair::DashUsdt => "DASHUSDT".to_owned(),
3086            &CurrencyPair::DataBtc => "DATABTC".to_owned(),
3087            &CurrencyPair::DataEth => "DATAETH".to_owned(),
3088            &CurrencyPair::DcrBnb => "DCRBNB".to_owned(),
3089            &CurrencyPair::DcrBtc => "DCRBTC".to_owned(),
3090            &CurrencyPair::DentBtc => "DENTBTC".to_owned(),
3091            &CurrencyPair::DentEth => "DENTETH".to_owned(),
3092            &CurrencyPair::DentUsdt => "DENTUSDT".to_owned(),
3093            &CurrencyPair::DgdBtc => "DGDBTC".to_owned(),
3094            &CurrencyPair::DgdEth => "DGDETH".to_owned(),
3095            &CurrencyPair::DltBnb => "DLTBNB".to_owned(),
3096            &CurrencyPair::DltBtc => "DLTBTC".to_owned(),
3097            &CurrencyPair::DltEth => "DLTETH".to_owned(),
3098            &CurrencyPair::DntBtc => "DNTBTC".to_owned(),
3099            &CurrencyPair::DntEth => "DNTETH".to_owned(),
3100            &CurrencyPair::DockBtc => "DOCKBTC".to_owned(),
3101            &CurrencyPair::DockEth => "DOCKETH".to_owned(),
3102            &CurrencyPair::DockUsdt => "DOCKUSDT".to_owned(),
3103            &CurrencyPair::DogeBnb => "DOGEBNB".to_owned(),
3104            &CurrencyPair::DogeBtc => "DOGEBTC".to_owned(),
3105            &CurrencyPair::DogePax => "DOGEPAX".to_owned(),
3106            &CurrencyPair::DogeUsdc => "DOGEUSDC".to_owned(),
3107            &CurrencyPair::DogeUsdt => "DOGEUSDT".to_owned(),
3108            &CurrencyPair::DuskBnb => "DUSKBNB".to_owned(),
3109            &CurrencyPair::DuskBtc => "DUSKBTC".to_owned(),
3110            &CurrencyPair::DuskPax => "DUSKPAX".to_owned(),
3111            &CurrencyPair::DuskUsdc => "DUSKUSDC".to_owned(),
3112            &CurrencyPair::DuskUsdt => "DUSKUSDT".to_owned(),
3113            &CurrencyPair::EdoBtc => "EDOBTC".to_owned(),
3114            &CurrencyPair::EdoEth => "EDOETH".to_owned(),
3115            &CurrencyPair::ElfBtc => "ELFBTC".to_owned(),
3116            &CurrencyPair::ElfEth => "ELFETH".to_owned(),
3117            &CurrencyPair::EngBtc => "ENGBTC".to_owned(),
3118            &CurrencyPair::EngEth => "ENGETH".to_owned(),
3119            &CurrencyPair::EnjBnb => "ENJBNB".to_owned(),
3120            &CurrencyPair::EnjBtc => "ENJBTC".to_owned(),
3121            &CurrencyPair::EnjEth => "ENJETH".to_owned(),
3122            &CurrencyPair::EnjUsdt => "ENJUSDT".to_owned(),
3123            &CurrencyPair::EosBnb => "EOSBNB".to_owned(),
3124            &CurrencyPair::EosBtc => "EOSBTC".to_owned(),
3125            &CurrencyPair::EosBusd => "EOSBUSD".to_owned(),
3126            &CurrencyPair::EosEth => "EOSETH".to_owned(),
3127            &CurrencyPair::EosPax => "EOSPAX".to_owned(),
3128            &CurrencyPair::EosTusd => "EOSTUSD".to_owned(),
3129            &CurrencyPair::EosUsdc => "EOSUSDC".to_owned(),
3130            &CurrencyPair::EosUsdt => "EOSUSDT".to_owned(),
3131            &CurrencyPair::ErdBnb => "ERDBNB".to_owned(),
3132            &CurrencyPair::ErdBtc => "ERDBTC".to_owned(),
3133            &CurrencyPair::ErdPax => "ERDPAX".to_owned(),
3134            &CurrencyPair::ErdUsdc => "ERDUSDC".to_owned(),
3135            &CurrencyPair::ErdUsdt => "ERDUSDT".to_owned(),
3136            &CurrencyPair::EtcBnb => "ETCBNB".to_owned(),
3137            &CurrencyPair::EtcBtc => "ETCBTC".to_owned(),
3138            &CurrencyPair::EtcBusd => "ETCBUSD".to_owned(),
3139            &CurrencyPair::EtcEth => "ETCETH".to_owned(),
3140            &CurrencyPair::EtcPax => "ETCPAX".to_owned(),
3141            &CurrencyPair::EtcTusd => "ETCTUSD".to_owned(),
3142            &CurrencyPair::EtcUsdc => "ETCUSDC".to_owned(),
3143            &CurrencyPair::EtcUsdt => "ETCUSDT".to_owned(),
3144            &CurrencyPair::EthBtc => "ETHBTC".to_owned(),
3145            &CurrencyPair::EthBusd => "ETHBUSD".to_owned(),
3146            &CurrencyPair::EthPax => "ETHPAX".to_owned(),
3147            &CurrencyPair::EthRub => "ETHRUB".to_owned(),
3148            &CurrencyPair::EthTry => "ETHTRY".to_owned(),
3149            &CurrencyPair::EthTusd => "ETHTUSD".to_owned(),
3150            &CurrencyPair::EthUsdc => "ETHUSDC".to_owned(),
3151            &CurrencyPair::EthUsdt => "ETHUSDT".to_owned(),
3152            &CurrencyPair::EvxBtc => "EVXBTC".to_owned(),
3153            &CurrencyPair::EvxEth => "EVXETH".to_owned(),
3154            &CurrencyPair::FetBnb => "FETBNB".to_owned(),
3155            &CurrencyPair::FetBtc => "FETBTC".to_owned(),
3156            &CurrencyPair::FetUsdt => "FETUSDT".to_owned(),
3157            &CurrencyPair::FtmBnb => "FTMBNB".to_owned(),
3158            &CurrencyPair::FtmBtc => "FTMBTC".to_owned(),
3159            &CurrencyPair::FtmPax => "FTMPAX".to_owned(),
3160            &CurrencyPair::FtmTusd => "FTMTUSD".to_owned(),
3161            &CurrencyPair::FtmUsdc => "FTMUSDC".to_owned(),
3162            &CurrencyPair::FtmUsdt => "FTMUSDT".to_owned(),
3163            &CurrencyPair::FttBnb => "FTTBNB".to_owned(),
3164            &CurrencyPair::FttBtc => "FTTBTC".to_owned(),
3165            &CurrencyPair::FttUsdt => "FTTUSDT".to_owned(),
3166            &CurrencyPair::FuelBtc => "FUELBTC".to_owned(),
3167            &CurrencyPair::FuelEth => "FUELETH".to_owned(),
3168            &CurrencyPair::FunBtc => "FUNBTC".to_owned(),
3169            &CurrencyPair::FunEth => "FUNETH".to_owned(),
3170            &CurrencyPair::FunUsdt => "FUNUSDT".to_owned(),
3171            &CurrencyPair::GasBtc => "GASBTC".to_owned(),
3172            &CurrencyPair::GntBnb => "GNTBNB".to_owned(),
3173            &CurrencyPair::GntBtc => "GNTBTC".to_owned(),
3174            &CurrencyPair::GntEth => "GNTETH".to_owned(),
3175            &CurrencyPair::GoBnb => "GOBNB".to_owned(),
3176            &CurrencyPair::GoBtc => "GOBTC".to_owned(),
3177            &CurrencyPair::GrsBtc => "GRSBTC".to_owned(),
3178            &CurrencyPair::GrsEth => "GRSETH".to_owned(),
3179            &CurrencyPair::GtoBnb => "GTOBNB".to_owned(),
3180            &CurrencyPair::GtoBtc => "GTOBTC".to_owned(),
3181            &CurrencyPair::GtoEth => "GTOETH".to_owned(),
3182            &CurrencyPair::GtoPax => "GTOPAX".to_owned(),
3183            &CurrencyPair::GtoTusd => "GTOTUSD".to_owned(),
3184            &CurrencyPair::GtoUsdc => "GTOUSDC".to_owned(),
3185            &CurrencyPair::GtoUsdt => "GTOUSDT".to_owned(),
3186            &CurrencyPair::GvtBtc => "GVTBTC".to_owned(),
3187            &CurrencyPair::GvtEth => "GVTETH".to_owned(),
3188            &CurrencyPair::GxsBtc => "GXSBTC".to_owned(),
3189            &CurrencyPair::GxsEth => "GXSETH".to_owned(),
3190            &CurrencyPair::HbarBnb => "HBARBNB".to_owned(),
3191            &CurrencyPair::HbarBtc => "HBARBTC".to_owned(),
3192            &CurrencyPair::HbarUsdt => "HBARUSDT".to_owned(),
3193            &CurrencyPair::HcBtc => "HCBTC".to_owned(),
3194            &CurrencyPair::HcEth => "HCETH".to_owned(),
3195            &CurrencyPair::HcUsdt => "HCUSDT".to_owned(),
3196            &CurrencyPair::HotBnb => "HOTBNB".to_owned(),
3197            &CurrencyPair::HotBtc => "HOTBTC".to_owned(),
3198            &CurrencyPair::HotEth => "HOTETH".to_owned(),
3199            &CurrencyPair::HotUsdt => "HOTUSDT".to_owned(),
3200            &CurrencyPair::HsrBtc => "HSRBTC".to_owned(),
3201            &CurrencyPair::HsrEth => "HSRETH".to_owned(),
3202            &CurrencyPair::IcnBtc => "ICNBTC".to_owned(),
3203            &CurrencyPair::IcnEth => "ICNETH".to_owned(),
3204            &CurrencyPair::IcxBnb => "ICXBNB".to_owned(),
3205            &CurrencyPair::IcxBtc => "ICXBTC".to_owned(),
3206            &CurrencyPair::IcxEth => "ICXETH".to_owned(),
3207            &CurrencyPair::IcxUsdt => "ICXUSDT".to_owned(),
3208            &CurrencyPair::InsBtc => "INSBTC".to_owned(),
3209            &CurrencyPair::InsEth => "INSETH".to_owned(),
3210            &CurrencyPair::IostBnb => "IOSTBNB".to_owned(),
3211            &CurrencyPair::IostBtc => "IOSTBTC".to_owned(),
3212            &CurrencyPair::IostEth => "IOSTETH".to_owned(),
3213            &CurrencyPair::IostUsdt => "IOSTUSDT".to_owned(),
3214            &CurrencyPair::IotaBnb => "IOTABNB".to_owned(),
3215            &CurrencyPair::IotaBtc => "IOTABTC".to_owned(),
3216            &CurrencyPair::IotaEth => "IOTAETH".to_owned(),
3217            &CurrencyPair::IotaUsdt => "IOTAUSDT".to_owned(),
3218            &CurrencyPair::IotxBtc => "IOTXBTC".to_owned(),
3219            &CurrencyPair::IotxEth => "IOTXETH".to_owned(),
3220            &CurrencyPair::IotxUsdt => "IOTXUSDT".to_owned(),
3221            &CurrencyPair::KavaBnb => "KAVABNB".to_owned(),
3222            &CurrencyPair::KavaBtc => "KAVABTC".to_owned(),
3223            &CurrencyPair::KavaUsdt => "KAVAUSDT".to_owned(),
3224            &CurrencyPair::KeyBtc => "KEYBTC".to_owned(),
3225            &CurrencyPair::KeyEth => "KEYETH".to_owned(),
3226            &CurrencyPair::KeyUsdt => "KEYUSDT".to_owned(),
3227            &CurrencyPair::KmdBtc => "KMDBTC".to_owned(),
3228            &CurrencyPair::KmdEth => "KMDETH".to_owned(),
3229            &CurrencyPair::KncBtc => "KNCBTC".to_owned(),
3230            &CurrencyPair::KncEth => "KNCETH".to_owned(),
3231            &CurrencyPair::LendBtc => "LENDBTC".to_owned(),
3232            &CurrencyPair::LendEth => "LENDETH".to_owned(),
3233            &CurrencyPair::LinkBtc => "LINKBTC".to_owned(),
3234            &CurrencyPair::LinkBusd => "LINKBUSD".to_owned(),
3235            &CurrencyPair::LinkEth => "LINKETH".to_owned(),
3236            &CurrencyPair::LinkPax => "LINKPAX".to_owned(),
3237            &CurrencyPair::LinkTusd => "LINKTUSD".to_owned(),
3238            &CurrencyPair::LinkUsdc => "LINKUSDC".to_owned(),
3239            &CurrencyPair::LinkUsdt => "LINKUSDT".to_owned(),
3240            &CurrencyPair::LoomBnb => "LOOMBNB".to_owned(),
3241            &CurrencyPair::LoomBtc => "LOOMBTC".to_owned(),
3242            &CurrencyPair::LoomEth => "LOOMETH".to_owned(),
3243            &CurrencyPair::LrcBtc => "LRCBTC".to_owned(),
3244            &CurrencyPair::LrcEth => "LRCETH".to_owned(),
3245            &CurrencyPair::LskBnb => "LSKBNB".to_owned(),
3246            &CurrencyPair::LskBtc => "LSKBTC".to_owned(),
3247            &CurrencyPair::LskEth => "LSKETH".to_owned(),
3248            &CurrencyPair::LtcBnb => "LTCBNB".to_owned(),
3249            &CurrencyPair::LtcBtc => "LTCBTC".to_owned(),
3250            &CurrencyPair::LtcBusd => "LTCBUSD".to_owned(),
3251            &CurrencyPair::LtcEth => "LTCETH".to_owned(),
3252            &CurrencyPair::LtcPax => "LTCPAX".to_owned(),
3253            &CurrencyPair::LtcTusd => "LTCTUSD".to_owned(),
3254            &CurrencyPair::LtcUsdc => "LTCUSDC".to_owned(),
3255            &CurrencyPair::LtcUsdt => "LTCUSDT".to_owned(),
3256            &CurrencyPair::LunBtc => "LUNBTC".to_owned(),
3257            &CurrencyPair::LunEth => "LUNETH".to_owned(),
3258            &CurrencyPair::ManaBtc => "MANABTC".to_owned(),
3259            &CurrencyPair::ManaEth => "MANAETH".to_owned(),
3260            &CurrencyPair::MaticBnb => "MATICBNB".to_owned(),
3261            &CurrencyPair::MaticBtc => "MATICBTC".to_owned(),
3262            &CurrencyPair::MaticUsdt => "MATICUSDT".to_owned(),
3263            &CurrencyPair::McoBnb => "MCOBNB".to_owned(),
3264            &CurrencyPair::McoBtc => "MCOBTC".to_owned(),
3265            &CurrencyPair::McoEth => "MCOETH".to_owned(),
3266            &CurrencyPair::McoUsdt => "MCOUSDT".to_owned(),
3267            &CurrencyPair::MdaBtc => "MDABTC".to_owned(),
3268            &CurrencyPair::MdaEth => "MDAETH".to_owned(),
3269            &CurrencyPair::MftBnb => "MFTBNB".to_owned(),
3270            &CurrencyPair::MftBtc => "MFTBTC".to_owned(),
3271            &CurrencyPair::MftEth => "MFTETH".to_owned(),
3272            &CurrencyPair::MftUsdt => "MFTUSDT".to_owned(),
3273            &CurrencyPair::MithBnb => "MITHBNB".to_owned(),
3274            &CurrencyPair::MithBtc => "MITHBTC".to_owned(),
3275            &CurrencyPair::MithUsdt => "MITHUSDT".to_owned(),
3276            &CurrencyPair::ModBtc => "MODBTC".to_owned(),
3277            &CurrencyPair::ModEth => "MODETH".to_owned(),
3278            &CurrencyPair::MthBtc => "MTHBTC".to_owned(),
3279            &CurrencyPair::MthEth => "MTHETH".to_owned(),
3280            &CurrencyPair::MtlBtc => "MTLBTC".to_owned(),
3281            &CurrencyPair::MtlEth => "MTLETH".to_owned(),
3282            &CurrencyPair::MtlUsdt => "MTLUSDT".to_owned(),
3283            &CurrencyPair::NanoBnb => "NANOBNB".to_owned(),
3284            &CurrencyPair::NanoBtc => "NANOBTC".to_owned(),
3285            &CurrencyPair::NanoEth => "NANOETH".to_owned(),
3286            &CurrencyPair::NanoUsdt => "NANOUSDT".to_owned(),
3287            &CurrencyPair::NasBnb => "NASBNB".to_owned(),
3288            &CurrencyPair::NasBtc => "NASBTC".to_owned(),
3289            &CurrencyPair::NasEth => "NASETH".to_owned(),
3290            &CurrencyPair::NavBnb => "NAVBNB".to_owned(),
3291            &CurrencyPair::NavBtc => "NAVBTC".to_owned(),
3292            &CurrencyPair::NavEth => "NAVETH".to_owned(),
3293            &CurrencyPair::NcashBnb => "NCASHBNB".to_owned(),
3294            &CurrencyPair::NcashBtc => "NCASHBTC".to_owned(),
3295            &CurrencyPair::NcashEth => "NCASHETH".to_owned(),
3296            &CurrencyPair::NeblBnb => "NEBLBNB".to_owned(),
3297            &CurrencyPair::NeblBtc => "NEBLBTC".to_owned(),
3298            &CurrencyPair::NeblEth => "NEBLETH".to_owned(),
3299            &CurrencyPair::NeoBnb => "NEOBNB".to_owned(),
3300            &CurrencyPair::NeoBtc => "NEOBTC".to_owned(),
3301            &CurrencyPair::NeoEth => "NEOETH".to_owned(),
3302            &CurrencyPair::NeoPax => "NEOPAX".to_owned(),
3303            &CurrencyPair::NeoTusd => "NEOTUSD".to_owned(),
3304            &CurrencyPair::NeoUsdc => "NEOUSDC".to_owned(),
3305            &CurrencyPair::NeoUsdt => "NEOUSDT".to_owned(),
3306            &CurrencyPair::NknBnb => "NKNBNB".to_owned(),
3307            &CurrencyPair::NknBtc => "NKNBTC".to_owned(),
3308            &CurrencyPair::NknUsdt => "NKNUSDT".to_owned(),
3309            &CurrencyPair::NpxsBtc => "NPXSBTC".to_owned(),
3310            &CurrencyPair::NpxsEth => "NPXSETH".to_owned(),
3311            &CurrencyPair::NpxsUsdc => "NPXSUSDC".to_owned(),
3312            &CurrencyPair::NpxsUsdt => "NPXSUSDT".to_owned(),
3313            &CurrencyPair::NulsBnb => "NULSBNB".to_owned(),
3314            &CurrencyPair::NulsBtc => "NULSBTC".to_owned(),
3315            &CurrencyPair::NulsEth => "NULSETH".to_owned(),
3316            &CurrencyPair::NulsUsdt => "NULSUSDT".to_owned(),
3317            &CurrencyPair::NxsBnb => "NXSBNB".to_owned(),
3318            &CurrencyPair::NxsBtc => "NXSBTC".to_owned(),
3319            &CurrencyPair::NxsEth => "NXSETH".to_owned(),
3320            &CurrencyPair::OaxBtc => "OAXBTC".to_owned(),
3321            &CurrencyPair::OaxEth => "OAXETH".to_owned(),
3322            &CurrencyPair::OmgBnb => "OMGBNB".to_owned(),
3323            &CurrencyPair::OmgBtc => "OMGBTC".to_owned(),
3324            &CurrencyPair::OmgEth => "OMGETH".to_owned(),
3325            &CurrencyPair::OmgUsdt => "OMGUSDT".to_owned(),
3326            &CurrencyPair::OneBnb => "ONEBNB".to_owned(),
3327            &CurrencyPair::OneBtc => "ONEBTC".to_owned(),
3328            &CurrencyPair::OnePax => "ONEPAX".to_owned(),
3329            &CurrencyPair::OneTusd => "ONETUSD".to_owned(),
3330            &CurrencyPair::OneUsdc => "ONEUSDC".to_owned(),
3331            &CurrencyPair::OneUsdt => "ONEUSDT".to_owned(),
3332            &CurrencyPair::OngBnb => "ONGBNB".to_owned(),
3333            &CurrencyPair::OngBtc => "ONGBTC".to_owned(),
3334            &CurrencyPair::OngUsdt => "ONGUSDT".to_owned(),
3335            &CurrencyPair::OntBnb => "ONTBNB".to_owned(),
3336            &CurrencyPair::OntBtc => "ONTBTC".to_owned(),
3337            &CurrencyPair::OntEth => "ONTETH".to_owned(),
3338            &CurrencyPair::OntPax => "ONTPAX".to_owned(),
3339            &CurrencyPair::OntUsdc => "ONTUSDC".to_owned(),
3340            &CurrencyPair::OntUsdt => "ONTUSDT".to_owned(),
3341            &CurrencyPair::OstBnb => "OSTBNB".to_owned(),
3342            &CurrencyPair::OstBtc => "OSTBTC".to_owned(),
3343            &CurrencyPair::OstEth => "OSTETH".to_owned(),
3344            &CurrencyPair::PaxBnb => "PAXBNB".to_owned(),
3345            &CurrencyPair::PaxBtc => "PAXBTC".to_owned(),
3346            &CurrencyPair::PaxEth => "PAXETH".to_owned(),
3347            &CurrencyPair::PaxTusd => "PAXTUSD".to_owned(),
3348            &CurrencyPair::PaxUsdt => "PAXUSDT".to_owned(),
3349            &CurrencyPair::PerlBnb => "PERLBNB".to_owned(),
3350            &CurrencyPair::PerlBtc => "PERLBTC".to_owned(),
3351            &CurrencyPair::PerlUsdc => "PERLUSDC".to_owned(),
3352            &CurrencyPair::PerlUsdt => "PERLUSDT".to_owned(),
3353            &CurrencyPair::PhbBnb => "PHBBNB".to_owned(),
3354            &CurrencyPair::PhbBtc => "PHBBTC".to_owned(),
3355            &CurrencyPair::PhbPax => "PHBPAX".to_owned(),
3356            &CurrencyPair::PhbTusd => "PHBTUSD".to_owned(),
3357            &CurrencyPair::PhbUsdc => "PHBUSDC".to_owned(),
3358            &CurrencyPair::PhxBnb => "PHXBNB".to_owned(),
3359            &CurrencyPair::PhxBtc => "PHXBTC".to_owned(),
3360            &CurrencyPair::PhxEth => "PHXETH".to_owned(),
3361            &CurrencyPair::PivxBnb => "PIVXBNB".to_owned(),
3362            &CurrencyPair::PivxBtc => "PIVXBTC".to_owned(),
3363            &CurrencyPair::PivxEth => "PIVXETH".to_owned(),
3364            &CurrencyPair::PoaBnb => "POABNB".to_owned(),
3365            &CurrencyPair::PoaBtc => "POABTC".to_owned(),
3366            &CurrencyPair::PoaEth => "POAETH".to_owned(),
3367            &CurrencyPair::PoeBtc => "POEBTC".to_owned(),
3368            &CurrencyPair::PoeEth => "POEETH".to_owned(),
3369            &CurrencyPair::PolyBnb => "POLYBNB".to_owned(),
3370            &CurrencyPair::PolyBtc => "POLYBTC".to_owned(),
3371            &CurrencyPair::PowrBnb => "POWRBNB".to_owned(),
3372            &CurrencyPair::PowrBtc => "POWRBTC".to_owned(),
3373            &CurrencyPair::PowrEth => "POWRETH".to_owned(),
3374            &CurrencyPair::PptBtc => "PPTBTC".to_owned(),
3375            &CurrencyPair::PptEth => "PPTETH".to_owned(),
3376            &CurrencyPair::QkcBtc => "QKCBTC".to_owned(),
3377            &CurrencyPair::QkcEth => "QKCETH".to_owned(),
3378            &CurrencyPair::QlcBnb => "QLCBNB".to_owned(),
3379            &CurrencyPair::QlcBtc => "QLCBTC".to_owned(),
3380            &CurrencyPair::QlcEth => "QLCETH".to_owned(),
3381            &CurrencyPair::QspBnb => "QSPBNB".to_owned(),
3382            &CurrencyPair::QspBtc => "QSPBTC".to_owned(),
3383            &CurrencyPair::QspEth => "QSPETH".to_owned(),
3384            &CurrencyPair::QtumBnb => "QTUMBNB".to_owned(),
3385            &CurrencyPair::QtumBtc => "QTUMBTC".to_owned(),
3386            &CurrencyPair::QtumBusd => "QTUMBUSD".to_owned(),
3387            &CurrencyPair::QtumEth => "QTUMETH".to_owned(),
3388            &CurrencyPair::QtumUsdt => "QTUMUSDT".to_owned(),
3389            &CurrencyPair::RcnBnb => "RCNBNB".to_owned(),
3390            &CurrencyPair::RcnBtc => "RCNBTC".to_owned(),
3391            &CurrencyPair::RcnEth => "RCNETH".to_owned(),
3392            &CurrencyPair::RdnBnb => "RDNBNB".to_owned(),
3393            &CurrencyPair::RdnBtc => "RDNBTC".to_owned(),
3394            &CurrencyPair::RdnEth => "RDNETH".to_owned(),
3395            &CurrencyPair::RenBnb => "RENBNB".to_owned(),
3396            &CurrencyPair::RenBtc => "RENBTC".to_owned(),
3397            &CurrencyPair::RenUsdt => "RENUSDT".to_owned(),
3398            &CurrencyPair::RepBnb => "REPBNB".to_owned(),
3399            &CurrencyPair::RepBtc => "REPBTC".to_owned(),
3400            &CurrencyPair::RepEth => "REPETH".to_owned(),
3401            &CurrencyPair::ReqBtc => "REQBTC".to_owned(),
3402            &CurrencyPair::ReqEth => "REQETH".to_owned(),
3403            &CurrencyPair::RlcBnb => "RLCBNB".to_owned(),
3404            &CurrencyPair::RlcBtc => "RLCBTC".to_owned(),
3405            &CurrencyPair::RlcEth => "RLCETH".to_owned(),
3406            &CurrencyPair::RlcUsdt => "RLCUSDT".to_owned(),
3407            &CurrencyPair::RpxBnb => "RPXBNB".to_owned(),
3408            &CurrencyPair::RpxBtc => "RPXBTC".to_owned(),
3409            &CurrencyPair::RpxEth => "RPXETH".to_owned(),
3410            &CurrencyPair::RvnBnb => "RVNBNB".to_owned(),
3411            &CurrencyPair::RvnBtc => "RVNBTC".to_owned(),
3412            &CurrencyPair::RvnUsdt => "RVNUSDT".to_owned(),
3413            &CurrencyPair::SaltBtc => "SALTBTC".to_owned(),
3414            &CurrencyPair::SaltEth => "SALTETH".to_owned(),
3415            &CurrencyPair::ScBnb => "SCBNB".to_owned(),
3416            &CurrencyPair::ScBtc => "SCBTC".to_owned(),
3417            &CurrencyPair::ScEth => "SCETH".to_owned(),
3418            &CurrencyPair::SkyBnb => "SKYBNB".to_owned(),
3419            &CurrencyPair::SkyBtc => "SKYBTC".to_owned(),
3420            &CurrencyPair::SkyEth => "SKYETH".to_owned(),
3421            &CurrencyPair::SnglsBtc => "SNGLSBTC".to_owned(),
3422            &CurrencyPair::SnglsEth => "SNGLSETH".to_owned(),
3423            &CurrencyPair::SnmBtc => "SNMBTC".to_owned(),
3424            &CurrencyPair::SnmEth => "SNMETH".to_owned(),
3425            &CurrencyPair::SntBtc => "SNTBTC".to_owned(),
3426            &CurrencyPair::SntEth => "SNTETH".to_owned(),
3427            &CurrencyPair::SteemBnb => "STEEMBNB".to_owned(),
3428            &CurrencyPair::SteemBtc => "STEEMBTC".to_owned(),
3429            &CurrencyPair::SteemEth => "STEEMETH".to_owned(),
3430            &CurrencyPair::StorjBtc => "STORJBTC".to_owned(),
3431            &CurrencyPair::StorjEth => "STORJETH".to_owned(),
3432            &CurrencyPair::StormBnb => "STORMBNB".to_owned(),
3433            &CurrencyPair::StormBtc => "STORMBTC".to_owned(),
3434            &CurrencyPair::StormEth => "STORMETH".to_owned(),
3435            &CurrencyPair::StormUsdt => "STORMUSDT".to_owned(),
3436            &CurrencyPair::StratBtc => "STRATBTC".to_owned(),
3437            &CurrencyPair::StratEth => "STRATETH".to_owned(),
3438            &CurrencyPair::StxBnb => "STXBNB".to_owned(),
3439            &CurrencyPair::StxBtc => "STXBTC".to_owned(),
3440            &CurrencyPair::StxUsdt => "STXUSDT".to_owned(),
3441            &CurrencyPair::SubBtc => "SUBBTC".to_owned(),
3442            &CurrencyPair::SubEth => "SUBETH".to_owned(),
3443            &CurrencyPair::SysBnb => "SYSBNB".to_owned(),
3444            &CurrencyPair::SysBtc => "SYSBTC".to_owned(),
3445            &CurrencyPair::SysEth => "SYSETH".to_owned(),
3446            &CurrencyPair::TfuelBnb => "TFUELBNB".to_owned(),
3447            &CurrencyPair::TfuelBtc => "TFUELBTC".to_owned(),
3448            &CurrencyPair::TfuelPax => "TFUELPAX".to_owned(),
3449            &CurrencyPair::TfuelTusd => "TFUELTUSD".to_owned(),
3450            &CurrencyPair::TfuelUsdc => "TFUELUSDC".to_owned(),
3451            &CurrencyPair::TfuelUsdt => "TFUELUSDT".to_owned(),
3452            &CurrencyPair::ThetaBnb => "THETABNB".to_owned(),
3453            &CurrencyPair::ThetaBtc => "THETABTC".to_owned(),
3454            &CurrencyPair::ThetaEth => "THETAETH".to_owned(),
3455            &CurrencyPair::ThetaUsdt => "THETAUSDT".to_owned(),
3456            &CurrencyPair::TnbBtc => "TNBBTC".to_owned(),
3457            &CurrencyPair::TnbEth => "TNBETH".to_owned(),
3458            &CurrencyPair::TntBtc => "TNTBTC".to_owned(),
3459            &CurrencyPair::TntEth => "TNTETH".to_owned(),
3460            &CurrencyPair::TomoBnb => "TOMOBNB".to_owned(),
3461            &CurrencyPair::TomoBtc => "TOMOBTC".to_owned(),
3462            &CurrencyPair::TomoUsdc => "TOMOUSDC".to_owned(),
3463            &CurrencyPair::TomoUsdt => "TOMOUSDT".to_owned(),
3464            &CurrencyPair::TrigBnb => "TRIGBNB".to_owned(),
3465            &CurrencyPair::TrigBtc => "TRIGBTC".to_owned(),
3466            &CurrencyPair::TrigEth => "TRIGETH".to_owned(),
3467            &CurrencyPair::TroyBnb => "TROYBNB".to_owned(),
3468            &CurrencyPair::TroyBtc => "TROYBTC".to_owned(),
3469            &CurrencyPair::TroyUsdt => "TROYUSDT".to_owned(),
3470            &CurrencyPair::TrxBnb => "TRXBNB".to_owned(),
3471            &CurrencyPair::TrxBtc => "TRXBTC".to_owned(),
3472            &CurrencyPair::TrxBusd => "TRXBUSD".to_owned(),
3473            &CurrencyPair::TrxEth => "TRXETH".to_owned(),
3474            &CurrencyPair::TrxPax => "TRXPAX".to_owned(),
3475            &CurrencyPair::TrxTusd => "TRXTUSD".to_owned(),
3476            &CurrencyPair::TrxUsdc => "TRXUSDC".to_owned(),
3477            &CurrencyPair::TrxUsdt => "TRXUSDT".to_owned(),
3478            &CurrencyPair::TrxXrp => "TRXXRP".to_owned(),
3479            &CurrencyPair::TusdbTusd => "TUSDBTUSD".to_owned(),
3480            &CurrencyPair::TusdBnb => "TUSDBNB".to_owned(),
3481            &CurrencyPair::TusdBtc => "TUSDBTC".to_owned(),
3482            &CurrencyPair::TusdEth => "TUSDETH".to_owned(),
3483            &CurrencyPair::TusdUsdt => "TUSDUSDT".to_owned(),
3484            &CurrencyPair::UsdcBnb => "USDCBNB".to_owned(),
3485            &CurrencyPair::UsdcDash => "USDCDASH".to_owned(),
3486            &CurrencyPair::UsdcGrin => "USDCGRIN".to_owned(),
3487            &CurrencyPair::UsdcPax => "USDCPAX".to_owned(),
3488            &CurrencyPair::UsdcStr => "USDCSTR".to_owned(),
3489            &CurrencyPair::UsdcTusd => "USDCTUSD".to_owned(),
3490            &CurrencyPair::UsdcUsdt => "USDCUSDT".to_owned(),
3491            &CurrencyPair::UsdcXmr => "USDCXMR".to_owned(),
3492            &CurrencyPair::UsdsbUsds => "USDSBUSDS".to_owned(),
3493            &CurrencyPair::UsdsbUsdt => "USDSBUSDT".to_owned(),
3494            &CurrencyPair::UsdsPax => "USDSPAX".to_owned(),
3495            &CurrencyPair::UsdsTusd => "USDSTUSD".to_owned(),
3496            &CurrencyPair::UsdsUsdc => "USDSUSDC".to_owned(),
3497            &CurrencyPair::UsdsUsdt => "USDSUSDT".to_owned(),
3498            &CurrencyPair::UsdtDgb => "USDTDGB".to_owned(),
3499            &CurrencyPair::UsdtGnt => "USDTGNT".to_owned(),
3500            &CurrencyPair::UsdtGrin => "USDTGRIN".to_owned(),
3501            &CurrencyPair::UsdtLsk => "USDTLSK".to_owned(),
3502            &CurrencyPair::UsdtMana => "USDTMANA".to_owned(),
3503            &CurrencyPair::UsdtNxt => "USDTNXT".to_owned(),
3504            &CurrencyPair::UsdtRep => "USDTREP".to_owned(),
3505            &CurrencyPair::UsdtRub => "USDTRUB".to_owned(),
3506            &CurrencyPair::UsdtSc => "USDTSC".to_owned(),
3507            &CurrencyPair::UsdtStr => "USDTSTR".to_owned(),
3508            &CurrencyPair::UsdtTry => "USDTTRY".to_owned(),
3509            &CurrencyPair::VenBnb => "VENBNB".to_owned(),
3510            &CurrencyPair::VenBtc => "VENBTC".to_owned(),
3511            &CurrencyPair::VenEth => "VENETH".to_owned(),
3512            &CurrencyPair::VenUsdt => "VENUSDT".to_owned(),
3513            &CurrencyPair::VetBnb => "VETBNB".to_owned(),
3514            &CurrencyPair::VetBtc => "VETBTC".to_owned(),
3515            &CurrencyPair::VetBusd => "VETBUSD".to_owned(),
3516            &CurrencyPair::VetEth => "VETETH".to_owned(),
3517            &CurrencyPair::VetUsdt => "VETUSDT".to_owned(),
3518            &CurrencyPair::ViaBnb => "VIABNB".to_owned(),
3519            &CurrencyPair::ViaBtc => "VIABTC".to_owned(),
3520            &CurrencyPair::ViaEth => "VIAETH".to_owned(),
3521            &CurrencyPair::VibeBtc => "VIBEBTC".to_owned(),
3522            &CurrencyPair::VibeEth => "VIBEETH".to_owned(),
3523            &CurrencyPair::VibBtc => "VIBBTC".to_owned(),
3524            &CurrencyPair::VibEth => "VIBETH".to_owned(),
3525            &CurrencyPair::ViteBnb => "VITEBNB".to_owned(),
3526            &CurrencyPair::ViteBtc => "VITEBTC".to_owned(),
3527            &CurrencyPair::ViteUsdt => "VITEUSDT".to_owned(),
3528            &CurrencyPair::WabiBnb => "WABIBNB".to_owned(),
3529            &CurrencyPair::WabiBtc => "WABIBTC".to_owned(),
3530            &CurrencyPair::WabiEth => "WABIETH".to_owned(),
3531            &CurrencyPair::WanBnb => "WANBNB".to_owned(),
3532            &CurrencyPair::WanBtc => "WANBTC".to_owned(),
3533            &CurrencyPair::WanEth => "WANETH".to_owned(),
3534            &CurrencyPair::WanUsdt => "WANUSDT".to_owned(),
3535            &CurrencyPair::WavesBnb => "WAVESBNB".to_owned(),
3536            &CurrencyPair::WavesBtc => "WAVESBTC".to_owned(),
3537            &CurrencyPair::WavesEth => "WAVESETH".to_owned(),
3538            &CurrencyPair::WavesPax => "WAVESPAX".to_owned(),
3539            &CurrencyPair::WavesTusd => "WAVESTUSD".to_owned(),
3540            &CurrencyPair::WavesUsdc => "WAVESUSDC".to_owned(),
3541            &CurrencyPair::WavesUsdt => "WAVESUSDT".to_owned(),
3542            &CurrencyPair::WingsBtc => "WINGSBTC".to_owned(),
3543            &CurrencyPair::WingsEth => "WINGSETH".to_owned(),
3544            &CurrencyPair::WinBnb => "WINBNB".to_owned(),
3545            &CurrencyPair::WinBtc => "WINBTC".to_owned(),
3546            &CurrencyPair::WinTrx => "WINTRX".to_owned(),
3547            &CurrencyPair::WinUsdc => "WINUSDC".to_owned(),
3548            &CurrencyPair::WinUsdt => "WINUSDT".to_owned(),
3549            &CurrencyPair::WprBtc => "WPRBTC".to_owned(),
3550            &CurrencyPair::WprEth => "WPRETH".to_owned(),
3551            &CurrencyPair::WtcBnb => "WTCBNB".to_owned(),
3552            &CurrencyPair::WtcBtc => "WTCBTC".to_owned(),
3553            &CurrencyPair::WtcEth => "WTCETH".to_owned(),
3554            &CurrencyPair::XemBnb => "XEMBNB".to_owned(),
3555            &CurrencyPair::XemBtc => "XEMBTC".to_owned(),
3556            &CurrencyPair::XemEth => "XEMETH".to_owned(),
3557            &CurrencyPair::XlmBnb => "XLMBNB".to_owned(),
3558            &CurrencyPair::XlmBtc => "XLMBTC".to_owned(),
3559            &CurrencyPair::XlmBusd => "XLMBUSD".to_owned(),
3560            &CurrencyPair::XlmEth => "XLMETH".to_owned(),
3561            &CurrencyPair::XlmPax => "XLMPAX".to_owned(),
3562            &CurrencyPair::XlmTusd => "XLMTUSD".to_owned(),
3563            &CurrencyPair::XlmUsdc => "XLMUSDC".to_owned(),
3564            &CurrencyPair::XlmUsdt => "XLMUSDT".to_owned(),
3565            &CurrencyPair::XmrBnb => "XMRBNB".to_owned(),
3566            &CurrencyPair::XmrBtc => "XMRBTC".to_owned(),
3567            &CurrencyPair::XmrEth => "XMRETH".to_owned(),
3568            &CurrencyPair::XmrUsdt => "XMRUSDT".to_owned(),
3569            &CurrencyPair::XrpBnb => "XRPBNB".to_owned(),
3570            &CurrencyPair::XrpBtc => "XRPBTC".to_owned(),
3571            &CurrencyPair::XrpBusd => "XRPBUSD".to_owned(),
3572            &CurrencyPair::XrpEth => "XRPETH".to_owned(),
3573            &CurrencyPair::XrpPax => "XRPPAX".to_owned(),
3574            &CurrencyPair::XrpRub => "XRPRUB".to_owned(),
3575            &CurrencyPair::XrpTry => "XRPTRY".to_owned(),
3576            &CurrencyPair::XrpTusd => "XRPTUSD".to_owned(),
3577            &CurrencyPair::XrpUsdc => "XRPUSDC".to_owned(),
3578            &CurrencyPair::XrpUsdt => "XRPUSDT".to_owned(),
3579            &CurrencyPair::XtzBnb => "XTZBNB".to_owned(),
3580            &CurrencyPair::XtzBtc => "XTZBTC".to_owned(),
3581            &CurrencyPair::XtzUsdt => "XTZUSDT".to_owned(),
3582            &CurrencyPair::XvgBtc => "XVGBTC".to_owned(),
3583            &CurrencyPair::XvgEth => "XVGETH".to_owned(),
3584            &CurrencyPair::XzcBnb => "XZCBNB".to_owned(),
3585            &CurrencyPair::XzcBtc => "XZCBTC".to_owned(),
3586            &CurrencyPair::XzcEth => "XZCETH".to_owned(),
3587            &CurrencyPair::XzcXrp => "XZCXRP".to_owned(),
3588            &CurrencyPair::YoyoBnb => "YOYOBNB".to_owned(),
3589            &CurrencyPair::YoyoBtc => "YOYOBTC".to_owned(),
3590            &CurrencyPair::YoyoEth => "YOYOETH".to_owned(),
3591            &CurrencyPair::ZecBnb => "ZECBNB".to_owned(),
3592            &CurrencyPair::ZecBtc => "ZECBTC".to_owned(),
3593            &CurrencyPair::ZecEth => "ZECETH".to_owned(),
3594            &CurrencyPair::ZecPax => "ZECPAX".to_owned(),
3595            &CurrencyPair::ZecTusd => "ZECTUSD".to_owned(),
3596            &CurrencyPair::ZecUsdc => "ZECUSDC".to_owned(),
3597            &CurrencyPair::ZecUsdt => "ZECUSDT".to_owned(),
3598            &CurrencyPair::ZenBnb => "ZENBNB".to_owned(),
3599            &CurrencyPair::ZenBtc => "ZENBTC".to_owned(),
3600            &CurrencyPair::ZenEth => "ZENETH".to_owned(),
3601            &CurrencyPair::ZilBnb => "ZILBNB".to_owned(),
3602            &CurrencyPair::ZilBtc => "ZILBTC".to_owned(),
3603            &CurrencyPair::ZilEth => "ZILETH".to_owned(),
3604            &CurrencyPair::ZilUsdt => "ZILUSDT".to_owned(),
3605            &CurrencyPair::ZrxBnb => "ZRXBNB".to_owned(),
3606            &CurrencyPair::ZrxBtc => "ZRXBTC".to_owned(),
3607            &CurrencyPair::ZrxEth => "ZRXETH".to_owned(),
3608            &CurrencyPair::ZrxUsdt => "ZRXUSDT".to_owned(),
3609        }
3610    }
3611
3612    pub fn join_reversed(&self) -> String {
3613        match self {
3614            CurrencyPair::Custom(_, ref quote, ref base) => format!("{}_{}", base, quote),
3615            &CurrencyPair::AdaBnb => "BNB_ADA".to_owned(),
3616            &CurrencyPair::AdaBtc => "BTC_ADA".to_owned(),
3617            &CurrencyPair::AdaBusd => "BUSD_ADA".to_owned(),
3618            &CurrencyPair::AdaEth => "ETH_ADA".to_owned(),
3619            &CurrencyPair::AdaPax => "PAX_ADA".to_owned(),
3620            &CurrencyPair::AdaTusd => "TUSD_ADA".to_owned(),
3621            &CurrencyPair::AdaUsdc => "USDC_ADA".to_owned(),
3622            &CurrencyPair::AdaUsdt => "USDT_ADA".to_owned(),
3623            &CurrencyPair::AdxBnb => "BNB_ADX".to_owned(),
3624            &CurrencyPair::AdxBtc => "BTC_ADX".to_owned(),
3625            &CurrencyPair::AdxEth => "ETH_ADX".to_owned(),
3626            &CurrencyPair::AeBnb => "BNB_AE".to_owned(),
3627            &CurrencyPair::AeBtc => "BTC_AE".to_owned(),
3628            &CurrencyPair::AeEth => "ETH_AE".to_owned(),
3629            &CurrencyPair::AgiBnb => "BNB_AGI".to_owned(),
3630            &CurrencyPair::AgiBtc => "BTC_AGI".to_owned(),
3631            &CurrencyPair::AgiEth => "ETH_AGI".to_owned(),
3632            &CurrencyPair::AionBnb => "BNB_AION".to_owned(),
3633            &CurrencyPair::AionBtc => "BTC_AION".to_owned(),
3634            &CurrencyPair::AionEth => "ETH_AION".to_owned(),
3635            &CurrencyPair::AlgoBnb => "BNB_ALGO".to_owned(),
3636            &CurrencyPair::AlgoBtc => "BTC_ALGO".to_owned(),
3637            &CurrencyPair::AlgoPax => "PAX_ALGO".to_owned(),
3638            &CurrencyPair::AlgoTusd => "TUSD_ALGO".to_owned(),
3639            &CurrencyPair::AlgoUsdc => "USDC_ALGO".to_owned(),
3640            &CurrencyPair::AlgoUsdt => "USDT_ALGO".to_owned(),
3641            &CurrencyPair::AmbBnb => "BNB_AMB".to_owned(),
3642            &CurrencyPair::AmbBtc => "BTC_AMB".to_owned(),
3643            &CurrencyPair::AmbEth => "ETH_AMB".to_owned(),
3644            &CurrencyPair::AnkrBnb => "BNB_ANKR".to_owned(),
3645            &CurrencyPair::AnkrBtc => "BTC_ANKR".to_owned(),
3646            &CurrencyPair::AnkrPax => "PAX_ANKR".to_owned(),
3647            &CurrencyPair::AnkrTusd => "TUSD_ANKR".to_owned(),
3648            &CurrencyPair::AnkrUsdc => "USDC_ANKR".to_owned(),
3649            &CurrencyPair::AnkrUsdt => "USDT_ANKR".to_owned(),
3650            &CurrencyPair::AppcBnb => "BNB_APPC".to_owned(),
3651            &CurrencyPair::AppcBtc => "BTC_APPC".to_owned(),
3652            &CurrencyPair::AppcEth => "ETH_APPC".to_owned(),
3653            &CurrencyPair::ArdrBnb => "BNB_ARDR".to_owned(),
3654            &CurrencyPair::ArdrBtc => "BTC_ARDR".to_owned(),
3655            &CurrencyPair::ArdrEth => "ETH_ARDR".to_owned(),
3656            &CurrencyPair::ArkBtc => "BTC_ARK".to_owned(),
3657            &CurrencyPair::ArkEth => "ETH_ARK".to_owned(),
3658            &CurrencyPair::ArnBtc => "BTC_ARN".to_owned(),
3659            &CurrencyPair::ArnEth => "ETH_ARN".to_owned(),
3660            &CurrencyPair::ArpaBnb => "BNB_ARPA".to_owned(),
3661            &CurrencyPair::ArpaBtc => "BTC_ARPA".to_owned(),
3662            &CurrencyPair::ArpaUsdt => "USDT_ARPA".to_owned(),
3663            &CurrencyPair::AstBtc => "BTC_AST".to_owned(),
3664            &CurrencyPair::AstEth => "ETH_AST".to_owned(),
3665            &CurrencyPair::AtomBnb => "BNB_ATOM".to_owned(),
3666            &CurrencyPair::AtomBtc => "BTC_ATOM".to_owned(),
3667            &CurrencyPair::AtomPax => "PAX_ATOM".to_owned(),
3668            &CurrencyPair::AtomTusd => "TUSD_ATOM".to_owned(),
3669            &CurrencyPair::AtomUsdc => "USDC_ATOM".to_owned(),
3670            &CurrencyPair::AtomUsdt => "USDT_ATOM".to_owned(),
3671            &CurrencyPair::BandBnb => "BNB_BAND".to_owned(),
3672            &CurrencyPair::BandBtc => "BTC_BAND".to_owned(),
3673            &CurrencyPair::BandUsdt => "USDT_BAND".to_owned(),
3674            &CurrencyPair::BatBnb => "BNB_BAT".to_owned(),
3675            &CurrencyPair::BatBtc => "BTC_BAT".to_owned(),
3676            &CurrencyPair::BatEth => "ETH_BAT".to_owned(),
3677            &CurrencyPair::BatPax => "PAX_BAT".to_owned(),
3678            &CurrencyPair::BatTusd => "TUSD_BAT".to_owned(),
3679            &CurrencyPair::BatUsdc => "USDC_BAT".to_owned(),
3680            &CurrencyPair::BatUsdt => "USDT_BAT".to_owned(),
3681            &CurrencyPair::BccBnb => "BNB_BCC".to_owned(),
3682            &CurrencyPair::BccBtc => "BTC_BCC".to_owned(),
3683            &CurrencyPair::BccEth => "ETH_BCC".to_owned(),
3684            &CurrencyPair::BccUsdt => "USDT_BCC".to_owned(),
3685            &CurrencyPair::BcdBtc => "BTC_BCD".to_owned(),
3686            &CurrencyPair::BcdEth => "ETH_BCD".to_owned(),
3687            &CurrencyPair::BchabcBtc => "BTC_BCHABC".to_owned(),
3688            &CurrencyPair::BchabcBusd => "BUSD_BCHABC".to_owned(),
3689            &CurrencyPair::BchabcPax => "PAX_BCHABC".to_owned(),
3690            &CurrencyPair::BchabcTusd => "TUSD_BCHABC".to_owned(),
3691            &CurrencyPair::BchabcUsdc => "USDC_BCHABC".to_owned(),
3692            &CurrencyPair::BchabcUsdt => "USDT_BCHABC".to_owned(),
3693            &CurrencyPair::BchsvBtc => "BTC_BCHSV".to_owned(),
3694            &CurrencyPair::BchsvPax => "PAX_BCHSV".to_owned(),
3695            &CurrencyPair::BchsvTusd => "TUSD_BCHSV".to_owned(),
3696            &CurrencyPair::BchsvUsdc => "USDC_BCHSV".to_owned(),
3697            &CurrencyPair::BchsvUsdt => "USDT_BCHSV".to_owned(),
3698            &CurrencyPair::BchBnb => "BNB_BCH".to_owned(),
3699            &CurrencyPair::BchBtc => "BTC_BCH".to_owned(),
3700            &CurrencyPair::BchBusd => "BUSD_BCH".to_owned(),
3701            &CurrencyPair::BchPax => "PAX_BCH".to_owned(),
3702            &CurrencyPair::BchTusd => "TUSD_BCH".to_owned(),
3703            &CurrencyPair::BchUsdc => "USDC_BCH".to_owned(),
3704            &CurrencyPair::BchUsdt => "USDT_BCH".to_owned(),
3705            &CurrencyPair::BcnBnb => "BNB_BCN".to_owned(),
3706            &CurrencyPair::BcnBtc => "BTC_BCN".to_owned(),
3707            &CurrencyPair::BcnEth => "ETH_BCN".to_owned(),
3708            &CurrencyPair::BcptBnb => "BNB_BCPT".to_owned(),
3709            &CurrencyPair::BcptBtc => "BTC_BCPT".to_owned(),
3710            &CurrencyPair::BcptEth => "ETH_BCPT".to_owned(),
3711            &CurrencyPair::BcptPax => "PAX_BCPT".to_owned(),
3712            &CurrencyPair::BcptTusd => "TUSD_BCPT".to_owned(),
3713            &CurrencyPair::BcptUsdc => "USDC_BCPT".to_owned(),
3714            &CurrencyPair::BeamBnb => "BNB_BEAM".to_owned(),
3715            &CurrencyPair::BeamBtc => "BTC_BEAM".to_owned(),
3716            &CurrencyPair::BeamUsdt => "USDT_BEAM".to_owned(),
3717            &CurrencyPair::BgbpUsdc => "USDC_BGBP".to_owned(),
3718            &CurrencyPair::BlzBnb => "BNB_BLZ".to_owned(),
3719            &CurrencyPair::BlzBtc => "BTC_BLZ".to_owned(),
3720            &CurrencyPair::BlzEth => "ETH_BLZ".to_owned(),
3721            &CurrencyPair::BnbBtc => "BTC_BNB".to_owned(),
3722            &CurrencyPair::BnbBusd => "BUSD_BNB".to_owned(),
3723            &CurrencyPair::BnbEth => "ETH_BNB".to_owned(),
3724            &CurrencyPair::BnbNgn => "NGN_BNB".to_owned(),
3725            &CurrencyPair::BnbPax => "PAX_BNB".to_owned(),
3726            &CurrencyPair::BnbRub => "RUB_BNB".to_owned(),
3727            &CurrencyPair::BnbTry => "TRY_BNB".to_owned(),
3728            &CurrencyPair::BnbTusd => "TUSD_BNB".to_owned(),
3729            &CurrencyPair::BnbUsdc => "USDC_BNB".to_owned(),
3730            &CurrencyPair::BnbUsds => "USDS_BNB".to_owned(),
3731            &CurrencyPair::BnbUsdt => "USDT_BNB".to_owned(),
3732            &CurrencyPair::BntBtc => "BTC_BNT".to_owned(),
3733            &CurrencyPair::BntEth => "ETH_BNT".to_owned(),
3734            &CurrencyPair::BqxBtc => "BTC_BQX".to_owned(),
3735            &CurrencyPair::BqxEth => "ETH_BQX".to_owned(),
3736            &CurrencyPair::BrdBnb => "BNB_BRD".to_owned(),
3737            &CurrencyPair::BrdBtc => "BTC_BRD".to_owned(),
3738            &CurrencyPair::BrdEth => "ETH_BRD".to_owned(),
3739            &CurrencyPair::BtcbBtc => "BTC_BTCB".to_owned(),
3740            &CurrencyPair::BtcBusd => "BUSD_BTC".to_owned(),
3741            &CurrencyPair::BtcDgb => "DGB_BTC".to_owned(),
3742            &CurrencyPair::BtcFct => "FCT_BTC".to_owned(),
3743            &CurrencyPair::BtcFoam => "FOAM_BTC".to_owned(),
3744            &CurrencyPair::BtcGrin => "GRIN_BTC".to_owned(),
3745            &CurrencyPair::BtcLpt => "LPT_BTC".to_owned(),
3746            &CurrencyPair::BtcMaid => "MAID_BTC".to_owned(),
3747            &CurrencyPair::BtcNgn => "NGN_BTC".to_owned(),
3748            &CurrencyPair::BtcNmr => "NMR_BTC".to_owned(),
3749            &CurrencyPair::BtcNxt => "NXT_BTC".to_owned(),
3750            &CurrencyPair::BtcOmni => "OMNI_BTC".to_owned(),
3751            &CurrencyPair::BtcPax => "PAX_BTC".to_owned(),
3752            &CurrencyPair::BtcRub => "RUB_BTC".to_owned(),
3753            &CurrencyPair::BtcStr => "STR_BTC".to_owned(),
3754            &CurrencyPair::BtcTry => "TRY_BTC".to_owned(),
3755            &CurrencyPair::BtcTusd => "TUSD_BTC".to_owned(),
3756            &CurrencyPair::BtcUsdc => "USDC_BTC".to_owned(),
3757            &CurrencyPair::BtcUsds => "USDS_BTC".to_owned(),
3758            &CurrencyPair::BtcUsdt => "USDT_BTC".to_owned(),
3759            &CurrencyPair::BtcVtc => "VTC_BTC".to_owned(),
3760            &CurrencyPair::BtcXpm => "XPM_BTC".to_owned(),
3761            &CurrencyPair::BtgBtc => "BTC_BTG".to_owned(),
3762            &CurrencyPair::BtgEth => "ETH_BTG".to_owned(),
3763            &CurrencyPair::BtsBnb => "BNB_BTS".to_owned(),
3764            &CurrencyPair::BtsBtc => "BTC_BTS".to_owned(),
3765            &CurrencyPair::BtsEth => "ETH_BTS".to_owned(),
3766            &CurrencyPair::BttBnb => "BNB_BTT".to_owned(),
3767            &CurrencyPair::BttBtc => "BTC_BTT".to_owned(),
3768            &CurrencyPair::BttPax => "PAX_BTT".to_owned(),
3769            &CurrencyPair::BttTrx => "TRX_BTT".to_owned(),
3770            &CurrencyPair::BttTusd => "TUSD_BTT".to_owned(),
3771            &CurrencyPair::BttUsdc => "USDC_BTT".to_owned(),
3772            &CurrencyPair::BttUsdt => "USDT_BTT".to_owned(),
3773            &CurrencyPair::BusdNgn => "NGN_BUSD".to_owned(),
3774            &CurrencyPair::BusdRub => "RUB_BUSD".to_owned(),
3775            &CurrencyPair::BusdTry => "TRY_BUSD".to_owned(),
3776            &CurrencyPair::BusdUsdt => "USDT_BUSD".to_owned(),
3777            &CurrencyPair::CdtBtc => "BTC_CDT".to_owned(),
3778            &CurrencyPair::CdtEth => "ETH_CDT".to_owned(),
3779            &CurrencyPair::CelrBnb => "BNB_CELR".to_owned(),
3780            &CurrencyPair::CelrBtc => "BTC_CELR".to_owned(),
3781            &CurrencyPair::CelrUsdt => "USDT_CELR".to_owned(),
3782            &CurrencyPair::ChatBtc => "BTC_CHAT".to_owned(),
3783            &CurrencyPair::ChatEth => "ETH_CHAT".to_owned(),
3784            &CurrencyPair::ChzBnb => "BNB_CHZ".to_owned(),
3785            &CurrencyPair::ChzBtc => "BTC_CHZ".to_owned(),
3786            &CurrencyPair::ChzUsdt => "USDT_CHZ".to_owned(),
3787            &CurrencyPair::CloakBtc => "BTC_CLOAK".to_owned(),
3788            &CurrencyPair::CloakEth => "ETH_CLOAK".to_owned(),
3789            &CurrencyPair::CmtBnb => "BNB_CMT".to_owned(),
3790            &CurrencyPair::CmtBtc => "BTC_CMT".to_owned(),
3791            &CurrencyPair::CmtEth => "ETH_CMT".to_owned(),
3792            &CurrencyPair::CndBnb => "BNB_CND".to_owned(),
3793            &CurrencyPair::CndBtc => "BTC_CND".to_owned(),
3794            &CurrencyPair::CndEth => "ETH_CND".to_owned(),
3795            &CurrencyPair::CocosBnb => "BNB_COCOS".to_owned(),
3796            &CurrencyPair::CocosBtc => "BTC_COCOS".to_owned(),
3797            &CurrencyPair::CocosUsdt => "USDT_COCOS".to_owned(),
3798            &CurrencyPair::CosBnb => "BNB_COS".to_owned(),
3799            &CurrencyPair::CosBtc => "BTC_COS".to_owned(),
3800            &CurrencyPair::CosUsdt => "USDT_COS".to_owned(),
3801            &CurrencyPair::CtxcBnb => "BNB_CTXC".to_owned(),
3802            &CurrencyPair::CtxcBtc => "BTC_CTXC".to_owned(),
3803            &CurrencyPair::CtxcUsdt => "USDT_CTXC".to_owned(),
3804            &CurrencyPair::CvcBnb => "BNB_CVC".to_owned(),
3805            &CurrencyPair::CvcBtc => "BTC_CVC".to_owned(),
3806            &CurrencyPair::CvcEth => "ETH_CVC".to_owned(),
3807            &CurrencyPair::CvcUsdt => "USDT_CVC".to_owned(),
3808            &CurrencyPair::DashBnb => "BNB_DASH".to_owned(),
3809            &CurrencyPair::DashBtc => "BTC_DASH".to_owned(),
3810            &CurrencyPair::DashEth => "ETH_DASH".to_owned(),
3811            &CurrencyPair::DashUsdt => "USDT_DASH".to_owned(),
3812            &CurrencyPair::DataBtc => "BTC_DATA".to_owned(),
3813            &CurrencyPair::DataEth => "ETH_DATA".to_owned(),
3814            &CurrencyPair::DcrBnb => "BNB_DCR".to_owned(),
3815            &CurrencyPair::DcrBtc => "BTC_DCR".to_owned(),
3816            &CurrencyPair::DentBtc => "BTC_DENT".to_owned(),
3817            &CurrencyPair::DentEth => "ETH_DENT".to_owned(),
3818            &CurrencyPair::DentUsdt => "USDT_DENT".to_owned(),
3819            &CurrencyPair::DgdBtc => "BTC_DGD".to_owned(),
3820            &CurrencyPair::DgdEth => "ETH_DGD".to_owned(),
3821            &CurrencyPair::DltBnb => "BNB_DLT".to_owned(),
3822            &CurrencyPair::DltBtc => "BTC_DLT".to_owned(),
3823            &CurrencyPair::DltEth => "ETH_DLT".to_owned(),
3824            &CurrencyPair::DntBtc => "BTC_DNT".to_owned(),
3825            &CurrencyPair::DntEth => "ETH_DNT".to_owned(),
3826            &CurrencyPair::DockBtc => "BTC_DOCK".to_owned(),
3827            &CurrencyPair::DockEth => "ETH_DOCK".to_owned(),
3828            &CurrencyPair::DockUsdt => "USDT_DOCK".to_owned(),
3829            &CurrencyPair::DogeBnb => "BNB_DOGE".to_owned(),
3830            &CurrencyPair::DogeBtc => "BTC_DOGE".to_owned(),
3831            &CurrencyPair::DogePax => "PAX_DOGE".to_owned(),
3832            &CurrencyPair::DogeUsdc => "USDC_DOGE".to_owned(),
3833            &CurrencyPair::DogeUsdt => "USDT_DOGE".to_owned(),
3834            &CurrencyPair::DuskBnb => "BNB_DUSK".to_owned(),
3835            &CurrencyPair::DuskBtc => "BTC_DUSK".to_owned(),
3836            &CurrencyPair::DuskPax => "PAX_DUSK".to_owned(),
3837            &CurrencyPair::DuskUsdc => "USDC_DUSK".to_owned(),
3838            &CurrencyPair::DuskUsdt => "USDT_DUSK".to_owned(),
3839            &CurrencyPair::EdoBtc => "BTC_EDO".to_owned(),
3840            &CurrencyPair::EdoEth => "ETH_EDO".to_owned(),
3841            &CurrencyPair::ElfBtc => "BTC_ELF".to_owned(),
3842            &CurrencyPair::ElfEth => "ETH_ELF".to_owned(),
3843            &CurrencyPair::EngBtc => "BTC_ENG".to_owned(),
3844            &CurrencyPair::EngEth => "ETH_ENG".to_owned(),
3845            &CurrencyPair::EnjBnb => "BNB_ENJ".to_owned(),
3846            &CurrencyPair::EnjBtc => "BTC_ENJ".to_owned(),
3847            &CurrencyPair::EnjEth => "ETH_ENJ".to_owned(),
3848            &CurrencyPair::EnjUsdt => "USDT_ENJ".to_owned(),
3849            &CurrencyPair::EosBnb => "BNB_EOS".to_owned(),
3850            &CurrencyPair::EosBtc => "BTC_EOS".to_owned(),
3851            &CurrencyPair::EosBusd => "BUSD_EOS".to_owned(),
3852            &CurrencyPair::EosEth => "ETH_EOS".to_owned(),
3853            &CurrencyPair::EosPax => "PAX_EOS".to_owned(),
3854            &CurrencyPair::EosTusd => "TUSD_EOS".to_owned(),
3855            &CurrencyPair::EosUsdc => "USDC_EOS".to_owned(),
3856            &CurrencyPair::EosUsdt => "USDT_EOS".to_owned(),
3857            &CurrencyPair::ErdBnb => "BNB_ERD".to_owned(),
3858            &CurrencyPair::ErdBtc => "BTC_ERD".to_owned(),
3859            &CurrencyPair::ErdPax => "PAX_ERD".to_owned(),
3860            &CurrencyPair::ErdUsdc => "USDC_ERD".to_owned(),
3861            &CurrencyPair::ErdUsdt => "USDT_ERD".to_owned(),
3862            &CurrencyPair::EtcBnb => "BNB_ETC".to_owned(),
3863            &CurrencyPair::EtcBtc => "BTC_ETC".to_owned(),
3864            &CurrencyPair::EtcBusd => "BUSD_ETC".to_owned(),
3865            &CurrencyPair::EtcEth => "ETH_ETC".to_owned(),
3866            &CurrencyPair::EtcPax => "PAX_ETC".to_owned(),
3867            &CurrencyPair::EtcTusd => "TUSD_ETC".to_owned(),
3868            &CurrencyPair::EtcUsdc => "USDC_ETC".to_owned(),
3869            &CurrencyPair::EtcUsdt => "USDT_ETC".to_owned(),
3870            &CurrencyPair::EthBtc => "BTC_ETH".to_owned(),
3871            &CurrencyPair::EthBusd => "BUSD_ETH".to_owned(),
3872            &CurrencyPair::EthPax => "PAX_ETH".to_owned(),
3873            &CurrencyPair::EthRub => "RUB_ETH".to_owned(),
3874            &CurrencyPair::EthTry => "TRY_ETH".to_owned(),
3875            &CurrencyPair::EthTusd => "TUSD_ETH".to_owned(),
3876            &CurrencyPair::EthUsdc => "USDC_ETH".to_owned(),
3877            &CurrencyPair::EthUsdt => "USDT_ETH".to_owned(),
3878            &CurrencyPair::EvxBtc => "BTC_EVX".to_owned(),
3879            &CurrencyPair::EvxEth => "ETH_EVX".to_owned(),
3880            &CurrencyPair::FetBnb => "BNB_FET".to_owned(),
3881            &CurrencyPair::FetBtc => "BTC_FET".to_owned(),
3882            &CurrencyPair::FetUsdt => "USDT_FET".to_owned(),
3883            &CurrencyPair::FtmBnb => "BNB_FTM".to_owned(),
3884            &CurrencyPair::FtmBtc => "BTC_FTM".to_owned(),
3885            &CurrencyPair::FtmPax => "PAX_FTM".to_owned(),
3886            &CurrencyPair::FtmTusd => "TUSD_FTM".to_owned(),
3887            &CurrencyPair::FtmUsdc => "USDC_FTM".to_owned(),
3888            &CurrencyPair::FtmUsdt => "USDT_FTM".to_owned(),
3889            &CurrencyPair::FttBnb => "BNB_FTT".to_owned(),
3890            &CurrencyPair::FttBtc => "BTC_FTT".to_owned(),
3891            &CurrencyPair::FttUsdt => "USDT_FTT".to_owned(),
3892            &CurrencyPair::FuelBtc => "BTC_FUEL".to_owned(),
3893            &CurrencyPair::FuelEth => "ETH_FUEL".to_owned(),
3894            &CurrencyPair::FunBtc => "BTC_FUN".to_owned(),
3895            &CurrencyPair::FunEth => "ETH_FUN".to_owned(),
3896            &CurrencyPair::FunUsdt => "USDT_FUN".to_owned(),
3897            &CurrencyPair::GasBtc => "BTC_GAS".to_owned(),
3898            &CurrencyPair::GntBnb => "BNB_GNT".to_owned(),
3899            &CurrencyPair::GntBtc => "BTC_GNT".to_owned(),
3900            &CurrencyPair::GntEth => "ETH_GNT".to_owned(),
3901            &CurrencyPair::GoBnb => "BNB_GO".to_owned(),
3902            &CurrencyPair::GoBtc => "BTC_GO".to_owned(),
3903            &CurrencyPair::GrsBtc => "BTC_GRS".to_owned(),
3904            &CurrencyPair::GrsEth => "ETH_GRS".to_owned(),
3905            &CurrencyPair::GtoBnb => "BNB_GTO".to_owned(),
3906            &CurrencyPair::GtoBtc => "BTC_GTO".to_owned(),
3907            &CurrencyPair::GtoEth => "ETH_GTO".to_owned(),
3908            &CurrencyPair::GtoPax => "PAX_GTO".to_owned(),
3909            &CurrencyPair::GtoTusd => "TUSD_GTO".to_owned(),
3910            &CurrencyPair::GtoUsdc => "USDC_GTO".to_owned(),
3911            &CurrencyPair::GtoUsdt => "USDT_GTO".to_owned(),
3912            &CurrencyPair::GvtBtc => "BTC_GVT".to_owned(),
3913            &CurrencyPair::GvtEth => "ETH_GVT".to_owned(),
3914            &CurrencyPair::GxsBtc => "BTC_GXS".to_owned(),
3915            &CurrencyPair::GxsEth => "ETH_GXS".to_owned(),
3916            &CurrencyPair::HbarBnb => "BNB_HBAR".to_owned(),
3917            &CurrencyPair::HbarBtc => "BTC_HBAR".to_owned(),
3918            &CurrencyPair::HbarUsdt => "USDT_HBAR".to_owned(),
3919            &CurrencyPair::HcBtc => "BTC_HC".to_owned(),
3920            &CurrencyPair::HcEth => "ETH_HC".to_owned(),
3921            &CurrencyPair::HcUsdt => "USDT_HC".to_owned(),
3922            &CurrencyPair::HotBnb => "BNB_HOT".to_owned(),
3923            &CurrencyPair::HotBtc => "BTC_HOT".to_owned(),
3924            &CurrencyPair::HotEth => "ETH_HOT".to_owned(),
3925            &CurrencyPair::HotUsdt => "USDT_HOT".to_owned(),
3926            &CurrencyPair::HsrBtc => "BTC_HSR".to_owned(),
3927            &CurrencyPair::HsrEth => "ETH_HSR".to_owned(),
3928            &CurrencyPair::IcnBtc => "BTC_ICN".to_owned(),
3929            &CurrencyPair::IcnEth => "ETH_ICN".to_owned(),
3930            &CurrencyPair::IcxBnb => "BNB_ICX".to_owned(),
3931            &CurrencyPair::IcxBtc => "BTC_ICX".to_owned(),
3932            &CurrencyPair::IcxEth => "ETH_ICX".to_owned(),
3933            &CurrencyPair::IcxUsdt => "USDT_ICX".to_owned(),
3934            &CurrencyPair::InsBtc => "BTC_INS".to_owned(),
3935            &CurrencyPair::InsEth => "ETH_INS".to_owned(),
3936            &CurrencyPair::IostBnb => "BNB_IOST".to_owned(),
3937            &CurrencyPair::IostBtc => "BTC_IOST".to_owned(),
3938            &CurrencyPair::IostEth => "ETH_IOST".to_owned(),
3939            &CurrencyPair::IostUsdt => "USDT_IOST".to_owned(),
3940            &CurrencyPair::IotaBnb => "BNB_IOTA".to_owned(),
3941            &CurrencyPair::IotaBtc => "BTC_IOTA".to_owned(),
3942            &CurrencyPair::IotaEth => "ETH_IOTA".to_owned(),
3943            &CurrencyPair::IotaUsdt => "USDT_IOTA".to_owned(),
3944            &CurrencyPair::IotxBtc => "BTC_IOTX".to_owned(),
3945            &CurrencyPair::IotxEth => "ETH_IOTX".to_owned(),
3946            &CurrencyPair::IotxUsdt => "USDT_IOTX".to_owned(),
3947            &CurrencyPair::KavaBnb => "BNB_KAVA".to_owned(),
3948            &CurrencyPair::KavaBtc => "BTC_KAVA".to_owned(),
3949            &CurrencyPair::KavaUsdt => "USDT_KAVA".to_owned(),
3950            &CurrencyPair::KeyBtc => "BTC_KEY".to_owned(),
3951            &CurrencyPair::KeyEth => "ETH_KEY".to_owned(),
3952            &CurrencyPair::KeyUsdt => "USDT_KEY".to_owned(),
3953            &CurrencyPair::KmdBtc => "BTC_KMD".to_owned(),
3954            &CurrencyPair::KmdEth => "ETH_KMD".to_owned(),
3955            &CurrencyPair::KncBtc => "BTC_KNC".to_owned(),
3956            &CurrencyPair::KncEth => "ETH_KNC".to_owned(),
3957            &CurrencyPair::LendBtc => "BTC_LEND".to_owned(),
3958            &CurrencyPair::LendEth => "ETH_LEND".to_owned(),
3959            &CurrencyPair::LinkBtc => "BTC_LINK".to_owned(),
3960            &CurrencyPair::LinkBusd => "BUSD_LINK".to_owned(),
3961            &CurrencyPair::LinkEth => "ETH_LINK".to_owned(),
3962            &CurrencyPair::LinkPax => "PAX_LINK".to_owned(),
3963            &CurrencyPair::LinkTusd => "TUSD_LINK".to_owned(),
3964            &CurrencyPair::LinkUsdc => "USDC_LINK".to_owned(),
3965            &CurrencyPair::LinkUsdt => "USDT_LINK".to_owned(),
3966            &CurrencyPair::LoomBnb => "BNB_LOOM".to_owned(),
3967            &CurrencyPair::LoomBtc => "BTC_LOOM".to_owned(),
3968            &CurrencyPair::LoomEth => "ETH_LOOM".to_owned(),
3969            &CurrencyPair::LrcBtc => "BTC_LRC".to_owned(),
3970            &CurrencyPair::LrcEth => "ETH_LRC".to_owned(),
3971            &CurrencyPair::LskBnb => "BNB_LSK".to_owned(),
3972            &CurrencyPair::LskBtc => "BTC_LSK".to_owned(),
3973            &CurrencyPair::LskEth => "ETH_LSK".to_owned(),
3974            &CurrencyPair::LtcBnb => "BNB_LTC".to_owned(),
3975            &CurrencyPair::LtcBtc => "BTC_LTC".to_owned(),
3976            &CurrencyPair::LtcBusd => "BUSD_LTC".to_owned(),
3977            &CurrencyPair::LtcEth => "ETH_LTC".to_owned(),
3978            &CurrencyPair::LtcPax => "PAX_LTC".to_owned(),
3979            &CurrencyPair::LtcTusd => "TUSD_LTC".to_owned(),
3980            &CurrencyPair::LtcUsdc => "USDC_LTC".to_owned(),
3981            &CurrencyPair::LtcUsdt => "USDT_LTC".to_owned(),
3982            &CurrencyPair::LunBtc => "BTC_LUN".to_owned(),
3983            &CurrencyPair::LunEth => "ETH_LUN".to_owned(),
3984            &CurrencyPair::ManaBtc => "BTC_MANA".to_owned(),
3985            &CurrencyPair::ManaEth => "ETH_MANA".to_owned(),
3986            &CurrencyPair::MaticBnb => "BNB_MATIC".to_owned(),
3987            &CurrencyPair::MaticBtc => "BTC_MATIC".to_owned(),
3988            &CurrencyPair::MaticUsdt => "USDT_MATIC".to_owned(),
3989            &CurrencyPair::McoBnb => "BNB_MCO".to_owned(),
3990            &CurrencyPair::McoBtc => "BTC_MCO".to_owned(),
3991            &CurrencyPair::McoEth => "ETH_MCO".to_owned(),
3992            &CurrencyPair::McoUsdt => "USDT_MCO".to_owned(),
3993            &CurrencyPair::MdaBtc => "BTC_MDA".to_owned(),
3994            &CurrencyPair::MdaEth => "ETH_MDA".to_owned(),
3995            &CurrencyPair::MftBnb => "BNB_MFT".to_owned(),
3996            &CurrencyPair::MftBtc => "BTC_MFT".to_owned(),
3997            &CurrencyPair::MftEth => "ETH_MFT".to_owned(),
3998            &CurrencyPair::MftUsdt => "USDT_MFT".to_owned(),
3999            &CurrencyPair::MithBnb => "BNB_MITH".to_owned(),
4000            &CurrencyPair::MithBtc => "BTC_MITH".to_owned(),
4001            &CurrencyPair::MithUsdt => "USDT_MITH".to_owned(),
4002            &CurrencyPair::ModBtc => "BTC_MOD".to_owned(),
4003            &CurrencyPair::ModEth => "ETH_MOD".to_owned(),
4004            &CurrencyPair::MthBtc => "BTC_MTH".to_owned(),
4005            &CurrencyPair::MthEth => "ETH_MTH".to_owned(),
4006            &CurrencyPair::MtlBtc => "BTC_MTL".to_owned(),
4007            &CurrencyPair::MtlEth => "ETH_MTL".to_owned(),
4008            &CurrencyPair::MtlUsdt => "USDT_MTL".to_owned(),
4009            &CurrencyPair::NanoBnb => "BNB_NANO".to_owned(),
4010            &CurrencyPair::NanoBtc => "BTC_NANO".to_owned(),
4011            &CurrencyPair::NanoEth => "ETH_NANO".to_owned(),
4012            &CurrencyPair::NanoUsdt => "USDT_NANO".to_owned(),
4013            &CurrencyPair::NasBnb => "BNB_NAS".to_owned(),
4014            &CurrencyPair::NasBtc => "BTC_NAS".to_owned(),
4015            &CurrencyPair::NasEth => "ETH_NAS".to_owned(),
4016            &CurrencyPair::NavBnb => "BNB_NAV".to_owned(),
4017            &CurrencyPair::NavBtc => "BTC_NAV".to_owned(),
4018            &CurrencyPair::NavEth => "ETH_NAV".to_owned(),
4019            &CurrencyPair::NcashBnb => "BNB_NCASH".to_owned(),
4020            &CurrencyPair::NcashBtc => "BTC_NCASH".to_owned(),
4021            &CurrencyPair::NcashEth => "ETH_NCASH".to_owned(),
4022            &CurrencyPair::NeblBnb => "BNB_NEBL".to_owned(),
4023            &CurrencyPair::NeblBtc => "BTC_NEBL".to_owned(),
4024            &CurrencyPair::NeblEth => "ETH_NEBL".to_owned(),
4025            &CurrencyPair::NeoBnb => "BNB_NEO".to_owned(),
4026            &CurrencyPair::NeoBtc => "BTC_NEO".to_owned(),
4027            &CurrencyPair::NeoEth => "ETH_NEO".to_owned(),
4028            &CurrencyPair::NeoPax => "PAX_NEO".to_owned(),
4029            &CurrencyPair::NeoTusd => "TUSD_NEO".to_owned(),
4030            &CurrencyPair::NeoUsdc => "USDC_NEO".to_owned(),
4031            &CurrencyPair::NeoUsdt => "USDT_NEO".to_owned(),
4032            &CurrencyPair::NknBnb => "BNB_NKN".to_owned(),
4033            &CurrencyPair::NknBtc => "BTC_NKN".to_owned(),
4034            &CurrencyPair::NknUsdt => "USDT_NKN".to_owned(),
4035            &CurrencyPair::NpxsBtc => "BTC_NPXS".to_owned(),
4036            &CurrencyPair::NpxsEth => "ETH_NPXS".to_owned(),
4037            &CurrencyPair::NpxsUsdc => "USDC_NPXS".to_owned(),
4038            &CurrencyPair::NpxsUsdt => "USDT_NPXS".to_owned(),
4039            &CurrencyPair::NulsBnb => "BNB_NULS".to_owned(),
4040            &CurrencyPair::NulsBtc => "BTC_NULS".to_owned(),
4041            &CurrencyPair::NulsEth => "ETH_NULS".to_owned(),
4042            &CurrencyPair::NulsUsdt => "USDT_NULS".to_owned(),
4043            &CurrencyPair::NxsBnb => "BNB_NXS".to_owned(),
4044            &CurrencyPair::NxsBtc => "BTC_NXS".to_owned(),
4045            &CurrencyPair::NxsEth => "ETH_NXS".to_owned(),
4046            &CurrencyPair::OaxBtc => "BTC_OAX".to_owned(),
4047            &CurrencyPair::OaxEth => "ETH_OAX".to_owned(),
4048            &CurrencyPair::OmgBnb => "BNB_OMG".to_owned(),
4049            &CurrencyPair::OmgBtc => "BTC_OMG".to_owned(),
4050            &CurrencyPair::OmgEth => "ETH_OMG".to_owned(),
4051            &CurrencyPair::OmgUsdt => "USDT_OMG".to_owned(),
4052            &CurrencyPair::OneBnb => "BNB_ONE".to_owned(),
4053            &CurrencyPair::OneBtc => "BTC_ONE".to_owned(),
4054            &CurrencyPair::OnePax => "PAX_ONE".to_owned(),
4055            &CurrencyPair::OneTusd => "TUSD_ONE".to_owned(),
4056            &CurrencyPair::OneUsdc => "USDC_ONE".to_owned(),
4057            &CurrencyPair::OneUsdt => "USDT_ONE".to_owned(),
4058            &CurrencyPair::OngBnb => "BNB_ONG".to_owned(),
4059            &CurrencyPair::OngBtc => "BTC_ONG".to_owned(),
4060            &CurrencyPair::OngUsdt => "USDT_ONG".to_owned(),
4061            &CurrencyPair::OntBnb => "BNB_ONT".to_owned(),
4062            &CurrencyPair::OntBtc => "BTC_ONT".to_owned(),
4063            &CurrencyPair::OntEth => "ETH_ONT".to_owned(),
4064            &CurrencyPair::OntPax => "PAX_ONT".to_owned(),
4065            &CurrencyPair::OntUsdc => "USDC_ONT".to_owned(),
4066            &CurrencyPair::OntUsdt => "USDT_ONT".to_owned(),
4067            &CurrencyPair::OstBnb => "BNB_OST".to_owned(),
4068            &CurrencyPair::OstBtc => "BTC_OST".to_owned(),
4069            &CurrencyPair::OstEth => "ETH_OST".to_owned(),
4070            &CurrencyPair::PaxBnb => "BNB_PAX".to_owned(),
4071            &CurrencyPair::PaxBtc => "BTC_PAX".to_owned(),
4072            &CurrencyPair::PaxEth => "ETH_PAX".to_owned(),
4073            &CurrencyPair::PaxTusd => "TUSD_PAX".to_owned(),
4074            &CurrencyPair::PaxUsdt => "USDT_PAX".to_owned(),
4075            &CurrencyPair::PerlBnb => "BNB_PERL".to_owned(),
4076            &CurrencyPair::PerlBtc => "BTC_PERL".to_owned(),
4077            &CurrencyPair::PerlUsdc => "USDC_PERL".to_owned(),
4078            &CurrencyPair::PerlUsdt => "USDT_PERL".to_owned(),
4079            &CurrencyPair::PhbBnb => "BNB_PHB".to_owned(),
4080            &CurrencyPair::PhbBtc => "BTC_PHB".to_owned(),
4081            &CurrencyPair::PhbPax => "PAX_PHB".to_owned(),
4082            &CurrencyPair::PhbTusd => "TUSD_PHB".to_owned(),
4083            &CurrencyPair::PhbUsdc => "USDC_PHB".to_owned(),
4084            &CurrencyPair::PhxBnb => "BNB_PHX".to_owned(),
4085            &CurrencyPair::PhxBtc => "BTC_PHX".to_owned(),
4086            &CurrencyPair::PhxEth => "ETH_PHX".to_owned(),
4087            &CurrencyPair::PivxBnb => "BNB_PIVX".to_owned(),
4088            &CurrencyPair::PivxBtc => "BTC_PIVX".to_owned(),
4089            &CurrencyPair::PivxEth => "ETH_PIVX".to_owned(),
4090            &CurrencyPair::PoaBnb => "BNB_POA".to_owned(),
4091            &CurrencyPair::PoaBtc => "BTC_POA".to_owned(),
4092            &CurrencyPair::PoaEth => "ETH_POA".to_owned(),
4093            &CurrencyPair::PoeBtc => "BTC_POE".to_owned(),
4094            &CurrencyPair::PoeEth => "ETH_POE".to_owned(),
4095            &CurrencyPair::PolyBnb => "BNB_POLY".to_owned(),
4096            &CurrencyPair::PolyBtc => "BTC_POLY".to_owned(),
4097            &CurrencyPair::PowrBnb => "BNB_POWR".to_owned(),
4098            &CurrencyPair::PowrBtc => "BTC_POWR".to_owned(),
4099            &CurrencyPair::PowrEth => "ETH_POWR".to_owned(),
4100            &CurrencyPair::PptBtc => "BTC_PPT".to_owned(),
4101            &CurrencyPair::PptEth => "ETH_PPT".to_owned(),
4102            &CurrencyPair::QkcBtc => "BTC_QKC".to_owned(),
4103            &CurrencyPair::QkcEth => "ETH_QKC".to_owned(),
4104            &CurrencyPair::QlcBnb => "BNB_QLC".to_owned(),
4105            &CurrencyPair::QlcBtc => "BTC_QLC".to_owned(),
4106            &CurrencyPair::QlcEth => "ETH_QLC".to_owned(),
4107            &CurrencyPair::QspBnb => "BNB_QSP".to_owned(),
4108            &CurrencyPair::QspBtc => "BTC_QSP".to_owned(),
4109            &CurrencyPair::QspEth => "ETH_QSP".to_owned(),
4110            &CurrencyPair::QtumBnb => "BNB_QTUM".to_owned(),
4111            &CurrencyPair::QtumBtc => "BTC_QTUM".to_owned(),
4112            &CurrencyPair::QtumBusd => "BUSD_QTUM".to_owned(),
4113            &CurrencyPair::QtumEth => "ETH_QTUM".to_owned(),
4114            &CurrencyPair::QtumUsdt => "USDT_QTUM".to_owned(),
4115            &CurrencyPair::RcnBnb => "BNB_RCN".to_owned(),
4116            &CurrencyPair::RcnBtc => "BTC_RCN".to_owned(),
4117            &CurrencyPair::RcnEth => "ETH_RCN".to_owned(),
4118            &CurrencyPair::RdnBnb => "BNB_RDN".to_owned(),
4119            &CurrencyPair::RdnBtc => "BTC_RDN".to_owned(),
4120            &CurrencyPair::RdnEth => "ETH_RDN".to_owned(),
4121            &CurrencyPair::RenBnb => "BNB_REN".to_owned(),
4122            &CurrencyPair::RenBtc => "BTC_REN".to_owned(),
4123            &CurrencyPair::RenUsdt => "USDT_REN".to_owned(),
4124            &CurrencyPair::RepBnb => "BNB_REP".to_owned(),
4125            &CurrencyPair::RepBtc => "BTC_REP".to_owned(),
4126            &CurrencyPair::RepEth => "ETH_REP".to_owned(),
4127            &CurrencyPair::ReqBtc => "BTC_REQ".to_owned(),
4128            &CurrencyPair::ReqEth => "ETH_REQ".to_owned(),
4129            &CurrencyPair::RlcBnb => "BNB_RLC".to_owned(),
4130            &CurrencyPair::RlcBtc => "BTC_RLC".to_owned(),
4131            &CurrencyPair::RlcEth => "ETH_RLC".to_owned(),
4132            &CurrencyPair::RlcUsdt => "USDT_RLC".to_owned(),
4133            &CurrencyPair::RpxBnb => "BNB_RPX".to_owned(),
4134            &CurrencyPair::RpxBtc => "BTC_RPX".to_owned(),
4135            &CurrencyPair::RpxEth => "ETH_RPX".to_owned(),
4136            &CurrencyPair::RvnBnb => "BNB_RVN".to_owned(),
4137            &CurrencyPair::RvnBtc => "BTC_RVN".to_owned(),
4138            &CurrencyPair::RvnUsdt => "USDT_RVN".to_owned(),
4139            &CurrencyPair::SaltBtc => "BTC_SALT".to_owned(),
4140            &CurrencyPair::SaltEth => "ETH_SALT".to_owned(),
4141            &CurrencyPair::ScBnb => "BNB_SC".to_owned(),
4142            &CurrencyPair::ScBtc => "BTC_SC".to_owned(),
4143            &CurrencyPair::ScEth => "ETH_SC".to_owned(),
4144            &CurrencyPair::SkyBnb => "BNB_SKY".to_owned(),
4145            &CurrencyPair::SkyBtc => "BTC_SKY".to_owned(),
4146            &CurrencyPair::SkyEth => "ETH_SKY".to_owned(),
4147            &CurrencyPair::SnglsBtc => "BTC_SNGLS".to_owned(),
4148            &CurrencyPair::SnglsEth => "ETH_SNGLS".to_owned(),
4149            &CurrencyPair::SnmBtc => "BTC_SNM".to_owned(),
4150            &CurrencyPair::SnmEth => "ETH_SNM".to_owned(),
4151            &CurrencyPair::SntBtc => "BTC_SNT".to_owned(),
4152            &CurrencyPair::SntEth => "ETH_SNT".to_owned(),
4153            &CurrencyPair::SteemBnb => "BNB_STEEM".to_owned(),
4154            &CurrencyPair::SteemBtc => "BTC_STEEM".to_owned(),
4155            &CurrencyPair::SteemEth => "ETH_STEEM".to_owned(),
4156            &CurrencyPair::StorjBtc => "BTC_STORJ".to_owned(),
4157            &CurrencyPair::StorjEth => "ETH_STORJ".to_owned(),
4158            &CurrencyPair::StormBnb => "BNB_STORM".to_owned(),
4159            &CurrencyPair::StormBtc => "BTC_STORM".to_owned(),
4160            &CurrencyPair::StormEth => "ETH_STORM".to_owned(),
4161            &CurrencyPair::StormUsdt => "USDT_STORM".to_owned(),
4162            &CurrencyPair::StratBtc => "BTC_STRAT".to_owned(),
4163            &CurrencyPair::StratEth => "ETH_STRAT".to_owned(),
4164            &CurrencyPair::StxBnb => "BNB_STX".to_owned(),
4165            &CurrencyPair::StxBtc => "BTC_STX".to_owned(),
4166            &CurrencyPair::StxUsdt => "USDT_STX".to_owned(),
4167            &CurrencyPair::SubBtc => "BTC_SUB".to_owned(),
4168            &CurrencyPair::SubEth => "ETH_SUB".to_owned(),
4169            &CurrencyPair::SysBnb => "BNB_SYS".to_owned(),
4170            &CurrencyPair::SysBtc => "BTC_SYS".to_owned(),
4171            &CurrencyPair::SysEth => "ETH_SYS".to_owned(),
4172            &CurrencyPair::TfuelBnb => "BNB_TFUEL".to_owned(),
4173            &CurrencyPair::TfuelBtc => "BTC_TFUEL".to_owned(),
4174            &CurrencyPair::TfuelPax => "PAX_TFUEL".to_owned(),
4175            &CurrencyPair::TfuelTusd => "TUSD_TFUEL".to_owned(),
4176            &CurrencyPair::TfuelUsdc => "USDC_TFUEL".to_owned(),
4177            &CurrencyPair::TfuelUsdt => "USDT_TFUEL".to_owned(),
4178            &CurrencyPair::ThetaBnb => "BNB_THETA".to_owned(),
4179            &CurrencyPair::ThetaBtc => "BTC_THETA".to_owned(),
4180            &CurrencyPair::ThetaEth => "ETH_THETA".to_owned(),
4181            &CurrencyPair::ThetaUsdt => "USDT_THETA".to_owned(),
4182            &CurrencyPair::TnbBtc => "BTC_TNB".to_owned(),
4183            &CurrencyPair::TnbEth => "ETH_TNB".to_owned(),
4184            &CurrencyPair::TntBtc => "BTC_TNT".to_owned(),
4185            &CurrencyPair::TntEth => "ETH_TNT".to_owned(),
4186            &CurrencyPair::TomoBnb => "BNB_TOMO".to_owned(),
4187            &CurrencyPair::TomoBtc => "BTC_TOMO".to_owned(),
4188            &CurrencyPair::TomoUsdc => "USDC_TOMO".to_owned(),
4189            &CurrencyPair::TomoUsdt => "USDT_TOMO".to_owned(),
4190            &CurrencyPair::TrigBnb => "BNB_TRIG".to_owned(),
4191            &CurrencyPair::TrigBtc => "BTC_TRIG".to_owned(),
4192            &CurrencyPair::TrigEth => "ETH_TRIG".to_owned(),
4193            &CurrencyPair::TroyBnb => "BNB_TROY".to_owned(),
4194            &CurrencyPair::TroyBtc => "BTC_TROY".to_owned(),
4195            &CurrencyPair::TroyUsdt => "USDT_TROY".to_owned(),
4196            &CurrencyPair::TrxBnb => "BNB_TRX".to_owned(),
4197            &CurrencyPair::TrxBtc => "BTC_TRX".to_owned(),
4198            &CurrencyPair::TrxBusd => "BUSD_TRX".to_owned(),
4199            &CurrencyPair::TrxEth => "ETH_TRX".to_owned(),
4200            &CurrencyPair::TrxPax => "PAX_TRX".to_owned(),
4201            &CurrencyPair::TrxTusd => "TUSD_TRX".to_owned(),
4202            &CurrencyPair::TrxUsdc => "USDC_TRX".to_owned(),
4203            &CurrencyPair::TrxUsdt => "USDT_TRX".to_owned(),
4204            &CurrencyPair::TrxXrp => "XRP_TRX".to_owned(),
4205            &CurrencyPair::TusdbTusd => "TUSD_TUSDB".to_owned(),
4206            &CurrencyPair::TusdBnb => "BNB_TUSD".to_owned(),
4207            &CurrencyPair::TusdBtc => "BTC_TUSD".to_owned(),
4208            &CurrencyPair::TusdEth => "ETH_TUSD".to_owned(),
4209            &CurrencyPair::TusdUsdt => "USDT_TUSD".to_owned(),
4210            &CurrencyPair::UsdcBnb => "BNB_USDC".to_owned(),
4211            &CurrencyPair::UsdcDash => "DASH_USDC".to_owned(),
4212            &CurrencyPair::UsdcGrin => "GRIN_USDC".to_owned(),
4213            &CurrencyPair::UsdcPax => "PAX_USDC".to_owned(),
4214            &CurrencyPair::UsdcStr => "STR_USDC".to_owned(),
4215            &CurrencyPair::UsdcTusd => "TUSD_USDC".to_owned(),
4216            &CurrencyPair::UsdcUsdt => "USDT_USDC".to_owned(),
4217            &CurrencyPair::UsdcXmr => "XMR_USDC".to_owned(),
4218            &CurrencyPair::UsdsbUsds => "USDS_USDSB".to_owned(),
4219            &CurrencyPair::UsdsbUsdt => "USDT_USDSB".to_owned(),
4220            &CurrencyPair::UsdsPax => "PAX_USDS".to_owned(),
4221            &CurrencyPair::UsdsTusd => "TUSD_USDS".to_owned(),
4222            &CurrencyPair::UsdsUsdc => "USDC_USDS".to_owned(),
4223            &CurrencyPair::UsdsUsdt => "USDT_USDS".to_owned(),
4224            &CurrencyPair::UsdtDgb => "DGB_USDT".to_owned(),
4225            &CurrencyPair::UsdtGnt => "GNT_USDT".to_owned(),
4226            &CurrencyPair::UsdtGrin => "GRIN_USDT".to_owned(),
4227            &CurrencyPair::UsdtLsk => "LSK_USDT".to_owned(),
4228            &CurrencyPair::UsdtMana => "MANA_USDT".to_owned(),
4229            &CurrencyPair::UsdtNxt => "NXT_USDT".to_owned(),
4230            &CurrencyPair::UsdtRep => "REP_USDT".to_owned(),
4231            &CurrencyPair::UsdtRub => "RUB_USDT".to_owned(),
4232            &CurrencyPair::UsdtSc => "SC_USDT".to_owned(),
4233            &CurrencyPair::UsdtStr => "STR_USDT".to_owned(),
4234            &CurrencyPair::UsdtTry => "TRY_USDT".to_owned(),
4235            &CurrencyPair::VenBnb => "BNB_VEN".to_owned(),
4236            &CurrencyPair::VenBtc => "BTC_VEN".to_owned(),
4237            &CurrencyPair::VenEth => "ETH_VEN".to_owned(),
4238            &CurrencyPair::VenUsdt => "USDT_VEN".to_owned(),
4239            &CurrencyPair::VetBnb => "BNB_VET".to_owned(),
4240            &CurrencyPair::VetBtc => "BTC_VET".to_owned(),
4241            &CurrencyPair::VetBusd => "BUSD_VET".to_owned(),
4242            &CurrencyPair::VetEth => "ETH_VET".to_owned(),
4243            &CurrencyPair::VetUsdt => "USDT_VET".to_owned(),
4244            &CurrencyPair::ViaBnb => "BNB_VIA".to_owned(),
4245            &CurrencyPair::ViaBtc => "BTC_VIA".to_owned(),
4246            &CurrencyPair::ViaEth => "ETH_VIA".to_owned(),
4247            &CurrencyPair::VibeBtc => "BTC_VIBE".to_owned(),
4248            &CurrencyPair::VibeEth => "ETH_VIBE".to_owned(),
4249            &CurrencyPair::VibBtc => "BTC_VIB".to_owned(),
4250            &CurrencyPair::VibEth => "ETH_VIB".to_owned(),
4251            &CurrencyPair::ViteBnb => "BNB_VITE".to_owned(),
4252            &CurrencyPair::ViteBtc => "BTC_VITE".to_owned(),
4253            &CurrencyPair::ViteUsdt => "USDT_VITE".to_owned(),
4254            &CurrencyPair::WabiBnb => "BNB_WABI".to_owned(),
4255            &CurrencyPair::WabiBtc => "BTC_WABI".to_owned(),
4256            &CurrencyPair::WabiEth => "ETH_WABI".to_owned(),
4257            &CurrencyPair::WanBnb => "BNB_WAN".to_owned(),
4258            &CurrencyPair::WanBtc => "BTC_WAN".to_owned(),
4259            &CurrencyPair::WanEth => "ETH_WAN".to_owned(),
4260            &CurrencyPair::WanUsdt => "USDT_WAN".to_owned(),
4261            &CurrencyPair::WavesBnb => "BNB_WAVES".to_owned(),
4262            &CurrencyPair::WavesBtc => "BTC_WAVES".to_owned(),
4263            &CurrencyPair::WavesEth => "ETH_WAVES".to_owned(),
4264            &CurrencyPair::WavesPax => "PAX_WAVES".to_owned(),
4265            &CurrencyPair::WavesTusd => "TUSD_WAVES".to_owned(),
4266            &CurrencyPair::WavesUsdc => "USDC_WAVES".to_owned(),
4267            &CurrencyPair::WavesUsdt => "USDT_WAVES".to_owned(),
4268            &CurrencyPair::WingsBtc => "BTC_WINGS".to_owned(),
4269            &CurrencyPair::WingsEth => "ETH_WINGS".to_owned(),
4270            &CurrencyPair::WinBnb => "BNB_WIN".to_owned(),
4271            &CurrencyPair::WinBtc => "BTC_WIN".to_owned(),
4272            &CurrencyPair::WinTrx => "TRX_WIN".to_owned(),
4273            &CurrencyPair::WinUsdc => "USDC_WIN".to_owned(),
4274            &CurrencyPair::WinUsdt => "USDT_WIN".to_owned(),
4275            &CurrencyPair::WprBtc => "BTC_WPR".to_owned(),
4276            &CurrencyPair::WprEth => "ETH_WPR".to_owned(),
4277            &CurrencyPair::WtcBnb => "BNB_WTC".to_owned(),
4278            &CurrencyPair::WtcBtc => "BTC_WTC".to_owned(),
4279            &CurrencyPair::WtcEth => "ETH_WTC".to_owned(),
4280            &CurrencyPair::XemBnb => "BNB_XEM".to_owned(),
4281            &CurrencyPair::XemBtc => "BTC_XEM".to_owned(),
4282            &CurrencyPair::XemEth => "ETH_XEM".to_owned(),
4283            &CurrencyPair::XlmBnb => "BNB_XLM".to_owned(),
4284            &CurrencyPair::XlmBtc => "BTC_XLM".to_owned(),
4285            &CurrencyPair::XlmBusd => "BUSD_XLM".to_owned(),
4286            &CurrencyPair::XlmEth => "ETH_XLM".to_owned(),
4287            &CurrencyPair::XlmPax => "PAX_XLM".to_owned(),
4288            &CurrencyPair::XlmTusd => "TUSD_XLM".to_owned(),
4289            &CurrencyPair::XlmUsdc => "USDC_XLM".to_owned(),
4290            &CurrencyPair::XlmUsdt => "USDT_XLM".to_owned(),
4291            &CurrencyPair::XmrBnb => "BNB_XMR".to_owned(),
4292            &CurrencyPair::XmrBtc => "BTC_XMR".to_owned(),
4293            &CurrencyPair::XmrEth => "ETH_XMR".to_owned(),
4294            &CurrencyPair::XmrUsdt => "USDT_XMR".to_owned(),
4295            &CurrencyPair::XrpBnb => "BNB_XRP".to_owned(),
4296            &CurrencyPair::XrpBtc => "BTC_XRP".to_owned(),
4297            &CurrencyPair::XrpBusd => "BUSD_XRP".to_owned(),
4298            &CurrencyPair::XrpEth => "ETH_XRP".to_owned(),
4299            &CurrencyPair::XrpPax => "PAX_XRP".to_owned(),
4300            &CurrencyPair::XrpRub => "RUB_XRP".to_owned(),
4301            &CurrencyPair::XrpTry => "TRY_XRP".to_owned(),
4302            &CurrencyPair::XrpTusd => "TUSD_XRP".to_owned(),
4303            &CurrencyPair::XrpUsdc => "USDC_XRP".to_owned(),
4304            &CurrencyPair::XrpUsdt => "USDT_XRP".to_owned(),
4305            &CurrencyPair::XtzBnb => "BNB_XTZ".to_owned(),
4306            &CurrencyPair::XtzBtc => "BTC_XTZ".to_owned(),
4307            &CurrencyPair::XtzUsdt => "USDT_XTZ".to_owned(),
4308            &CurrencyPair::XvgBtc => "BTC_XVG".to_owned(),
4309            &CurrencyPair::XvgEth => "ETH_XVG".to_owned(),
4310            &CurrencyPair::XzcBnb => "BNB_XZC".to_owned(),
4311            &CurrencyPair::XzcBtc => "BTC_XZC".to_owned(),
4312            &CurrencyPair::XzcEth => "ETH_XZC".to_owned(),
4313            &CurrencyPair::XzcXrp => "XRP_XZC".to_owned(),
4314            &CurrencyPair::YoyoBnb => "BNB_YOYO".to_owned(),
4315            &CurrencyPair::YoyoBtc => "BTC_YOYO".to_owned(),
4316            &CurrencyPair::YoyoEth => "ETH_YOYO".to_owned(),
4317            &CurrencyPair::ZecBnb => "BNB_ZEC".to_owned(),
4318            &CurrencyPair::ZecBtc => "BTC_ZEC".to_owned(),
4319            &CurrencyPair::ZecEth => "ETH_ZEC".to_owned(),
4320            &CurrencyPair::ZecPax => "PAX_ZEC".to_owned(),
4321            &CurrencyPair::ZecTusd => "TUSD_ZEC".to_owned(),
4322            &CurrencyPair::ZecUsdc => "USDC_ZEC".to_owned(),
4323            &CurrencyPair::ZecUsdt => "USDT_ZEC".to_owned(),
4324            &CurrencyPair::ZenBnb => "BNB_ZEN".to_owned(),
4325            &CurrencyPair::ZenBtc => "BTC_ZEN".to_owned(),
4326            &CurrencyPair::ZenEth => "ETH_ZEN".to_owned(),
4327            &CurrencyPair::ZilBnb => "BNB_ZIL".to_owned(),
4328            &CurrencyPair::ZilBtc => "BTC_ZIL".to_owned(),
4329            &CurrencyPair::ZilEth => "ETH_ZIL".to_owned(),
4330            &CurrencyPair::ZilUsdt => "USDT_ZIL".to_owned(),
4331            &CurrencyPair::ZrxBnb => "BNB_ZRX".to_owned(),
4332            &CurrencyPair::ZrxBtc => "BTC_ZRX".to_owned(),
4333            &CurrencyPair::ZrxEth => "ETH_ZRX".to_owned(),
4334            &CurrencyPair::ZrxUsdt => "USDT_ZRX".to_owned(),
4335        }
4336    }
4337
4338    pub fn as_str(&self) -> &str {
4339        match self {
4340            CurrencyPair::Custom(ref s, _, _) => s,
4341            &CurrencyPair::AdaBnb => "ADA_BNB",
4342            &CurrencyPair::AdaBtc => "ADA_BTC",
4343            &CurrencyPair::AdaBusd => "ADA_BUSD",
4344            &CurrencyPair::AdaEth => "ADA_ETH",
4345            &CurrencyPair::AdaPax => "ADA_PAX",
4346            &CurrencyPair::AdaTusd => "ADA_TUSD",
4347            &CurrencyPair::AdaUsdc => "ADA_USDC",
4348            &CurrencyPair::AdaUsdt => "ADA_USDT",
4349            &CurrencyPair::AdxBnb => "ADX_BNB",
4350            &CurrencyPair::AdxBtc => "ADX_BTC",
4351            &CurrencyPair::AdxEth => "ADX_ETH",
4352            &CurrencyPair::AeBnb => "AE_BNB",
4353            &CurrencyPair::AeBtc => "AE_BTC",
4354            &CurrencyPair::AeEth => "AE_ETH",
4355            &CurrencyPair::AgiBnb => "AGI_BNB",
4356            &CurrencyPair::AgiBtc => "AGI_BTC",
4357            &CurrencyPair::AgiEth => "AGI_ETH",
4358            &CurrencyPair::AionBnb => "AION_BNB",
4359            &CurrencyPair::AionBtc => "AION_BTC",
4360            &CurrencyPair::AionEth => "AION_ETH",
4361            &CurrencyPair::AlgoBnb => "ALGO_BNB",
4362            &CurrencyPair::AlgoBtc => "ALGO_BTC",
4363            &CurrencyPair::AlgoPax => "ALGO_PAX",
4364            &CurrencyPair::AlgoTusd => "ALGO_TUSD",
4365            &CurrencyPair::AlgoUsdc => "ALGO_USDC",
4366            &CurrencyPair::AlgoUsdt => "ALGO_USDT",
4367            &CurrencyPair::AmbBnb => "AMB_BNB",
4368            &CurrencyPair::AmbBtc => "AMB_BTC",
4369            &CurrencyPair::AmbEth => "AMB_ETH",
4370            &CurrencyPair::AnkrBnb => "ANKR_BNB",
4371            &CurrencyPair::AnkrBtc => "ANKR_BTC",
4372            &CurrencyPair::AnkrPax => "ANKR_PAX",
4373            &CurrencyPair::AnkrTusd => "ANKR_TUSD",
4374            &CurrencyPair::AnkrUsdc => "ANKR_USDC",
4375            &CurrencyPair::AnkrUsdt => "ANKR_USDT",
4376            &CurrencyPair::AppcBnb => "APPC_BNB",
4377            &CurrencyPair::AppcBtc => "APPC_BTC",
4378            &CurrencyPair::AppcEth => "APPC_ETH",
4379            &CurrencyPair::ArdrBnb => "ARDR_BNB",
4380            &CurrencyPair::ArdrBtc => "ARDR_BTC",
4381            &CurrencyPair::ArdrEth => "ARDR_ETH",
4382            &CurrencyPair::ArkBtc => "ARK_BTC",
4383            &CurrencyPair::ArkEth => "ARK_ETH",
4384            &CurrencyPair::ArnBtc => "ARN_BTC",
4385            &CurrencyPair::ArnEth => "ARN_ETH",
4386            &CurrencyPair::ArpaBnb => "ARPA_BNB",
4387            &CurrencyPair::ArpaBtc => "ARPA_BTC",
4388            &CurrencyPair::ArpaUsdt => "ARPA_USDT",
4389            &CurrencyPair::AstBtc => "AST_BTC",
4390            &CurrencyPair::AstEth => "AST_ETH",
4391            &CurrencyPair::AtomBnb => "ATOM_BNB",
4392            &CurrencyPair::AtomBtc => "ATOM_BTC",
4393            &CurrencyPair::AtomPax => "ATOM_PAX",
4394            &CurrencyPair::AtomTusd => "ATOM_TUSD",
4395            &CurrencyPair::AtomUsdc => "ATOM_USDC",
4396            &CurrencyPair::AtomUsdt => "ATOM_USDT",
4397            &CurrencyPair::BandBnb => "BAND_BNB",
4398            &CurrencyPair::BandBtc => "BAND_BTC",
4399            &CurrencyPair::BandUsdt => "BAND_USDT",
4400            &CurrencyPair::BatBnb => "BAT_BNB",
4401            &CurrencyPair::BatBtc => "BAT_BTC",
4402            &CurrencyPair::BatEth => "BAT_ETH",
4403            &CurrencyPair::BatPax => "BAT_PAX",
4404            &CurrencyPair::BatTusd => "BAT_TUSD",
4405            &CurrencyPair::BatUsdc => "BAT_USDC",
4406            &CurrencyPair::BatUsdt => "BAT_USDT",
4407            &CurrencyPair::BccBnb => "BCC_BNB",
4408            &CurrencyPair::BccBtc => "BCC_BTC",
4409            &CurrencyPair::BccEth => "BCC_ETH",
4410            &CurrencyPair::BccUsdt => "BCC_USDT",
4411            &CurrencyPair::BcdBtc => "BCD_BTC",
4412            &CurrencyPair::BcdEth => "BCD_ETH",
4413            &CurrencyPair::BchabcBtc => "BCHABC_BTC",
4414            &CurrencyPair::BchabcBusd => "BCHABC_BUSD",
4415            &CurrencyPair::BchabcPax => "BCHABC_PAX",
4416            &CurrencyPair::BchabcTusd => "BCHABC_TUSD",
4417            &CurrencyPair::BchabcUsdc => "BCHABC_USDC",
4418            &CurrencyPair::BchabcUsdt => "BCHABC_USDT",
4419            &CurrencyPair::BchsvBtc => "BCHSV_BTC",
4420            &CurrencyPair::BchsvPax => "BCHSV_PAX",
4421            &CurrencyPair::BchsvTusd => "BCHSV_TUSD",
4422            &CurrencyPair::BchsvUsdc => "BCHSV_USDC",
4423            &CurrencyPair::BchsvUsdt => "BCHSV_USDT",
4424            &CurrencyPair::BchBnb => "BCH_BNB",
4425            &CurrencyPair::BchBtc => "BCH_BTC",
4426            &CurrencyPair::BchBusd => "BCH_BUSD",
4427            &CurrencyPair::BchPax => "BCH_PAX",
4428            &CurrencyPair::BchTusd => "BCH_TUSD",
4429            &CurrencyPair::BchUsdc => "BCH_USDC",
4430            &CurrencyPair::BchUsdt => "BCH_USDT",
4431            &CurrencyPair::BcnBnb => "BCN_BNB",
4432            &CurrencyPair::BcnBtc => "BCN_BTC",
4433            &CurrencyPair::BcnEth => "BCN_ETH",
4434            &CurrencyPair::BcptBnb => "BCPT_BNB",
4435            &CurrencyPair::BcptBtc => "BCPT_BTC",
4436            &CurrencyPair::BcptEth => "BCPT_ETH",
4437            &CurrencyPair::BcptPax => "BCPT_PAX",
4438            &CurrencyPair::BcptTusd => "BCPT_TUSD",
4439            &CurrencyPair::BcptUsdc => "BCPT_USDC",
4440            &CurrencyPair::BeamBnb => "BEAM_BNB",
4441            &CurrencyPair::BeamBtc => "BEAM_BTC",
4442            &CurrencyPair::BeamUsdt => "BEAM_USDT",
4443            &CurrencyPair::BgbpUsdc => "BGBP_USDC",
4444            &CurrencyPair::BlzBnb => "BLZ_BNB",
4445            &CurrencyPair::BlzBtc => "BLZ_BTC",
4446            &CurrencyPair::BlzEth => "BLZ_ETH",
4447            &CurrencyPair::BnbBtc => "BNB_BTC",
4448            &CurrencyPair::BnbBusd => "BNB_BUSD",
4449            &CurrencyPair::BnbEth => "BNB_ETH",
4450            &CurrencyPair::BnbNgn => "BNB_NGN",
4451            &CurrencyPair::BnbPax => "BNB_PAX",
4452            &CurrencyPair::BnbRub => "BNB_RUB",
4453            &CurrencyPair::BnbTry => "BNB_TRY",
4454            &CurrencyPair::BnbTusd => "BNB_TUSD",
4455            &CurrencyPair::BnbUsdc => "BNB_USDC",
4456            &CurrencyPair::BnbUsds => "BNB_USDS",
4457            &CurrencyPair::BnbUsdt => "BNB_USDT",
4458            &CurrencyPair::BntBtc => "BNT_BTC",
4459            &CurrencyPair::BntEth => "BNT_ETH",
4460            &CurrencyPair::BqxBtc => "BQX_BTC",
4461            &CurrencyPair::BqxEth => "BQX_ETH",
4462            &CurrencyPair::BrdBnb => "BRD_BNB",
4463            &CurrencyPair::BrdBtc => "BRD_BTC",
4464            &CurrencyPair::BrdEth => "BRD_ETH",
4465            &CurrencyPair::BtcbBtc => "BTCB_BTC",
4466            &CurrencyPair::BtcBusd => "BTC_BUSD",
4467            &CurrencyPair::BtcDgb => "BTC_DGB",
4468            &CurrencyPair::BtcFct => "BTC_FCT",
4469            &CurrencyPair::BtcFoam => "BTC_FOAM",
4470            &CurrencyPair::BtcGrin => "BTC_GRIN",
4471            &CurrencyPair::BtcLpt => "BTC_LPT",
4472            &CurrencyPair::BtcMaid => "BTC_MAID",
4473            &CurrencyPair::BtcNgn => "BTC_NGN",
4474            &CurrencyPair::BtcNmr => "BTC_NMR",
4475            &CurrencyPair::BtcNxt => "BTC_NXT",
4476            &CurrencyPair::BtcOmni => "BTC_OMNI",
4477            &CurrencyPair::BtcPax => "BTC_PAX",
4478            &CurrencyPair::BtcRub => "BTC_RUB",
4479            &CurrencyPair::BtcStr => "BTC_STR",
4480            &CurrencyPair::BtcTry => "BTC_TRY",
4481            &CurrencyPair::BtcTusd => "BTC_TUSD",
4482            &CurrencyPair::BtcUsdc => "BTC_USDC",
4483            &CurrencyPair::BtcUsds => "BTC_USDS",
4484            &CurrencyPair::BtcUsdt => "BTC_USDT",
4485            &CurrencyPair::BtcVtc => "BTC_VTC",
4486            &CurrencyPair::BtcXpm => "BTC_XPM",
4487            &CurrencyPair::BtgBtc => "BTG_BTC",
4488            &CurrencyPair::BtgEth => "BTG_ETH",
4489            &CurrencyPair::BtsBnb => "BTS_BNB",
4490            &CurrencyPair::BtsBtc => "BTS_BTC",
4491            &CurrencyPair::BtsEth => "BTS_ETH",
4492            &CurrencyPair::BttBnb => "BTT_BNB",
4493            &CurrencyPair::BttBtc => "BTT_BTC",
4494            &CurrencyPair::BttPax => "BTT_PAX",
4495            &CurrencyPair::BttTrx => "BTT_TRX",
4496            &CurrencyPair::BttTusd => "BTT_TUSD",
4497            &CurrencyPair::BttUsdc => "BTT_USDC",
4498            &CurrencyPair::BttUsdt => "BTT_USDT",
4499            &CurrencyPair::BusdNgn => "BUSD_NGN",
4500            &CurrencyPair::BusdRub => "BUSD_RUB",
4501            &CurrencyPair::BusdTry => "BUSD_TRY",
4502            &CurrencyPair::BusdUsdt => "BUSD_USDT",
4503            &CurrencyPair::CdtBtc => "CDT_BTC",
4504            &CurrencyPair::CdtEth => "CDT_ETH",
4505            &CurrencyPair::CelrBnb => "CELR_BNB",
4506            &CurrencyPair::CelrBtc => "CELR_BTC",
4507            &CurrencyPair::CelrUsdt => "CELR_USDT",
4508            &CurrencyPair::ChatBtc => "CHAT_BTC",
4509            &CurrencyPair::ChatEth => "CHAT_ETH",
4510            &CurrencyPair::ChzBnb => "CHZ_BNB",
4511            &CurrencyPair::ChzBtc => "CHZ_BTC",
4512            &CurrencyPair::ChzUsdt => "CHZ_USDT",
4513            &CurrencyPair::CloakBtc => "CLOAK_BTC",
4514            &CurrencyPair::CloakEth => "CLOAK_ETH",
4515            &CurrencyPair::CmtBnb => "CMT_BNB",
4516            &CurrencyPair::CmtBtc => "CMT_BTC",
4517            &CurrencyPair::CmtEth => "CMT_ETH",
4518            &CurrencyPair::CndBnb => "CND_BNB",
4519            &CurrencyPair::CndBtc => "CND_BTC",
4520            &CurrencyPair::CndEth => "CND_ETH",
4521            &CurrencyPair::CocosBnb => "COCOS_BNB",
4522            &CurrencyPair::CocosBtc => "COCOS_BTC",
4523            &CurrencyPair::CocosUsdt => "COCOS_USDT",
4524            &CurrencyPair::CosBnb => "COS_BNB",
4525            &CurrencyPair::CosBtc => "COS_BTC",
4526            &CurrencyPair::CosUsdt => "COS_USDT",
4527            &CurrencyPair::CtxcBnb => "CTXC_BNB",
4528            &CurrencyPair::CtxcBtc => "CTXC_BTC",
4529            &CurrencyPair::CtxcUsdt => "CTXC_USDT",
4530            &CurrencyPair::CvcBnb => "CVC_BNB",
4531            &CurrencyPair::CvcBtc => "CVC_BTC",
4532            &CurrencyPair::CvcEth => "CVC_ETH",
4533            &CurrencyPair::CvcUsdt => "CVC_USDT",
4534            &CurrencyPair::DashBnb => "DASH_BNB",
4535            &CurrencyPair::DashBtc => "DASH_BTC",
4536            &CurrencyPair::DashEth => "DASH_ETH",
4537            &CurrencyPair::DashUsdt => "DASH_USDT",
4538            &CurrencyPair::DataBtc => "DATA_BTC",
4539            &CurrencyPair::DataEth => "DATA_ETH",
4540            &CurrencyPair::DcrBnb => "DCR_BNB",
4541            &CurrencyPair::DcrBtc => "DCR_BTC",
4542            &CurrencyPair::DentBtc => "DENT_BTC",
4543            &CurrencyPair::DentEth => "DENT_ETH",
4544            &CurrencyPair::DentUsdt => "DENT_USDT",
4545            &CurrencyPair::DgdBtc => "DGD_BTC",
4546            &CurrencyPair::DgdEth => "DGD_ETH",
4547            &CurrencyPair::DltBnb => "DLT_BNB",
4548            &CurrencyPair::DltBtc => "DLT_BTC",
4549            &CurrencyPair::DltEth => "DLT_ETH",
4550            &CurrencyPair::DntBtc => "DNT_BTC",
4551            &CurrencyPair::DntEth => "DNT_ETH",
4552            &CurrencyPair::DockBtc => "DOCK_BTC",
4553            &CurrencyPair::DockEth => "DOCK_ETH",
4554            &CurrencyPair::DockUsdt => "DOCK_USDT",
4555            &CurrencyPair::DogeBnb => "DOGE_BNB",
4556            &CurrencyPair::DogeBtc => "DOGE_BTC",
4557            &CurrencyPair::DogePax => "DOGE_PAX",
4558            &CurrencyPair::DogeUsdc => "DOGE_USDC",
4559            &CurrencyPair::DogeUsdt => "DOGE_USDT",
4560            &CurrencyPair::DuskBnb => "DUSK_BNB",
4561            &CurrencyPair::DuskBtc => "DUSK_BTC",
4562            &CurrencyPair::DuskPax => "DUSK_PAX",
4563            &CurrencyPair::DuskUsdc => "DUSK_USDC",
4564            &CurrencyPair::DuskUsdt => "DUSK_USDT",
4565            &CurrencyPair::EdoBtc => "EDO_BTC",
4566            &CurrencyPair::EdoEth => "EDO_ETH",
4567            &CurrencyPair::ElfBtc => "ELF_BTC",
4568            &CurrencyPair::ElfEth => "ELF_ETH",
4569            &CurrencyPair::EngBtc => "ENG_BTC",
4570            &CurrencyPair::EngEth => "ENG_ETH",
4571            &CurrencyPair::EnjBnb => "ENJ_BNB",
4572            &CurrencyPair::EnjBtc => "ENJ_BTC",
4573            &CurrencyPair::EnjEth => "ENJ_ETH",
4574            &CurrencyPair::EnjUsdt => "ENJ_USDT",
4575            &CurrencyPair::EosBnb => "EOS_BNB",
4576            &CurrencyPair::EosBtc => "EOS_BTC",
4577            &CurrencyPair::EosBusd => "EOS_BUSD",
4578            &CurrencyPair::EosEth => "EOS_ETH",
4579            &CurrencyPair::EosPax => "EOS_PAX",
4580            &CurrencyPair::EosTusd => "EOS_TUSD",
4581            &CurrencyPair::EosUsdc => "EOS_USDC",
4582            &CurrencyPair::EosUsdt => "EOS_USDT",
4583            &CurrencyPair::ErdBnb => "ERD_BNB",
4584            &CurrencyPair::ErdBtc => "ERD_BTC",
4585            &CurrencyPair::ErdPax => "ERD_PAX",
4586            &CurrencyPair::ErdUsdc => "ERD_USDC",
4587            &CurrencyPair::ErdUsdt => "ERD_USDT",
4588            &CurrencyPair::EtcBnb => "ETC_BNB",
4589            &CurrencyPair::EtcBtc => "ETC_BTC",
4590            &CurrencyPair::EtcBusd => "ETC_BUSD",
4591            &CurrencyPair::EtcEth => "ETC_ETH",
4592            &CurrencyPair::EtcPax => "ETC_PAX",
4593            &CurrencyPair::EtcTusd => "ETC_TUSD",
4594            &CurrencyPair::EtcUsdc => "ETC_USDC",
4595            &CurrencyPair::EtcUsdt => "ETC_USDT",
4596            &CurrencyPair::EthBtc => "ETH_BTC",
4597            &CurrencyPair::EthBusd => "ETH_BUSD",
4598            &CurrencyPair::EthPax => "ETH_PAX",
4599            &CurrencyPair::EthRub => "ETH_RUB",
4600            &CurrencyPair::EthTry => "ETH_TRY",
4601            &CurrencyPair::EthTusd => "ETH_TUSD",
4602            &CurrencyPair::EthUsdc => "ETH_USDC",
4603            &CurrencyPair::EthUsdt => "ETH_USDT",
4604            &CurrencyPair::EvxBtc => "EVX_BTC",
4605            &CurrencyPair::EvxEth => "EVX_ETH",
4606            &CurrencyPair::FetBnb => "FET_BNB",
4607            &CurrencyPair::FetBtc => "FET_BTC",
4608            &CurrencyPair::FetUsdt => "FET_USDT",
4609            &CurrencyPair::FtmBnb => "FTM_BNB",
4610            &CurrencyPair::FtmBtc => "FTM_BTC",
4611            &CurrencyPair::FtmPax => "FTM_PAX",
4612            &CurrencyPair::FtmTusd => "FTM_TUSD",
4613            &CurrencyPair::FtmUsdc => "FTM_USDC",
4614            &CurrencyPair::FtmUsdt => "FTM_USDT",
4615            &CurrencyPair::FttBnb => "FTT_BNB",
4616            &CurrencyPair::FttBtc => "FTT_BTC",
4617            &CurrencyPair::FttUsdt => "FTT_USDT",
4618            &CurrencyPair::FuelBtc => "FUEL_BTC",
4619            &CurrencyPair::FuelEth => "FUEL_ETH",
4620            &CurrencyPair::FunBtc => "FUN_BTC",
4621            &CurrencyPair::FunEth => "FUN_ETH",
4622            &CurrencyPair::FunUsdt => "FUN_USDT",
4623            &CurrencyPair::GasBtc => "GAS_BTC",
4624            &CurrencyPair::GntBnb => "GNT_BNB",
4625            &CurrencyPair::GntBtc => "GNT_BTC",
4626            &CurrencyPair::GntEth => "GNT_ETH",
4627            &CurrencyPair::GoBnb => "GO_BNB",
4628            &CurrencyPair::GoBtc => "GO_BTC",
4629            &CurrencyPair::GrsBtc => "GRS_BTC",
4630            &CurrencyPair::GrsEth => "GRS_ETH",
4631            &CurrencyPair::GtoBnb => "GTO_BNB",
4632            &CurrencyPair::GtoBtc => "GTO_BTC",
4633            &CurrencyPair::GtoEth => "GTO_ETH",
4634            &CurrencyPair::GtoPax => "GTO_PAX",
4635            &CurrencyPair::GtoTusd => "GTO_TUSD",
4636            &CurrencyPair::GtoUsdc => "GTO_USDC",
4637            &CurrencyPair::GtoUsdt => "GTO_USDT",
4638            &CurrencyPair::GvtBtc => "GVT_BTC",
4639            &CurrencyPair::GvtEth => "GVT_ETH",
4640            &CurrencyPair::GxsBtc => "GXS_BTC",
4641            &CurrencyPair::GxsEth => "GXS_ETH",
4642            &CurrencyPair::HbarBnb => "HBAR_BNB",
4643            &CurrencyPair::HbarBtc => "HBAR_BTC",
4644            &CurrencyPair::HbarUsdt => "HBAR_USDT",
4645            &CurrencyPair::HcBtc => "HC_BTC",
4646            &CurrencyPair::HcEth => "HC_ETH",
4647            &CurrencyPair::HcUsdt => "HC_USDT",
4648            &CurrencyPair::HotBnb => "HOT_BNB",
4649            &CurrencyPair::HotBtc => "HOT_BTC",
4650            &CurrencyPair::HotEth => "HOT_ETH",
4651            &CurrencyPair::HotUsdt => "HOT_USDT",
4652            &CurrencyPair::HsrBtc => "HSR_BTC",
4653            &CurrencyPair::HsrEth => "HSR_ETH",
4654            &CurrencyPair::IcnBtc => "ICN_BTC",
4655            &CurrencyPair::IcnEth => "ICN_ETH",
4656            &CurrencyPair::IcxBnb => "ICX_BNB",
4657            &CurrencyPair::IcxBtc => "ICX_BTC",
4658            &CurrencyPair::IcxEth => "ICX_ETH",
4659            &CurrencyPair::IcxUsdt => "ICX_USDT",
4660            &CurrencyPair::InsBtc => "INS_BTC",
4661            &CurrencyPair::InsEth => "INS_ETH",
4662            &CurrencyPair::IostBnb => "IOST_BNB",
4663            &CurrencyPair::IostBtc => "IOST_BTC",
4664            &CurrencyPair::IostEth => "IOST_ETH",
4665            &CurrencyPair::IostUsdt => "IOST_USDT",
4666            &CurrencyPair::IotaBnb => "IOTA_BNB",
4667            &CurrencyPair::IotaBtc => "IOTA_BTC",
4668            &CurrencyPair::IotaEth => "IOTA_ETH",
4669            &CurrencyPair::IotaUsdt => "IOTA_USDT",
4670            &CurrencyPair::IotxBtc => "IOTX_BTC",
4671            &CurrencyPair::IotxEth => "IOTX_ETH",
4672            &CurrencyPair::IotxUsdt => "IOTX_USDT",
4673            &CurrencyPair::KavaBnb => "KAVA_BNB",
4674            &CurrencyPair::KavaBtc => "KAVA_BTC",
4675            &CurrencyPair::KavaUsdt => "KAVA_USDT",
4676            &CurrencyPair::KeyBtc => "KEY_BTC",
4677            &CurrencyPair::KeyEth => "KEY_ETH",
4678            &CurrencyPair::KeyUsdt => "KEY_USDT",
4679            &CurrencyPair::KmdBtc => "KMD_BTC",
4680            &CurrencyPair::KmdEth => "KMD_ETH",
4681            &CurrencyPair::KncBtc => "KNC_BTC",
4682            &CurrencyPair::KncEth => "KNC_ETH",
4683            &CurrencyPair::LendBtc => "LEND_BTC",
4684            &CurrencyPair::LendEth => "LEND_ETH",
4685            &CurrencyPair::LinkBtc => "LINK_BTC",
4686            &CurrencyPair::LinkBusd => "LINK_BUSD",
4687            &CurrencyPair::LinkEth => "LINK_ETH",
4688            &CurrencyPair::LinkPax => "LINK_PAX",
4689            &CurrencyPair::LinkTusd => "LINK_TUSD",
4690            &CurrencyPair::LinkUsdc => "LINK_USDC",
4691            &CurrencyPair::LinkUsdt => "LINK_USDT",
4692            &CurrencyPair::LoomBnb => "LOOM_BNB",
4693            &CurrencyPair::LoomBtc => "LOOM_BTC",
4694            &CurrencyPair::LoomEth => "LOOM_ETH",
4695            &CurrencyPair::LrcBtc => "LRC_BTC",
4696            &CurrencyPair::LrcEth => "LRC_ETH",
4697            &CurrencyPair::LskBnb => "LSK_BNB",
4698            &CurrencyPair::LskBtc => "LSK_BTC",
4699            &CurrencyPair::LskEth => "LSK_ETH",
4700            &CurrencyPair::LtcBnb => "LTC_BNB",
4701            &CurrencyPair::LtcBtc => "LTC_BTC",
4702            &CurrencyPair::LtcBusd => "LTC_BUSD",
4703            &CurrencyPair::LtcEth => "LTC_ETH",
4704            &CurrencyPair::LtcPax => "LTC_PAX",
4705            &CurrencyPair::LtcTusd => "LTC_TUSD",
4706            &CurrencyPair::LtcUsdc => "LTC_USDC",
4707            &CurrencyPair::LtcUsdt => "LTC_USDT",
4708            &CurrencyPair::LunBtc => "LUN_BTC",
4709            &CurrencyPair::LunEth => "LUN_ETH",
4710            &CurrencyPair::ManaBtc => "MANA_BTC",
4711            &CurrencyPair::ManaEth => "MANA_ETH",
4712            &CurrencyPair::MaticBnb => "MATIC_BNB",
4713            &CurrencyPair::MaticBtc => "MATIC_BTC",
4714            &CurrencyPair::MaticUsdt => "MATIC_USDT",
4715            &CurrencyPair::McoBnb => "MCO_BNB",
4716            &CurrencyPair::McoBtc => "MCO_BTC",
4717            &CurrencyPair::McoEth => "MCO_ETH",
4718            &CurrencyPair::McoUsdt => "MCO_USDT",
4719            &CurrencyPair::MdaBtc => "MDA_BTC",
4720            &CurrencyPair::MdaEth => "MDA_ETH",
4721            &CurrencyPair::MftBnb => "MFT_BNB",
4722            &CurrencyPair::MftBtc => "MFT_BTC",
4723            &CurrencyPair::MftEth => "MFT_ETH",
4724            &CurrencyPair::MftUsdt => "MFT_USDT",
4725            &CurrencyPair::MithBnb => "MITH_BNB",
4726            &CurrencyPair::MithBtc => "MITH_BTC",
4727            &CurrencyPair::MithUsdt => "MITH_USDT",
4728            &CurrencyPair::ModBtc => "MOD_BTC",
4729            &CurrencyPair::ModEth => "MOD_ETH",
4730            &CurrencyPair::MthBtc => "MTH_BTC",
4731            &CurrencyPair::MthEth => "MTH_ETH",
4732            &CurrencyPair::MtlBtc => "MTL_BTC",
4733            &CurrencyPair::MtlEth => "MTL_ETH",
4734            &CurrencyPair::MtlUsdt => "MTL_USDT",
4735            &CurrencyPair::NanoBnb => "NANO_BNB",
4736            &CurrencyPair::NanoBtc => "NANO_BTC",
4737            &CurrencyPair::NanoEth => "NANO_ETH",
4738            &CurrencyPair::NanoUsdt => "NANO_USDT",
4739            &CurrencyPair::NasBnb => "NAS_BNB",
4740            &CurrencyPair::NasBtc => "NAS_BTC",
4741            &CurrencyPair::NasEth => "NAS_ETH",
4742            &CurrencyPair::NavBnb => "NAV_BNB",
4743            &CurrencyPair::NavBtc => "NAV_BTC",
4744            &CurrencyPair::NavEth => "NAV_ETH",
4745            &CurrencyPair::NcashBnb => "NCASH_BNB",
4746            &CurrencyPair::NcashBtc => "NCASH_BTC",
4747            &CurrencyPair::NcashEth => "NCASH_ETH",
4748            &CurrencyPair::NeblBnb => "NEBL_BNB",
4749            &CurrencyPair::NeblBtc => "NEBL_BTC",
4750            &CurrencyPair::NeblEth => "NEBL_ETH",
4751            &CurrencyPair::NeoBnb => "NEO_BNB",
4752            &CurrencyPair::NeoBtc => "NEO_BTC",
4753            &CurrencyPair::NeoEth => "NEO_ETH",
4754            &CurrencyPair::NeoPax => "NEO_PAX",
4755            &CurrencyPair::NeoTusd => "NEO_TUSD",
4756            &CurrencyPair::NeoUsdc => "NEO_USDC",
4757            &CurrencyPair::NeoUsdt => "NEO_USDT",
4758            &CurrencyPair::NknBnb => "NKN_BNB",
4759            &CurrencyPair::NknBtc => "NKN_BTC",
4760            &CurrencyPair::NknUsdt => "NKN_USDT",
4761            &CurrencyPair::NpxsBtc => "NPXS_BTC",
4762            &CurrencyPair::NpxsEth => "NPXS_ETH",
4763            &CurrencyPair::NpxsUsdc => "NPXS_USDC",
4764            &CurrencyPair::NpxsUsdt => "NPXS_USDT",
4765            &CurrencyPair::NulsBnb => "NULS_BNB",
4766            &CurrencyPair::NulsBtc => "NULS_BTC",
4767            &CurrencyPair::NulsEth => "NULS_ETH",
4768            &CurrencyPair::NulsUsdt => "NULS_USDT",
4769            &CurrencyPair::NxsBnb => "NXS_BNB",
4770            &CurrencyPair::NxsBtc => "NXS_BTC",
4771            &CurrencyPair::NxsEth => "NXS_ETH",
4772            &CurrencyPair::OaxBtc => "OAX_BTC",
4773            &CurrencyPair::OaxEth => "OAX_ETH",
4774            &CurrencyPair::OmgBnb => "OMG_BNB",
4775            &CurrencyPair::OmgBtc => "OMG_BTC",
4776            &CurrencyPair::OmgEth => "OMG_ETH",
4777            &CurrencyPair::OmgUsdt => "OMG_USDT",
4778            &CurrencyPair::OneBnb => "ONE_BNB",
4779            &CurrencyPair::OneBtc => "ONE_BTC",
4780            &CurrencyPair::OnePax => "ONE_PAX",
4781            &CurrencyPair::OneTusd => "ONE_TUSD",
4782            &CurrencyPair::OneUsdc => "ONE_USDC",
4783            &CurrencyPair::OneUsdt => "ONE_USDT",
4784            &CurrencyPair::OngBnb => "ONG_BNB",
4785            &CurrencyPair::OngBtc => "ONG_BTC",
4786            &CurrencyPair::OngUsdt => "ONG_USDT",
4787            &CurrencyPair::OntBnb => "ONT_BNB",
4788            &CurrencyPair::OntBtc => "ONT_BTC",
4789            &CurrencyPair::OntEth => "ONT_ETH",
4790            &CurrencyPair::OntPax => "ONT_PAX",
4791            &CurrencyPair::OntUsdc => "ONT_USDC",
4792            &CurrencyPair::OntUsdt => "ONT_USDT",
4793            &CurrencyPair::OstBnb => "OST_BNB",
4794            &CurrencyPair::OstBtc => "OST_BTC",
4795            &CurrencyPair::OstEth => "OST_ETH",
4796            &CurrencyPair::PaxBnb => "PAX_BNB",
4797            &CurrencyPair::PaxBtc => "PAX_BTC",
4798            &CurrencyPair::PaxEth => "PAX_ETH",
4799            &CurrencyPair::PaxTusd => "PAX_TUSD",
4800            &CurrencyPair::PaxUsdt => "PAX_USDT",
4801            &CurrencyPair::PerlBnb => "PERL_BNB",
4802            &CurrencyPair::PerlBtc => "PERL_BTC",
4803            &CurrencyPair::PerlUsdc => "PERL_USDC",
4804            &CurrencyPair::PerlUsdt => "PERL_USDT",
4805            &CurrencyPair::PhbBnb => "PHB_BNB",
4806            &CurrencyPair::PhbBtc => "PHB_BTC",
4807            &CurrencyPair::PhbPax => "PHB_PAX",
4808            &CurrencyPair::PhbTusd => "PHB_TUSD",
4809            &CurrencyPair::PhbUsdc => "PHB_USDC",
4810            &CurrencyPair::PhxBnb => "PHX_BNB",
4811            &CurrencyPair::PhxBtc => "PHX_BTC",
4812            &CurrencyPair::PhxEth => "PHX_ETH",
4813            &CurrencyPair::PivxBnb => "PIVX_BNB",
4814            &CurrencyPair::PivxBtc => "PIVX_BTC",
4815            &CurrencyPair::PivxEth => "PIVX_ETH",
4816            &CurrencyPair::PoaBnb => "POA_BNB",
4817            &CurrencyPair::PoaBtc => "POA_BTC",
4818            &CurrencyPair::PoaEth => "POA_ETH",
4819            &CurrencyPair::PoeBtc => "POE_BTC",
4820            &CurrencyPair::PoeEth => "POE_ETH",
4821            &CurrencyPair::PolyBnb => "POLY_BNB",
4822            &CurrencyPair::PolyBtc => "POLY_BTC",
4823            &CurrencyPair::PowrBnb => "POWR_BNB",
4824            &CurrencyPair::PowrBtc => "POWR_BTC",
4825            &CurrencyPair::PowrEth => "POWR_ETH",
4826            &CurrencyPair::PptBtc => "PPT_BTC",
4827            &CurrencyPair::PptEth => "PPT_ETH",
4828            &CurrencyPair::QkcBtc => "QKC_BTC",
4829            &CurrencyPair::QkcEth => "QKC_ETH",
4830            &CurrencyPair::QlcBnb => "QLC_BNB",
4831            &CurrencyPair::QlcBtc => "QLC_BTC",
4832            &CurrencyPair::QlcEth => "QLC_ETH",
4833            &CurrencyPair::QspBnb => "QSP_BNB",
4834            &CurrencyPair::QspBtc => "QSP_BTC",
4835            &CurrencyPair::QspEth => "QSP_ETH",
4836            &CurrencyPair::QtumBnb => "QTUM_BNB",
4837            &CurrencyPair::QtumBtc => "QTUM_BTC",
4838            &CurrencyPair::QtumBusd => "QTUM_BUSD",
4839            &CurrencyPair::QtumEth => "QTUM_ETH",
4840            &CurrencyPair::QtumUsdt => "QTUM_USDT",
4841            &CurrencyPair::RcnBnb => "RCN_BNB",
4842            &CurrencyPair::RcnBtc => "RCN_BTC",
4843            &CurrencyPair::RcnEth => "RCN_ETH",
4844            &CurrencyPair::RdnBnb => "RDN_BNB",
4845            &CurrencyPair::RdnBtc => "RDN_BTC",
4846            &CurrencyPair::RdnEth => "RDN_ETH",
4847            &CurrencyPair::RenBnb => "REN_BNB",
4848            &CurrencyPair::RenBtc => "REN_BTC",
4849            &CurrencyPair::RenUsdt => "REN_USDT",
4850            &CurrencyPair::RepBnb => "REP_BNB",
4851            &CurrencyPair::RepBtc => "REP_BTC",
4852            &CurrencyPair::RepEth => "REP_ETH",
4853            &CurrencyPair::ReqBtc => "REQ_BTC",
4854            &CurrencyPair::ReqEth => "REQ_ETH",
4855            &CurrencyPair::RlcBnb => "RLC_BNB",
4856            &CurrencyPair::RlcBtc => "RLC_BTC",
4857            &CurrencyPair::RlcEth => "RLC_ETH",
4858            &CurrencyPair::RlcUsdt => "RLC_USDT",
4859            &CurrencyPair::RpxBnb => "RPX_BNB",
4860            &CurrencyPair::RpxBtc => "RPX_BTC",
4861            &CurrencyPair::RpxEth => "RPX_ETH",
4862            &CurrencyPair::RvnBnb => "RVN_BNB",
4863            &CurrencyPair::RvnBtc => "RVN_BTC",
4864            &CurrencyPair::RvnUsdt => "RVN_USDT",
4865            &CurrencyPair::SaltBtc => "SALT_BTC",
4866            &CurrencyPair::SaltEth => "SALT_ETH",
4867            &CurrencyPair::ScBnb => "SC_BNB",
4868            &CurrencyPair::ScBtc => "SC_BTC",
4869            &CurrencyPair::ScEth => "SC_ETH",
4870            &CurrencyPair::SkyBnb => "SKY_BNB",
4871            &CurrencyPair::SkyBtc => "SKY_BTC",
4872            &CurrencyPair::SkyEth => "SKY_ETH",
4873            &CurrencyPair::SnglsBtc => "SNGLS_BTC",
4874            &CurrencyPair::SnglsEth => "SNGLS_ETH",
4875            &CurrencyPair::SnmBtc => "SNM_BTC",
4876            &CurrencyPair::SnmEth => "SNM_ETH",
4877            &CurrencyPair::SntBtc => "SNT_BTC",
4878            &CurrencyPair::SntEth => "SNT_ETH",
4879            &CurrencyPair::SteemBnb => "STEEM_BNB",
4880            &CurrencyPair::SteemBtc => "STEEM_BTC",
4881            &CurrencyPair::SteemEth => "STEEM_ETH",
4882            &CurrencyPair::StorjBtc => "STORJ_BTC",
4883            &CurrencyPair::StorjEth => "STORJ_ETH",
4884            &CurrencyPair::StormBnb => "STORM_BNB",
4885            &CurrencyPair::StormBtc => "STORM_BTC",
4886            &CurrencyPair::StormEth => "STORM_ETH",
4887            &CurrencyPair::StormUsdt => "STORM_USDT",
4888            &CurrencyPair::StratBtc => "STRAT_BTC",
4889            &CurrencyPair::StratEth => "STRAT_ETH",
4890            &CurrencyPair::StxBnb => "STX_BNB",
4891            &CurrencyPair::StxBtc => "STX_BTC",
4892            &CurrencyPair::StxUsdt => "STX_USDT",
4893            &CurrencyPair::SubBtc => "SUB_BTC",
4894            &CurrencyPair::SubEth => "SUB_ETH",
4895            &CurrencyPair::SysBnb => "SYS_BNB",
4896            &CurrencyPair::SysBtc => "SYS_BTC",
4897            &CurrencyPair::SysEth => "SYS_ETH",
4898            &CurrencyPair::TfuelBnb => "TFUEL_BNB",
4899            &CurrencyPair::TfuelBtc => "TFUEL_BTC",
4900            &CurrencyPair::TfuelPax => "TFUEL_PAX",
4901            &CurrencyPair::TfuelTusd => "TFUEL_TUSD",
4902            &CurrencyPair::TfuelUsdc => "TFUEL_USDC",
4903            &CurrencyPair::TfuelUsdt => "TFUEL_USDT",
4904            &CurrencyPair::ThetaBnb => "THETA_BNB",
4905            &CurrencyPair::ThetaBtc => "THETA_BTC",
4906            &CurrencyPair::ThetaEth => "THETA_ETH",
4907            &CurrencyPair::ThetaUsdt => "THETA_USDT",
4908            &CurrencyPair::TnbBtc => "TNB_BTC",
4909            &CurrencyPair::TnbEth => "TNB_ETH",
4910            &CurrencyPair::TntBtc => "TNT_BTC",
4911            &CurrencyPair::TntEth => "TNT_ETH",
4912            &CurrencyPair::TomoBnb => "TOMO_BNB",
4913            &CurrencyPair::TomoBtc => "TOMO_BTC",
4914            &CurrencyPair::TomoUsdc => "TOMO_USDC",
4915            &CurrencyPair::TomoUsdt => "TOMO_USDT",
4916            &CurrencyPair::TrigBnb => "TRIG_BNB",
4917            &CurrencyPair::TrigBtc => "TRIG_BTC",
4918            &CurrencyPair::TrigEth => "TRIG_ETH",
4919            &CurrencyPair::TroyBnb => "TROY_BNB",
4920            &CurrencyPair::TroyBtc => "TROY_BTC",
4921            &CurrencyPair::TroyUsdt => "TROY_USDT",
4922            &CurrencyPair::TrxBnb => "TRX_BNB",
4923            &CurrencyPair::TrxBtc => "TRX_BTC",
4924            &CurrencyPair::TrxBusd => "TRX_BUSD",
4925            &CurrencyPair::TrxEth => "TRX_ETH",
4926            &CurrencyPair::TrxPax => "TRX_PAX",
4927            &CurrencyPair::TrxTusd => "TRX_TUSD",
4928            &CurrencyPair::TrxUsdc => "TRX_USDC",
4929            &CurrencyPair::TrxUsdt => "TRX_USDT",
4930            &CurrencyPair::TrxXrp => "TRX_XRP",
4931            &CurrencyPair::TusdbTusd => "TUSDB_TUSD",
4932            &CurrencyPair::TusdBnb => "TUSD_BNB",
4933            &CurrencyPair::TusdBtc => "TUSD_BTC",
4934            &CurrencyPair::TusdEth => "TUSD_ETH",
4935            &CurrencyPair::TusdUsdt => "TUSD_USDT",
4936            &CurrencyPair::UsdcBnb => "USDC_BNB",
4937            &CurrencyPair::UsdcDash => "USDC_DASH",
4938            &CurrencyPair::UsdcGrin => "USDC_GRIN",
4939            &CurrencyPair::UsdcPax => "USDC_PAX",
4940            &CurrencyPair::UsdcStr => "USDC_STR",
4941            &CurrencyPair::UsdcTusd => "USDC_TUSD",
4942            &CurrencyPair::UsdcUsdt => "USDC_USDT",
4943            &CurrencyPair::UsdcXmr => "USDC_XMR",
4944            &CurrencyPair::UsdsbUsds => "USDSB_USDS",
4945            &CurrencyPair::UsdsbUsdt => "USDSB_USDT",
4946            &CurrencyPair::UsdsPax => "USDS_PAX",
4947            &CurrencyPair::UsdsTusd => "USDS_TUSD",
4948            &CurrencyPair::UsdsUsdc => "USDS_USDC",
4949            &CurrencyPair::UsdsUsdt => "USDS_USDT",
4950            &CurrencyPair::UsdtDgb => "USDT_DGB",
4951            &CurrencyPair::UsdtGnt => "USDT_GNT",
4952            &CurrencyPair::UsdtGrin => "USDT_GRIN",
4953            &CurrencyPair::UsdtLsk => "USDT_LSK",
4954            &CurrencyPair::UsdtMana => "USDT_MANA",
4955            &CurrencyPair::UsdtNxt => "USDT_NXT",
4956            &CurrencyPair::UsdtRep => "USDT_REP",
4957            &CurrencyPair::UsdtRub => "USDT_RUB",
4958            &CurrencyPair::UsdtSc => "USDT_SC",
4959            &CurrencyPair::UsdtStr => "USDT_STR",
4960            &CurrencyPair::UsdtTry => "USDT_TRY",
4961            &CurrencyPair::VenBnb => "VEN_BNB",
4962            &CurrencyPair::VenBtc => "VEN_BTC",
4963            &CurrencyPair::VenEth => "VEN_ETH",
4964            &CurrencyPair::VenUsdt => "VEN_USDT",
4965            &CurrencyPair::VetBnb => "VET_BNB",
4966            &CurrencyPair::VetBtc => "VET_BTC",
4967            &CurrencyPair::VetBusd => "VET_BUSD",
4968            &CurrencyPair::VetEth => "VET_ETH",
4969            &CurrencyPair::VetUsdt => "VET_USDT",
4970            &CurrencyPair::ViaBnb => "VIA_BNB",
4971            &CurrencyPair::ViaBtc => "VIA_BTC",
4972            &CurrencyPair::ViaEth => "VIA_ETH",
4973            &CurrencyPair::VibeBtc => "VIBE_BTC",
4974            &CurrencyPair::VibeEth => "VIBE_ETH",
4975            &CurrencyPair::VibBtc => "VIB_BTC",
4976            &CurrencyPair::VibEth => "VIB_ETH",
4977            &CurrencyPair::ViteBnb => "VITE_BNB",
4978            &CurrencyPair::ViteBtc => "VITE_BTC",
4979            &CurrencyPair::ViteUsdt => "VITE_USDT",
4980            &CurrencyPair::WabiBnb => "WABI_BNB",
4981            &CurrencyPair::WabiBtc => "WABI_BTC",
4982            &CurrencyPair::WabiEth => "WABI_ETH",
4983            &CurrencyPair::WanBnb => "WAN_BNB",
4984            &CurrencyPair::WanBtc => "WAN_BTC",
4985            &CurrencyPair::WanEth => "WAN_ETH",
4986            &CurrencyPair::WanUsdt => "WAN_USDT",
4987            &CurrencyPair::WavesBnb => "WAVES_BNB",
4988            &CurrencyPair::WavesBtc => "WAVES_BTC",
4989            &CurrencyPair::WavesEth => "WAVES_ETH",
4990            &CurrencyPair::WavesPax => "WAVES_PAX",
4991            &CurrencyPair::WavesTusd => "WAVES_TUSD",
4992            &CurrencyPair::WavesUsdc => "WAVES_USDC",
4993            &CurrencyPair::WavesUsdt => "WAVES_USDT",
4994            &CurrencyPair::WingsBtc => "WINGS_BTC",
4995            &CurrencyPair::WingsEth => "WINGS_ETH",
4996            &CurrencyPair::WinBnb => "WIN_BNB",
4997            &CurrencyPair::WinBtc => "WIN_BTC",
4998            &CurrencyPair::WinTrx => "WIN_TRX",
4999            &CurrencyPair::WinUsdc => "WIN_USDC",
5000            &CurrencyPair::WinUsdt => "WIN_USDT",
5001            &CurrencyPair::WprBtc => "WPR_BTC",
5002            &CurrencyPair::WprEth => "WPR_ETH",
5003            &CurrencyPair::WtcBnb => "WTC_BNB",
5004            &CurrencyPair::WtcBtc => "WTC_BTC",
5005            &CurrencyPair::WtcEth => "WTC_ETH",
5006            &CurrencyPair::XemBnb => "XEM_BNB",
5007            &CurrencyPair::XemBtc => "XEM_BTC",
5008            &CurrencyPair::XemEth => "XEM_ETH",
5009            &CurrencyPair::XlmBnb => "XLM_BNB",
5010            &CurrencyPair::XlmBtc => "XLM_BTC",
5011            &CurrencyPair::XlmBusd => "XLM_BUSD",
5012            &CurrencyPair::XlmEth => "XLM_ETH",
5013            &CurrencyPair::XlmPax => "XLM_PAX",
5014            &CurrencyPair::XlmTusd => "XLM_TUSD",
5015            &CurrencyPair::XlmUsdc => "XLM_USDC",
5016            &CurrencyPair::XlmUsdt => "XLM_USDT",
5017            &CurrencyPair::XmrBnb => "XMR_BNB",
5018            &CurrencyPair::XmrBtc => "XMR_BTC",
5019            &CurrencyPair::XmrEth => "XMR_ETH",
5020            &CurrencyPair::XmrUsdt => "XMR_USDT",
5021            &CurrencyPair::XrpBnb => "XRP_BNB",
5022            &CurrencyPair::XrpBtc => "XRP_BTC",
5023            &CurrencyPair::XrpBusd => "XRP_BUSD",
5024            &CurrencyPair::XrpEth => "XRP_ETH",
5025            &CurrencyPair::XrpPax => "XRP_PAX",
5026            &CurrencyPair::XrpRub => "XRP_RUB",
5027            &CurrencyPair::XrpTry => "XRP_TRY",
5028            &CurrencyPair::XrpTusd => "XRP_TUSD",
5029            &CurrencyPair::XrpUsdc => "XRP_USDC",
5030            &CurrencyPair::XrpUsdt => "XRP_USDT",
5031            &CurrencyPair::XtzBnb => "XTZ_BNB",
5032            &CurrencyPair::XtzBtc => "XTZ_BTC",
5033            &CurrencyPair::XtzUsdt => "XTZ_USDT",
5034            &CurrencyPair::XvgBtc => "XVG_BTC",
5035            &CurrencyPair::XvgEth => "XVG_ETH",
5036            &CurrencyPair::XzcBnb => "XZC_BNB",
5037            &CurrencyPair::XzcBtc => "XZC_BTC",
5038            &CurrencyPair::XzcEth => "XZC_ETH",
5039            &CurrencyPair::XzcXrp => "XZC_XRP",
5040            &CurrencyPair::YoyoBnb => "YOYO_BNB",
5041            &CurrencyPair::YoyoBtc => "YOYO_BTC",
5042            &CurrencyPair::YoyoEth => "YOYO_ETH",
5043            &CurrencyPair::ZecBnb => "ZEC_BNB",
5044            &CurrencyPair::ZecBtc => "ZEC_BTC",
5045            &CurrencyPair::ZecEth => "ZEC_ETH",
5046            &CurrencyPair::ZecPax => "ZEC_PAX",
5047            &CurrencyPair::ZecTusd => "ZEC_TUSD",
5048            &CurrencyPair::ZecUsdc => "ZEC_USDC",
5049            &CurrencyPair::ZecUsdt => "ZEC_USDT",
5050            &CurrencyPair::ZenBnb => "ZEN_BNB",
5051            &CurrencyPair::ZenBtc => "ZEN_BTC",
5052            &CurrencyPair::ZenEth => "ZEN_ETH",
5053            &CurrencyPair::ZilBnb => "ZIL_BNB",
5054            &CurrencyPair::ZilBtc => "ZIL_BTC",
5055            &CurrencyPair::ZilEth => "ZIL_ETH",
5056            &CurrencyPair::ZilUsdt => "ZIL_USDT",
5057            &CurrencyPair::ZrxBnb => "ZRX_BNB",
5058            &CurrencyPair::ZrxBtc => "ZRX_BTC",
5059            &CurrencyPair::ZrxEth => "ZRX_ETH",
5060            &CurrencyPair::ZrxUsdt => "ZRX_USDT",
5061        }
5062    }
5063
5064    pub fn quote(&self) -> Currency {
5065        match self {
5066            CurrencyPair::Custom(_, ref quote, _) => quote.clone(),
5067            &CurrencyPair::AdaBnb => Currency::Ada,
5068            &CurrencyPair::AdaBtc => Currency::Ada,
5069            &CurrencyPair::AdaBusd => Currency::Ada,
5070            &CurrencyPair::AdaEth => Currency::Ada,
5071            &CurrencyPair::AdaPax => Currency::Ada,
5072            &CurrencyPair::AdaTusd => Currency::Ada,
5073            &CurrencyPair::AdaUsdc => Currency::Ada,
5074            &CurrencyPair::AdaUsdt => Currency::Ada,
5075            &CurrencyPair::AdxBnb => Currency::Adx,
5076            &CurrencyPair::AdxBtc => Currency::Adx,
5077            &CurrencyPair::AdxEth => Currency::Adx,
5078            &CurrencyPair::AeBnb => Currency::Ae,
5079            &CurrencyPair::AeBtc => Currency::Ae,
5080            &CurrencyPair::AeEth => Currency::Ae,
5081            &CurrencyPair::AgiBnb => Currency::Agi,
5082            &CurrencyPair::AgiBtc => Currency::Agi,
5083            &CurrencyPair::AgiEth => Currency::Agi,
5084            &CurrencyPair::AionBnb => Currency::Aion,
5085            &CurrencyPair::AionBtc => Currency::Aion,
5086            &CurrencyPair::AionEth => Currency::Aion,
5087            &CurrencyPair::AlgoBnb => Currency::Algo,
5088            &CurrencyPair::AlgoBtc => Currency::Algo,
5089            &CurrencyPair::AlgoPax => Currency::Algo,
5090            &CurrencyPair::AlgoTusd => Currency::Algo,
5091            &CurrencyPair::AlgoUsdc => Currency::Algo,
5092            &CurrencyPair::AlgoUsdt => Currency::Algo,
5093            &CurrencyPair::AmbBnb => Currency::Amb,
5094            &CurrencyPair::AmbBtc => Currency::Amb,
5095            &CurrencyPair::AmbEth => Currency::Amb,
5096            &CurrencyPair::AnkrBnb => Currency::Ankr,
5097            &CurrencyPair::AnkrBtc => Currency::Ankr,
5098            &CurrencyPair::AnkrPax => Currency::Ankr,
5099            &CurrencyPair::AnkrTusd => Currency::Ankr,
5100            &CurrencyPair::AnkrUsdc => Currency::Ankr,
5101            &CurrencyPair::AnkrUsdt => Currency::Ankr,
5102            &CurrencyPair::AppcBnb => Currency::Appc,
5103            &CurrencyPair::AppcBtc => Currency::Appc,
5104            &CurrencyPair::AppcEth => Currency::Appc,
5105            &CurrencyPair::ArdrBnb => Currency::Ardr,
5106            &CurrencyPair::ArdrBtc => Currency::Ardr,
5107            &CurrencyPair::ArdrEth => Currency::Ardr,
5108            &CurrencyPair::ArkBtc => Currency::Ark,
5109            &CurrencyPair::ArkEth => Currency::Ark,
5110            &CurrencyPair::ArnBtc => Currency::Arn,
5111            &CurrencyPair::ArnEth => Currency::Arn,
5112            &CurrencyPair::ArpaBnb => Currency::Arpa,
5113            &CurrencyPair::ArpaBtc => Currency::Arpa,
5114            &CurrencyPair::ArpaUsdt => Currency::Arpa,
5115            &CurrencyPair::AstBtc => Currency::Ast,
5116            &CurrencyPair::AstEth => Currency::Ast,
5117            &CurrencyPair::AtomBnb => Currency::Atom,
5118            &CurrencyPair::AtomBtc => Currency::Atom,
5119            &CurrencyPair::AtomPax => Currency::Atom,
5120            &CurrencyPair::AtomTusd => Currency::Atom,
5121            &CurrencyPair::AtomUsdc => Currency::Atom,
5122            &CurrencyPair::AtomUsdt => Currency::Atom,
5123            &CurrencyPair::BandBnb => Currency::Band,
5124            &CurrencyPair::BandBtc => Currency::Band,
5125            &CurrencyPair::BandUsdt => Currency::Band,
5126            &CurrencyPair::BatBnb => Currency::Bat,
5127            &CurrencyPair::BatBtc => Currency::Bat,
5128            &CurrencyPair::BatEth => Currency::Bat,
5129            &CurrencyPair::BatPax => Currency::Bat,
5130            &CurrencyPair::BatTusd => Currency::Bat,
5131            &CurrencyPair::BatUsdc => Currency::Bat,
5132            &CurrencyPair::BatUsdt => Currency::Bat,
5133            &CurrencyPair::BccBnb => Currency::Bcc,
5134            &CurrencyPair::BccBtc => Currency::Bcc,
5135            &CurrencyPair::BccEth => Currency::Bcc,
5136            &CurrencyPair::BccUsdt => Currency::Bcc,
5137            &CurrencyPair::BcdBtc => Currency::Bcd,
5138            &CurrencyPair::BcdEth => Currency::Bcd,
5139            &CurrencyPair::BchabcBtc => Currency::Bchabc,
5140            &CurrencyPair::BchabcBusd => Currency::Bchabc,
5141            &CurrencyPair::BchabcPax => Currency::Bchabc,
5142            &CurrencyPair::BchabcTusd => Currency::Bchabc,
5143            &CurrencyPair::BchabcUsdc => Currency::Bchabc,
5144            &CurrencyPair::BchabcUsdt => Currency::Bchabc,
5145            &CurrencyPair::BchsvBtc => Currency::Bchsv,
5146            &CurrencyPair::BchsvPax => Currency::Bchsv,
5147            &CurrencyPair::BchsvTusd => Currency::Bchsv,
5148            &CurrencyPair::BchsvUsdc => Currency::Bchsv,
5149            &CurrencyPair::BchsvUsdt => Currency::Bchsv,
5150            &CurrencyPair::BchBnb => Currency::Bch,
5151            &CurrencyPair::BchBtc => Currency::Bch,
5152            &CurrencyPair::BchBusd => Currency::Bch,
5153            &CurrencyPair::BchPax => Currency::Bch,
5154            &CurrencyPair::BchTusd => Currency::Bch,
5155            &CurrencyPair::BchUsdc => Currency::Bch,
5156            &CurrencyPair::BchUsdt => Currency::Bch,
5157            &CurrencyPair::BcnBnb => Currency::Bcn,
5158            &CurrencyPair::BcnBtc => Currency::Bcn,
5159            &CurrencyPair::BcnEth => Currency::Bcn,
5160            &CurrencyPair::BcptBnb => Currency::Bcpt,
5161            &CurrencyPair::BcptBtc => Currency::Bcpt,
5162            &CurrencyPair::BcptEth => Currency::Bcpt,
5163            &CurrencyPair::BcptPax => Currency::Bcpt,
5164            &CurrencyPair::BcptTusd => Currency::Bcpt,
5165            &CurrencyPair::BcptUsdc => Currency::Bcpt,
5166            &CurrencyPair::BeamBnb => Currency::Beam,
5167            &CurrencyPair::BeamBtc => Currency::Beam,
5168            &CurrencyPair::BeamUsdt => Currency::Beam,
5169            &CurrencyPair::BgbpUsdc => Currency::Bgbp,
5170            &CurrencyPair::BlzBnb => Currency::Blz,
5171            &CurrencyPair::BlzBtc => Currency::Blz,
5172            &CurrencyPair::BlzEth => Currency::Blz,
5173            &CurrencyPair::BnbBtc => Currency::Bnb,
5174            &CurrencyPair::BnbBusd => Currency::Bnb,
5175            &CurrencyPair::BnbEth => Currency::Bnb,
5176            &CurrencyPair::BnbNgn => Currency::Bnb,
5177            &CurrencyPair::BnbPax => Currency::Bnb,
5178            &CurrencyPair::BnbRub => Currency::Bnb,
5179            &CurrencyPair::BnbTry => Currency::Bnb,
5180            &CurrencyPair::BnbTusd => Currency::Bnb,
5181            &CurrencyPair::BnbUsdc => Currency::Bnb,
5182            &CurrencyPair::BnbUsds => Currency::Bnb,
5183            &CurrencyPair::BnbUsdt => Currency::Bnb,
5184            &CurrencyPair::BntBtc => Currency::Bnt,
5185            &CurrencyPair::BntEth => Currency::Bnt,
5186            &CurrencyPair::BqxBtc => Currency::Bqx,
5187            &CurrencyPair::BqxEth => Currency::Bqx,
5188            &CurrencyPair::BrdBnb => Currency::Brd,
5189            &CurrencyPair::BrdBtc => Currency::Brd,
5190            &CurrencyPair::BrdEth => Currency::Brd,
5191            &CurrencyPair::BtcbBtc => Currency::Btcb,
5192            &CurrencyPair::BtcBusd => Currency::Btc,
5193            &CurrencyPair::BtcDgb => Currency::Btc,
5194            &CurrencyPair::BtcFct => Currency::Btc,
5195            &CurrencyPair::BtcFoam => Currency::Btc,
5196            &CurrencyPair::BtcGrin => Currency::Btc,
5197            &CurrencyPair::BtcLpt => Currency::Btc,
5198            &CurrencyPair::BtcMaid => Currency::Btc,
5199            &CurrencyPair::BtcNgn => Currency::Btc,
5200            &CurrencyPair::BtcNmr => Currency::Btc,
5201            &CurrencyPair::BtcNxt => Currency::Btc,
5202            &CurrencyPair::BtcOmni => Currency::Btc,
5203            &CurrencyPair::BtcPax => Currency::Btc,
5204            &CurrencyPair::BtcRub => Currency::Btc,
5205            &CurrencyPair::BtcStr => Currency::Btc,
5206            &CurrencyPair::BtcTry => Currency::Btc,
5207            &CurrencyPair::BtcTusd => Currency::Btc,
5208            &CurrencyPair::BtcUsdc => Currency::Btc,
5209            &CurrencyPair::BtcUsds => Currency::Btc,
5210            &CurrencyPair::BtcUsdt => Currency::Btc,
5211            &CurrencyPair::BtcVtc => Currency::Btc,
5212            &CurrencyPair::BtcXpm => Currency::Btc,
5213            &CurrencyPair::BtgBtc => Currency::Btg,
5214            &CurrencyPair::BtgEth => Currency::Btg,
5215            &CurrencyPair::BtsBnb => Currency::Bts,
5216            &CurrencyPair::BtsBtc => Currency::Bts,
5217            &CurrencyPair::BtsEth => Currency::Bts,
5218            &CurrencyPair::BttBnb => Currency::Btt,
5219            &CurrencyPair::BttBtc => Currency::Btt,
5220            &CurrencyPair::BttPax => Currency::Btt,
5221            &CurrencyPair::BttTrx => Currency::Btt,
5222            &CurrencyPair::BttTusd => Currency::Btt,
5223            &CurrencyPair::BttUsdc => Currency::Btt,
5224            &CurrencyPair::BttUsdt => Currency::Btt,
5225            &CurrencyPair::BusdNgn => Currency::Busd,
5226            &CurrencyPair::BusdRub => Currency::Busd,
5227            &CurrencyPair::BusdTry => Currency::Busd,
5228            &CurrencyPair::BusdUsdt => Currency::Busd,
5229            &CurrencyPair::CdtBtc => Currency::Cdt,
5230            &CurrencyPair::CdtEth => Currency::Cdt,
5231            &CurrencyPair::CelrBnb => Currency::Celr,
5232            &CurrencyPair::CelrBtc => Currency::Celr,
5233            &CurrencyPair::CelrUsdt => Currency::Celr,
5234            &CurrencyPair::ChatBtc => Currency::Chat,
5235            &CurrencyPair::ChatEth => Currency::Chat,
5236            &CurrencyPair::ChzBnb => Currency::Chz,
5237            &CurrencyPair::ChzBtc => Currency::Chz,
5238            &CurrencyPair::ChzUsdt => Currency::Chz,
5239            &CurrencyPair::CloakBtc => Currency::Cloak,
5240            &CurrencyPair::CloakEth => Currency::Cloak,
5241            &CurrencyPair::CmtBnb => Currency::Cmt,
5242            &CurrencyPair::CmtBtc => Currency::Cmt,
5243            &CurrencyPair::CmtEth => Currency::Cmt,
5244            &CurrencyPair::CndBnb => Currency::Cnd,
5245            &CurrencyPair::CndBtc => Currency::Cnd,
5246            &CurrencyPair::CndEth => Currency::Cnd,
5247            &CurrencyPair::CocosBnb => Currency::Cocos,
5248            &CurrencyPair::CocosBtc => Currency::Cocos,
5249            &CurrencyPair::CocosUsdt => Currency::Cocos,
5250            &CurrencyPair::CosBnb => Currency::Cos,
5251            &CurrencyPair::CosBtc => Currency::Cos,
5252            &CurrencyPair::CosUsdt => Currency::Cos,
5253            &CurrencyPair::CtxcBnb => Currency::Ctxc,
5254            &CurrencyPair::CtxcBtc => Currency::Ctxc,
5255            &CurrencyPair::CtxcUsdt => Currency::Ctxc,
5256            &CurrencyPair::CvcBnb => Currency::Cvc,
5257            &CurrencyPair::CvcBtc => Currency::Cvc,
5258            &CurrencyPair::CvcEth => Currency::Cvc,
5259            &CurrencyPair::CvcUsdt => Currency::Cvc,
5260            &CurrencyPair::DashBnb => Currency::Dash,
5261            &CurrencyPair::DashBtc => Currency::Dash,
5262            &CurrencyPair::DashEth => Currency::Dash,
5263            &CurrencyPair::DashUsdt => Currency::Dash,
5264            &CurrencyPair::DataBtc => Currency::Data,
5265            &CurrencyPair::DataEth => Currency::Data,
5266            &CurrencyPair::DcrBnb => Currency::Dcr,
5267            &CurrencyPair::DcrBtc => Currency::Dcr,
5268            &CurrencyPair::DentBtc => Currency::Dent,
5269            &CurrencyPair::DentEth => Currency::Dent,
5270            &CurrencyPair::DentUsdt => Currency::Dent,
5271            &CurrencyPair::DgdBtc => Currency::Dgd,
5272            &CurrencyPair::DgdEth => Currency::Dgd,
5273            &CurrencyPair::DltBnb => Currency::Dlt,
5274            &CurrencyPair::DltBtc => Currency::Dlt,
5275            &CurrencyPair::DltEth => Currency::Dlt,
5276            &CurrencyPair::DntBtc => Currency::Dnt,
5277            &CurrencyPair::DntEth => Currency::Dnt,
5278            &CurrencyPair::DockBtc => Currency::Dock,
5279            &CurrencyPair::DockEth => Currency::Dock,
5280            &CurrencyPair::DockUsdt => Currency::Dock,
5281            &CurrencyPair::DogeBnb => Currency::Doge,
5282            &CurrencyPair::DogeBtc => Currency::Doge,
5283            &CurrencyPair::DogePax => Currency::Doge,
5284            &CurrencyPair::DogeUsdc => Currency::Doge,
5285            &CurrencyPair::DogeUsdt => Currency::Doge,
5286            &CurrencyPair::DuskBnb => Currency::Dusk,
5287            &CurrencyPair::DuskBtc => Currency::Dusk,
5288            &CurrencyPair::DuskPax => Currency::Dusk,
5289            &CurrencyPair::DuskUsdc => Currency::Dusk,
5290            &CurrencyPair::DuskUsdt => Currency::Dusk,
5291            &CurrencyPair::EdoBtc => Currency::Edo,
5292            &CurrencyPair::EdoEth => Currency::Edo,
5293            &CurrencyPair::ElfBtc => Currency::Elf,
5294            &CurrencyPair::ElfEth => Currency::Elf,
5295            &CurrencyPair::EngBtc => Currency::Eng,
5296            &CurrencyPair::EngEth => Currency::Eng,
5297            &CurrencyPair::EnjBnb => Currency::Enj,
5298            &CurrencyPair::EnjBtc => Currency::Enj,
5299            &CurrencyPair::EnjEth => Currency::Enj,
5300            &CurrencyPair::EnjUsdt => Currency::Enj,
5301            &CurrencyPair::EosBnb => Currency::Eos,
5302            &CurrencyPair::EosBtc => Currency::Eos,
5303            &CurrencyPair::EosBusd => Currency::Eos,
5304            &CurrencyPair::EosEth => Currency::Eos,
5305            &CurrencyPair::EosPax => Currency::Eos,
5306            &CurrencyPair::EosTusd => Currency::Eos,
5307            &CurrencyPair::EosUsdc => Currency::Eos,
5308            &CurrencyPair::EosUsdt => Currency::Eos,
5309            &CurrencyPair::ErdBnb => Currency::Erd,
5310            &CurrencyPair::ErdBtc => Currency::Erd,
5311            &CurrencyPair::ErdPax => Currency::Erd,
5312            &CurrencyPair::ErdUsdc => Currency::Erd,
5313            &CurrencyPair::ErdUsdt => Currency::Erd,
5314            &CurrencyPair::EtcBnb => Currency::Etc,
5315            &CurrencyPair::EtcBtc => Currency::Etc,
5316            &CurrencyPair::EtcBusd => Currency::Etc,
5317            &CurrencyPair::EtcEth => Currency::Etc,
5318            &CurrencyPair::EtcPax => Currency::Etc,
5319            &CurrencyPair::EtcTusd => Currency::Etc,
5320            &CurrencyPair::EtcUsdc => Currency::Etc,
5321            &CurrencyPair::EtcUsdt => Currency::Etc,
5322            &CurrencyPair::EthBtc => Currency::Eth,
5323            &CurrencyPair::EthBusd => Currency::Eth,
5324            &CurrencyPair::EthPax => Currency::Eth,
5325            &CurrencyPair::EthRub => Currency::Eth,
5326            &CurrencyPair::EthTry => Currency::Eth,
5327            &CurrencyPair::EthTusd => Currency::Eth,
5328            &CurrencyPair::EthUsdc => Currency::Eth,
5329            &CurrencyPair::EthUsdt => Currency::Eth,
5330            &CurrencyPair::EvxBtc => Currency::Evx,
5331            &CurrencyPair::EvxEth => Currency::Evx,
5332            &CurrencyPair::FetBnb => Currency::Fet,
5333            &CurrencyPair::FetBtc => Currency::Fet,
5334            &CurrencyPair::FetUsdt => Currency::Fet,
5335            &CurrencyPair::FtmBnb => Currency::Ftm,
5336            &CurrencyPair::FtmBtc => Currency::Ftm,
5337            &CurrencyPair::FtmPax => Currency::Ftm,
5338            &CurrencyPair::FtmTusd => Currency::Ftm,
5339            &CurrencyPair::FtmUsdc => Currency::Ftm,
5340            &CurrencyPair::FtmUsdt => Currency::Ftm,
5341            &CurrencyPair::FttBnb => Currency::Ftt,
5342            &CurrencyPair::FttBtc => Currency::Ftt,
5343            &CurrencyPair::FttUsdt => Currency::Ftt,
5344            &CurrencyPair::FuelBtc => Currency::Fuel,
5345            &CurrencyPair::FuelEth => Currency::Fuel,
5346            &CurrencyPair::FunBtc => Currency::Fun,
5347            &CurrencyPair::FunEth => Currency::Fun,
5348            &CurrencyPair::FunUsdt => Currency::Fun,
5349            &CurrencyPair::GasBtc => Currency::Gas,
5350            &CurrencyPair::GntBnb => Currency::Gnt,
5351            &CurrencyPair::GntBtc => Currency::Gnt,
5352            &CurrencyPair::GntEth => Currency::Gnt,
5353            &CurrencyPair::GoBnb => Currency::Go,
5354            &CurrencyPair::GoBtc => Currency::Go,
5355            &CurrencyPair::GrsBtc => Currency::Grs,
5356            &CurrencyPair::GrsEth => Currency::Grs,
5357            &CurrencyPair::GtoBnb => Currency::Gto,
5358            &CurrencyPair::GtoBtc => Currency::Gto,
5359            &CurrencyPair::GtoEth => Currency::Gto,
5360            &CurrencyPair::GtoPax => Currency::Gto,
5361            &CurrencyPair::GtoTusd => Currency::Gto,
5362            &CurrencyPair::GtoUsdc => Currency::Gto,
5363            &CurrencyPair::GtoUsdt => Currency::Gto,
5364            &CurrencyPair::GvtBtc => Currency::Gvt,
5365            &CurrencyPair::GvtEth => Currency::Gvt,
5366            &CurrencyPair::GxsBtc => Currency::Gxs,
5367            &CurrencyPair::GxsEth => Currency::Gxs,
5368            &CurrencyPair::HbarBnb => Currency::Hbar,
5369            &CurrencyPair::HbarBtc => Currency::Hbar,
5370            &CurrencyPair::HbarUsdt => Currency::Hbar,
5371            &CurrencyPair::HcBtc => Currency::Hc,
5372            &CurrencyPair::HcEth => Currency::Hc,
5373            &CurrencyPair::HcUsdt => Currency::Hc,
5374            &CurrencyPair::HotBnb => Currency::Hot,
5375            &CurrencyPair::HotBtc => Currency::Hot,
5376            &CurrencyPair::HotEth => Currency::Hot,
5377            &CurrencyPair::HotUsdt => Currency::Hot,
5378            &CurrencyPair::HsrBtc => Currency::Hsr,
5379            &CurrencyPair::HsrEth => Currency::Hsr,
5380            &CurrencyPair::IcnBtc => Currency::Icn,
5381            &CurrencyPair::IcnEth => Currency::Icn,
5382            &CurrencyPair::IcxBnb => Currency::Icx,
5383            &CurrencyPair::IcxBtc => Currency::Icx,
5384            &CurrencyPair::IcxEth => Currency::Icx,
5385            &CurrencyPair::IcxUsdt => Currency::Icx,
5386            &CurrencyPair::InsBtc => Currency::Ins,
5387            &CurrencyPair::InsEth => Currency::Ins,
5388            &CurrencyPair::IostBnb => Currency::Iost,
5389            &CurrencyPair::IostBtc => Currency::Iost,
5390            &CurrencyPair::IostEth => Currency::Iost,
5391            &CurrencyPair::IostUsdt => Currency::Iost,
5392            &CurrencyPair::IotaBnb => Currency::Iota,
5393            &CurrencyPair::IotaBtc => Currency::Iota,
5394            &CurrencyPair::IotaEth => Currency::Iota,
5395            &CurrencyPair::IotaUsdt => Currency::Iota,
5396            &CurrencyPair::IotxBtc => Currency::Iotx,
5397            &CurrencyPair::IotxEth => Currency::Iotx,
5398            &CurrencyPair::IotxUsdt => Currency::Iotx,
5399            &CurrencyPair::KavaBnb => Currency::Kava,
5400            &CurrencyPair::KavaBtc => Currency::Kava,
5401            &CurrencyPair::KavaUsdt => Currency::Kava,
5402            &CurrencyPair::KeyBtc => Currency::Key,
5403            &CurrencyPair::KeyEth => Currency::Key,
5404            &CurrencyPair::KeyUsdt => Currency::Key,
5405            &CurrencyPair::KmdBtc => Currency::Kmd,
5406            &CurrencyPair::KmdEth => Currency::Kmd,
5407            &CurrencyPair::KncBtc => Currency::Knc,
5408            &CurrencyPair::KncEth => Currency::Knc,
5409            &CurrencyPair::LendBtc => Currency::Lend,
5410            &CurrencyPair::LendEth => Currency::Lend,
5411            &CurrencyPair::LinkBtc => Currency::Link,
5412            &CurrencyPair::LinkBusd => Currency::Link,
5413            &CurrencyPair::LinkEth => Currency::Link,
5414            &CurrencyPair::LinkPax => Currency::Link,
5415            &CurrencyPair::LinkTusd => Currency::Link,
5416            &CurrencyPair::LinkUsdc => Currency::Link,
5417            &CurrencyPair::LinkUsdt => Currency::Link,
5418            &CurrencyPair::LoomBnb => Currency::Loom,
5419            &CurrencyPair::LoomBtc => Currency::Loom,
5420            &CurrencyPair::LoomEth => Currency::Loom,
5421            &CurrencyPair::LrcBtc => Currency::Lrc,
5422            &CurrencyPair::LrcEth => Currency::Lrc,
5423            &CurrencyPair::LskBnb => Currency::Lsk,
5424            &CurrencyPair::LskBtc => Currency::Lsk,
5425            &CurrencyPair::LskEth => Currency::Lsk,
5426            &CurrencyPair::LtcBnb => Currency::Ltc,
5427            &CurrencyPair::LtcBtc => Currency::Ltc,
5428            &CurrencyPair::LtcBusd => Currency::Ltc,
5429            &CurrencyPair::LtcEth => Currency::Ltc,
5430            &CurrencyPair::LtcPax => Currency::Ltc,
5431            &CurrencyPair::LtcTusd => Currency::Ltc,
5432            &CurrencyPair::LtcUsdc => Currency::Ltc,
5433            &CurrencyPair::LtcUsdt => Currency::Ltc,
5434            &CurrencyPair::LunBtc => Currency::Lun,
5435            &CurrencyPair::LunEth => Currency::Lun,
5436            &CurrencyPair::ManaBtc => Currency::Mana,
5437            &CurrencyPair::ManaEth => Currency::Mana,
5438            &CurrencyPair::MaticBnb => Currency::Matic,
5439            &CurrencyPair::MaticBtc => Currency::Matic,
5440            &CurrencyPair::MaticUsdt => Currency::Matic,
5441            &CurrencyPair::McoBnb => Currency::Mco,
5442            &CurrencyPair::McoBtc => Currency::Mco,
5443            &CurrencyPair::McoEth => Currency::Mco,
5444            &CurrencyPair::McoUsdt => Currency::Mco,
5445            &CurrencyPair::MdaBtc => Currency::Mda,
5446            &CurrencyPair::MdaEth => Currency::Mda,
5447            &CurrencyPair::MftBnb => Currency::Mft,
5448            &CurrencyPair::MftBtc => Currency::Mft,
5449            &CurrencyPair::MftEth => Currency::Mft,
5450            &CurrencyPair::MftUsdt => Currency::Mft,
5451            &CurrencyPair::MithBnb => Currency::Mith,
5452            &CurrencyPair::MithBtc => Currency::Mith,
5453            &CurrencyPair::MithUsdt => Currency::Mith,
5454            &CurrencyPair::ModBtc => Currency::Mod,
5455            &CurrencyPair::ModEth => Currency::Mod,
5456            &CurrencyPair::MthBtc => Currency::Mth,
5457            &CurrencyPair::MthEth => Currency::Mth,
5458            &CurrencyPair::MtlBtc => Currency::Mtl,
5459            &CurrencyPair::MtlEth => Currency::Mtl,
5460            &CurrencyPair::MtlUsdt => Currency::Mtl,
5461            &CurrencyPair::NanoBnb => Currency::Nano,
5462            &CurrencyPair::NanoBtc => Currency::Nano,
5463            &CurrencyPair::NanoEth => Currency::Nano,
5464            &CurrencyPair::NanoUsdt => Currency::Nano,
5465            &CurrencyPair::NasBnb => Currency::Nas,
5466            &CurrencyPair::NasBtc => Currency::Nas,
5467            &CurrencyPair::NasEth => Currency::Nas,
5468            &CurrencyPair::NavBnb => Currency::Nav,
5469            &CurrencyPair::NavBtc => Currency::Nav,
5470            &CurrencyPair::NavEth => Currency::Nav,
5471            &CurrencyPair::NcashBnb => Currency::Ncash,
5472            &CurrencyPair::NcashBtc => Currency::Ncash,
5473            &CurrencyPair::NcashEth => Currency::Ncash,
5474            &CurrencyPair::NeblBnb => Currency::Nebl,
5475            &CurrencyPair::NeblBtc => Currency::Nebl,
5476            &CurrencyPair::NeblEth => Currency::Nebl,
5477            &CurrencyPair::NeoBnb => Currency::Neo,
5478            &CurrencyPair::NeoBtc => Currency::Neo,
5479            &CurrencyPair::NeoEth => Currency::Neo,
5480            &CurrencyPair::NeoPax => Currency::Neo,
5481            &CurrencyPair::NeoTusd => Currency::Neo,
5482            &CurrencyPair::NeoUsdc => Currency::Neo,
5483            &CurrencyPair::NeoUsdt => Currency::Neo,
5484            &CurrencyPair::NknBnb => Currency::Nkn,
5485            &CurrencyPair::NknBtc => Currency::Nkn,
5486            &CurrencyPair::NknUsdt => Currency::Nkn,
5487            &CurrencyPair::NpxsBtc => Currency::Npxs,
5488            &CurrencyPair::NpxsEth => Currency::Npxs,
5489            &CurrencyPair::NpxsUsdc => Currency::Npxs,
5490            &CurrencyPair::NpxsUsdt => Currency::Npxs,
5491            &CurrencyPair::NulsBnb => Currency::Nuls,
5492            &CurrencyPair::NulsBtc => Currency::Nuls,
5493            &CurrencyPair::NulsEth => Currency::Nuls,
5494            &CurrencyPair::NulsUsdt => Currency::Nuls,
5495            &CurrencyPair::NxsBnb => Currency::Nxs,
5496            &CurrencyPair::NxsBtc => Currency::Nxs,
5497            &CurrencyPair::NxsEth => Currency::Nxs,
5498            &CurrencyPair::OaxBtc => Currency::Oax,
5499            &CurrencyPair::OaxEth => Currency::Oax,
5500            &CurrencyPair::OmgBnb => Currency::Omg,
5501            &CurrencyPair::OmgBtc => Currency::Omg,
5502            &CurrencyPair::OmgEth => Currency::Omg,
5503            &CurrencyPair::OmgUsdt => Currency::Omg,
5504            &CurrencyPair::OneBnb => Currency::One,
5505            &CurrencyPair::OneBtc => Currency::One,
5506            &CurrencyPair::OnePax => Currency::One,
5507            &CurrencyPair::OneTusd => Currency::One,
5508            &CurrencyPair::OneUsdc => Currency::One,
5509            &CurrencyPair::OneUsdt => Currency::One,
5510            &CurrencyPair::OngBnb => Currency::Ong,
5511            &CurrencyPair::OngBtc => Currency::Ong,
5512            &CurrencyPair::OngUsdt => Currency::Ong,
5513            &CurrencyPair::OntBnb => Currency::Ont,
5514            &CurrencyPair::OntBtc => Currency::Ont,
5515            &CurrencyPair::OntEth => Currency::Ont,
5516            &CurrencyPair::OntPax => Currency::Ont,
5517            &CurrencyPair::OntUsdc => Currency::Ont,
5518            &CurrencyPair::OntUsdt => Currency::Ont,
5519            &CurrencyPair::OstBnb => Currency::Ost,
5520            &CurrencyPair::OstBtc => Currency::Ost,
5521            &CurrencyPair::OstEth => Currency::Ost,
5522            &CurrencyPair::PaxBnb => Currency::Pax,
5523            &CurrencyPair::PaxBtc => Currency::Pax,
5524            &CurrencyPair::PaxEth => Currency::Pax,
5525            &CurrencyPair::PaxTusd => Currency::Pax,
5526            &CurrencyPair::PaxUsdt => Currency::Pax,
5527            &CurrencyPair::PerlBnb => Currency::Perl,
5528            &CurrencyPair::PerlBtc => Currency::Perl,
5529            &CurrencyPair::PerlUsdc => Currency::Perl,
5530            &CurrencyPair::PerlUsdt => Currency::Perl,
5531            &CurrencyPair::PhbBnb => Currency::Phb,
5532            &CurrencyPair::PhbBtc => Currency::Phb,
5533            &CurrencyPair::PhbPax => Currency::Phb,
5534            &CurrencyPair::PhbTusd => Currency::Phb,
5535            &CurrencyPair::PhbUsdc => Currency::Phb,
5536            &CurrencyPair::PhxBnb => Currency::Phx,
5537            &CurrencyPair::PhxBtc => Currency::Phx,
5538            &CurrencyPair::PhxEth => Currency::Phx,
5539            &CurrencyPair::PivxBnb => Currency::Pivx,
5540            &CurrencyPair::PivxBtc => Currency::Pivx,
5541            &CurrencyPair::PivxEth => Currency::Pivx,
5542            &CurrencyPair::PoaBnb => Currency::Poa,
5543            &CurrencyPair::PoaBtc => Currency::Poa,
5544            &CurrencyPair::PoaEth => Currency::Poa,
5545            &CurrencyPair::PoeBtc => Currency::Poe,
5546            &CurrencyPair::PoeEth => Currency::Poe,
5547            &CurrencyPair::PolyBnb => Currency::Poly,
5548            &CurrencyPair::PolyBtc => Currency::Poly,
5549            &CurrencyPair::PowrBnb => Currency::Powr,
5550            &CurrencyPair::PowrBtc => Currency::Powr,
5551            &CurrencyPair::PowrEth => Currency::Powr,
5552            &CurrencyPair::PptBtc => Currency::Ppt,
5553            &CurrencyPair::PptEth => Currency::Ppt,
5554            &CurrencyPair::QkcBtc => Currency::Qkc,
5555            &CurrencyPair::QkcEth => Currency::Qkc,
5556            &CurrencyPair::QlcBnb => Currency::Qlc,
5557            &CurrencyPair::QlcBtc => Currency::Qlc,
5558            &CurrencyPair::QlcEth => Currency::Qlc,
5559            &CurrencyPair::QspBnb => Currency::Qsp,
5560            &CurrencyPair::QspBtc => Currency::Qsp,
5561            &CurrencyPair::QspEth => Currency::Qsp,
5562            &CurrencyPair::QtumBnb => Currency::Qtum,
5563            &CurrencyPair::QtumBtc => Currency::Qtum,
5564            &CurrencyPair::QtumBusd => Currency::Qtum,
5565            &CurrencyPair::QtumEth => Currency::Qtum,
5566            &CurrencyPair::QtumUsdt => Currency::Qtum,
5567            &CurrencyPair::RcnBnb => Currency::Rcn,
5568            &CurrencyPair::RcnBtc => Currency::Rcn,
5569            &CurrencyPair::RcnEth => Currency::Rcn,
5570            &CurrencyPair::RdnBnb => Currency::Rdn,
5571            &CurrencyPair::RdnBtc => Currency::Rdn,
5572            &CurrencyPair::RdnEth => Currency::Rdn,
5573            &CurrencyPair::RenBnb => Currency::Ren,
5574            &CurrencyPair::RenBtc => Currency::Ren,
5575            &CurrencyPair::RenUsdt => Currency::Ren,
5576            &CurrencyPair::RepBnb => Currency::Rep,
5577            &CurrencyPair::RepBtc => Currency::Rep,
5578            &CurrencyPair::RepEth => Currency::Rep,
5579            &CurrencyPair::ReqBtc => Currency::Req,
5580            &CurrencyPair::ReqEth => Currency::Req,
5581            &CurrencyPair::RlcBnb => Currency::Rlc,
5582            &CurrencyPair::RlcBtc => Currency::Rlc,
5583            &CurrencyPair::RlcEth => Currency::Rlc,
5584            &CurrencyPair::RlcUsdt => Currency::Rlc,
5585            &CurrencyPair::RpxBnb => Currency::Rpx,
5586            &CurrencyPair::RpxBtc => Currency::Rpx,
5587            &CurrencyPair::RpxEth => Currency::Rpx,
5588            &CurrencyPair::RvnBnb => Currency::Rvn,
5589            &CurrencyPair::RvnBtc => Currency::Rvn,
5590            &CurrencyPair::RvnUsdt => Currency::Rvn,
5591            &CurrencyPair::SaltBtc => Currency::Salt,
5592            &CurrencyPair::SaltEth => Currency::Salt,
5593            &CurrencyPair::ScBnb => Currency::Sc,
5594            &CurrencyPair::ScBtc => Currency::Sc,
5595            &CurrencyPair::ScEth => Currency::Sc,
5596            &CurrencyPair::SkyBnb => Currency::Sky,
5597            &CurrencyPair::SkyBtc => Currency::Sky,
5598            &CurrencyPair::SkyEth => Currency::Sky,
5599            &CurrencyPair::SnglsBtc => Currency::Sngls,
5600            &CurrencyPair::SnglsEth => Currency::Sngls,
5601            &CurrencyPair::SnmBtc => Currency::Snm,
5602            &CurrencyPair::SnmEth => Currency::Snm,
5603            &CurrencyPair::SntBtc => Currency::Snt,
5604            &CurrencyPair::SntEth => Currency::Snt,
5605            &CurrencyPair::SteemBnb => Currency::Steem,
5606            &CurrencyPair::SteemBtc => Currency::Steem,
5607            &CurrencyPair::SteemEth => Currency::Steem,
5608            &CurrencyPair::StorjBtc => Currency::Storj,
5609            &CurrencyPair::StorjEth => Currency::Storj,
5610            &CurrencyPair::StormBnb => Currency::Storm,
5611            &CurrencyPair::StormBtc => Currency::Storm,
5612            &CurrencyPair::StormEth => Currency::Storm,
5613            &CurrencyPair::StormUsdt => Currency::Storm,
5614            &CurrencyPair::StratBtc => Currency::Strat,
5615            &CurrencyPair::StratEth => Currency::Strat,
5616            &CurrencyPair::StxBnb => Currency::Stx,
5617            &CurrencyPair::StxBtc => Currency::Stx,
5618            &CurrencyPair::StxUsdt => Currency::Stx,
5619            &CurrencyPair::SubBtc => Currency::Sub,
5620            &CurrencyPair::SubEth => Currency::Sub,
5621            &CurrencyPair::SysBnb => Currency::Sys,
5622            &CurrencyPair::SysBtc => Currency::Sys,
5623            &CurrencyPair::SysEth => Currency::Sys,
5624            &CurrencyPair::TfuelBnb => Currency::Tfuel,
5625            &CurrencyPair::TfuelBtc => Currency::Tfuel,
5626            &CurrencyPair::TfuelPax => Currency::Tfuel,
5627            &CurrencyPair::TfuelTusd => Currency::Tfuel,
5628            &CurrencyPair::TfuelUsdc => Currency::Tfuel,
5629            &CurrencyPair::TfuelUsdt => Currency::Tfuel,
5630            &CurrencyPair::ThetaBnb => Currency::Theta,
5631            &CurrencyPair::ThetaBtc => Currency::Theta,
5632            &CurrencyPair::ThetaEth => Currency::Theta,
5633            &CurrencyPair::ThetaUsdt => Currency::Theta,
5634            &CurrencyPair::TnbBtc => Currency::Tnb,
5635            &CurrencyPair::TnbEth => Currency::Tnb,
5636            &CurrencyPair::TntBtc => Currency::Tnt,
5637            &CurrencyPair::TntEth => Currency::Tnt,
5638            &CurrencyPair::TomoBnb => Currency::Tomo,
5639            &CurrencyPair::TomoBtc => Currency::Tomo,
5640            &CurrencyPair::TomoUsdc => Currency::Tomo,
5641            &CurrencyPair::TomoUsdt => Currency::Tomo,
5642            &CurrencyPair::TrigBnb => Currency::Trig,
5643            &CurrencyPair::TrigBtc => Currency::Trig,
5644            &CurrencyPair::TrigEth => Currency::Trig,
5645            &CurrencyPair::TroyBnb => Currency::Troy,
5646            &CurrencyPair::TroyBtc => Currency::Troy,
5647            &CurrencyPair::TroyUsdt => Currency::Troy,
5648            &CurrencyPair::TrxBnb => Currency::Trx,
5649            &CurrencyPair::TrxBtc => Currency::Trx,
5650            &CurrencyPair::TrxBusd => Currency::Trx,
5651            &CurrencyPair::TrxEth => Currency::Trx,
5652            &CurrencyPair::TrxPax => Currency::Trx,
5653            &CurrencyPair::TrxTusd => Currency::Trx,
5654            &CurrencyPair::TrxUsdc => Currency::Trx,
5655            &CurrencyPair::TrxUsdt => Currency::Trx,
5656            &CurrencyPair::TrxXrp => Currency::Trx,
5657            &CurrencyPair::TusdbTusd => Currency::Tusdb,
5658            &CurrencyPair::TusdBnb => Currency::Tusd,
5659            &CurrencyPair::TusdBtc => Currency::Tusd,
5660            &CurrencyPair::TusdEth => Currency::Tusd,
5661            &CurrencyPair::TusdUsdt => Currency::Tusd,
5662            &CurrencyPair::UsdcBnb => Currency::Usdc,
5663            &CurrencyPair::UsdcDash => Currency::Usdc,
5664            &CurrencyPair::UsdcGrin => Currency::Usdc,
5665            &CurrencyPair::UsdcPax => Currency::Usdc,
5666            &CurrencyPair::UsdcStr => Currency::Usdc,
5667            &CurrencyPair::UsdcTusd => Currency::Usdc,
5668            &CurrencyPair::UsdcUsdt => Currency::Usdc,
5669            &CurrencyPair::UsdcXmr => Currency::Usdc,
5670            &CurrencyPair::UsdsbUsds => Currency::Usdsb,
5671            &CurrencyPair::UsdsbUsdt => Currency::Usdsb,
5672            &CurrencyPair::UsdsPax => Currency::Usds,
5673            &CurrencyPair::UsdsTusd => Currency::Usds,
5674            &CurrencyPair::UsdsUsdc => Currency::Usds,
5675            &CurrencyPair::UsdsUsdt => Currency::Usds,
5676            &CurrencyPair::UsdtDgb => Currency::Usdt,
5677            &CurrencyPair::UsdtGnt => Currency::Usdt,
5678            &CurrencyPair::UsdtGrin => Currency::Usdt,
5679            &CurrencyPair::UsdtLsk => Currency::Usdt,
5680            &CurrencyPair::UsdtMana => Currency::Usdt,
5681            &CurrencyPair::UsdtNxt => Currency::Usdt,
5682            &CurrencyPair::UsdtRep => Currency::Usdt,
5683            &CurrencyPair::UsdtRub => Currency::Usdt,
5684            &CurrencyPair::UsdtSc => Currency::Usdt,
5685            &CurrencyPair::UsdtStr => Currency::Usdt,
5686            &CurrencyPair::UsdtTry => Currency::Usdt,
5687            &CurrencyPair::VenBnb => Currency::Ven,
5688            &CurrencyPair::VenBtc => Currency::Ven,
5689            &CurrencyPair::VenEth => Currency::Ven,
5690            &CurrencyPair::VenUsdt => Currency::Ven,
5691            &CurrencyPair::VetBnb => Currency::Vet,
5692            &CurrencyPair::VetBtc => Currency::Vet,
5693            &CurrencyPair::VetBusd => Currency::Vet,
5694            &CurrencyPair::VetEth => Currency::Vet,
5695            &CurrencyPair::VetUsdt => Currency::Vet,
5696            &CurrencyPair::ViaBnb => Currency::Via,
5697            &CurrencyPair::ViaBtc => Currency::Via,
5698            &CurrencyPair::ViaEth => Currency::Via,
5699            &CurrencyPair::VibeBtc => Currency::Vibe,
5700            &CurrencyPair::VibeEth => Currency::Vibe,
5701            &CurrencyPair::VibBtc => Currency::Vib,
5702            &CurrencyPair::VibEth => Currency::Vib,
5703            &CurrencyPair::ViteBnb => Currency::Vite,
5704            &CurrencyPair::ViteBtc => Currency::Vite,
5705            &CurrencyPair::ViteUsdt => Currency::Vite,
5706            &CurrencyPair::WabiBnb => Currency::Wabi,
5707            &CurrencyPair::WabiBtc => Currency::Wabi,
5708            &CurrencyPair::WabiEth => Currency::Wabi,
5709            &CurrencyPair::WanBnb => Currency::Wan,
5710            &CurrencyPair::WanBtc => Currency::Wan,
5711            &CurrencyPair::WanEth => Currency::Wan,
5712            &CurrencyPair::WanUsdt => Currency::Wan,
5713            &CurrencyPair::WavesBnb => Currency::Waves,
5714            &CurrencyPair::WavesBtc => Currency::Waves,
5715            &CurrencyPair::WavesEth => Currency::Waves,
5716            &CurrencyPair::WavesPax => Currency::Waves,
5717            &CurrencyPair::WavesTusd => Currency::Waves,
5718            &CurrencyPair::WavesUsdc => Currency::Waves,
5719            &CurrencyPair::WavesUsdt => Currency::Waves,
5720            &CurrencyPair::WingsBtc => Currency::Wings,
5721            &CurrencyPair::WingsEth => Currency::Wings,
5722            &CurrencyPair::WinBnb => Currency::Win,
5723            &CurrencyPair::WinBtc => Currency::Win,
5724            &CurrencyPair::WinTrx => Currency::Win,
5725            &CurrencyPair::WinUsdc => Currency::Win,
5726            &CurrencyPair::WinUsdt => Currency::Win,
5727            &CurrencyPair::WprBtc => Currency::Wpr,
5728            &CurrencyPair::WprEth => Currency::Wpr,
5729            &CurrencyPair::WtcBnb => Currency::Wtc,
5730            &CurrencyPair::WtcBtc => Currency::Wtc,
5731            &CurrencyPair::WtcEth => Currency::Wtc,
5732            &CurrencyPair::XemBnb => Currency::Xem,
5733            &CurrencyPair::XemBtc => Currency::Xem,
5734            &CurrencyPair::XemEth => Currency::Xem,
5735            &CurrencyPair::XlmBnb => Currency::Xlm,
5736            &CurrencyPair::XlmBtc => Currency::Xlm,
5737            &CurrencyPair::XlmBusd => Currency::Xlm,
5738            &CurrencyPair::XlmEth => Currency::Xlm,
5739            &CurrencyPair::XlmPax => Currency::Xlm,
5740            &CurrencyPair::XlmTusd => Currency::Xlm,
5741            &CurrencyPair::XlmUsdc => Currency::Xlm,
5742            &CurrencyPair::XlmUsdt => Currency::Xlm,
5743            &CurrencyPair::XmrBnb => Currency::Xmr,
5744            &CurrencyPair::XmrBtc => Currency::Xmr,
5745            &CurrencyPair::XmrEth => Currency::Xmr,
5746            &CurrencyPair::XmrUsdt => Currency::Xmr,
5747            &CurrencyPair::XrpBnb => Currency::Xrp,
5748            &CurrencyPair::XrpBtc => Currency::Xrp,
5749            &CurrencyPair::XrpBusd => Currency::Xrp,
5750            &CurrencyPair::XrpEth => Currency::Xrp,
5751            &CurrencyPair::XrpPax => Currency::Xrp,
5752            &CurrencyPair::XrpRub => Currency::Xrp,
5753            &CurrencyPair::XrpTry => Currency::Xrp,
5754            &CurrencyPair::XrpTusd => Currency::Xrp,
5755            &CurrencyPair::XrpUsdc => Currency::Xrp,
5756            &CurrencyPair::XrpUsdt => Currency::Xrp,
5757            &CurrencyPair::XtzBnb => Currency::Xtz,
5758            &CurrencyPair::XtzBtc => Currency::Xtz,
5759            &CurrencyPair::XtzUsdt => Currency::Xtz,
5760            &CurrencyPair::XvgBtc => Currency::Xvg,
5761            &CurrencyPair::XvgEth => Currency::Xvg,
5762            &CurrencyPair::XzcBnb => Currency::Xzc,
5763            &CurrencyPair::XzcBtc => Currency::Xzc,
5764            &CurrencyPair::XzcEth => Currency::Xzc,
5765            &CurrencyPair::XzcXrp => Currency::Xzc,
5766            &CurrencyPair::YoyoBnb => Currency::Yoyo,
5767            &CurrencyPair::YoyoBtc => Currency::Yoyo,
5768            &CurrencyPair::YoyoEth => Currency::Yoyo,
5769            &CurrencyPair::ZecBnb => Currency::Zec,
5770            &CurrencyPair::ZecBtc => Currency::Zec,
5771            &CurrencyPair::ZecEth => Currency::Zec,
5772            &CurrencyPair::ZecPax => Currency::Zec,
5773            &CurrencyPair::ZecTusd => Currency::Zec,
5774            &CurrencyPair::ZecUsdc => Currency::Zec,
5775            &CurrencyPair::ZecUsdt => Currency::Zec,
5776            &CurrencyPair::ZenBnb => Currency::Zen,
5777            &CurrencyPair::ZenBtc => Currency::Zen,
5778            &CurrencyPair::ZenEth => Currency::Zen,
5779            &CurrencyPair::ZilBnb => Currency::Zil,
5780            &CurrencyPair::ZilBtc => Currency::Zil,
5781            &CurrencyPair::ZilEth => Currency::Zil,
5782            &CurrencyPair::ZilUsdt => Currency::Zil,
5783            &CurrencyPair::ZrxBnb => Currency::Zrx,
5784            &CurrencyPair::ZrxBtc => Currency::Zrx,
5785            &CurrencyPair::ZrxEth => Currency::Zrx,
5786            &CurrencyPair::ZrxUsdt => Currency::Zrx,
5787        }
5788    }
5789
5790    pub fn base(&self) -> Currency {
5791        match self {
5792            CurrencyPair::Custom(_, _, ref base) => base.clone(),
5793            &CurrencyPair::AdaBnb => Currency::Bnb,
5794            &CurrencyPair::AdaBtc => Currency::Btc,
5795            &CurrencyPair::AdaBusd => Currency::Busd,
5796            &CurrencyPair::AdaEth => Currency::Eth,
5797            &CurrencyPair::AdaPax => Currency::Pax,
5798            &CurrencyPair::AdaTusd => Currency::Tusd,
5799            &CurrencyPair::AdaUsdc => Currency::Usdc,
5800            &CurrencyPair::AdaUsdt => Currency::Usdt,
5801            &CurrencyPair::AdxBnb => Currency::Bnb,
5802            &CurrencyPair::AdxBtc => Currency::Btc,
5803            &CurrencyPair::AdxEth => Currency::Eth,
5804            &CurrencyPair::AeBnb => Currency::Bnb,
5805            &CurrencyPair::AeBtc => Currency::Btc,
5806            &CurrencyPair::AeEth => Currency::Eth,
5807            &CurrencyPair::AgiBnb => Currency::Bnb,
5808            &CurrencyPair::AgiBtc => Currency::Btc,
5809            &CurrencyPair::AgiEth => Currency::Eth,
5810            &CurrencyPair::AionBnb => Currency::Bnb,
5811            &CurrencyPair::AionBtc => Currency::Btc,
5812            &CurrencyPair::AionEth => Currency::Eth,
5813            &CurrencyPair::AlgoBnb => Currency::Bnb,
5814            &CurrencyPair::AlgoBtc => Currency::Btc,
5815            &CurrencyPair::AlgoPax => Currency::Pax,
5816            &CurrencyPair::AlgoTusd => Currency::Tusd,
5817            &CurrencyPair::AlgoUsdc => Currency::Usdc,
5818            &CurrencyPair::AlgoUsdt => Currency::Usdt,
5819            &CurrencyPair::AmbBnb => Currency::Bnb,
5820            &CurrencyPair::AmbBtc => Currency::Btc,
5821            &CurrencyPair::AmbEth => Currency::Eth,
5822            &CurrencyPair::AnkrBnb => Currency::Bnb,
5823            &CurrencyPair::AnkrBtc => Currency::Btc,
5824            &CurrencyPair::AnkrPax => Currency::Pax,
5825            &CurrencyPair::AnkrTusd => Currency::Tusd,
5826            &CurrencyPair::AnkrUsdc => Currency::Usdc,
5827            &CurrencyPair::AnkrUsdt => Currency::Usdt,
5828            &CurrencyPair::AppcBnb => Currency::Bnb,
5829            &CurrencyPair::AppcBtc => Currency::Btc,
5830            &CurrencyPair::AppcEth => Currency::Eth,
5831            &CurrencyPair::ArdrBnb => Currency::Bnb,
5832            &CurrencyPair::ArdrBtc => Currency::Btc,
5833            &CurrencyPair::ArdrEth => Currency::Eth,
5834            &CurrencyPair::ArkBtc => Currency::Btc,
5835            &CurrencyPair::ArkEth => Currency::Eth,
5836            &CurrencyPair::ArnBtc => Currency::Btc,
5837            &CurrencyPair::ArnEth => Currency::Eth,
5838            &CurrencyPair::ArpaBnb => Currency::Bnb,
5839            &CurrencyPair::ArpaBtc => Currency::Btc,
5840            &CurrencyPair::ArpaUsdt => Currency::Usdt,
5841            &CurrencyPair::AstBtc => Currency::Btc,
5842            &CurrencyPair::AstEth => Currency::Eth,
5843            &CurrencyPair::AtomBnb => Currency::Bnb,
5844            &CurrencyPair::AtomBtc => Currency::Btc,
5845            &CurrencyPair::AtomPax => Currency::Pax,
5846            &CurrencyPair::AtomTusd => Currency::Tusd,
5847            &CurrencyPair::AtomUsdc => Currency::Usdc,
5848            &CurrencyPair::AtomUsdt => Currency::Usdt,
5849            &CurrencyPair::BandBnb => Currency::Bnb,
5850            &CurrencyPair::BandBtc => Currency::Btc,
5851            &CurrencyPair::BandUsdt => Currency::Usdt,
5852            &CurrencyPair::BatBnb => Currency::Bnb,
5853            &CurrencyPair::BatBtc => Currency::Btc,
5854            &CurrencyPair::BatEth => Currency::Eth,
5855            &CurrencyPair::BatPax => Currency::Pax,
5856            &CurrencyPair::BatTusd => Currency::Tusd,
5857            &CurrencyPair::BatUsdc => Currency::Usdc,
5858            &CurrencyPair::BatUsdt => Currency::Usdt,
5859            &CurrencyPair::BccBnb => Currency::Bnb,
5860            &CurrencyPair::BccBtc => Currency::Btc,
5861            &CurrencyPair::BccEth => Currency::Eth,
5862            &CurrencyPair::BccUsdt => Currency::Usdt,
5863            &CurrencyPair::BcdBtc => Currency::Btc,
5864            &CurrencyPair::BcdEth => Currency::Eth,
5865            &CurrencyPair::BchabcBtc => Currency::Btc,
5866            &CurrencyPair::BchabcBusd => Currency::Busd,
5867            &CurrencyPair::BchabcPax => Currency::Pax,
5868            &CurrencyPair::BchabcTusd => Currency::Tusd,
5869            &CurrencyPair::BchabcUsdc => Currency::Usdc,
5870            &CurrencyPair::BchabcUsdt => Currency::Usdt,
5871            &CurrencyPair::BchsvBtc => Currency::Btc,
5872            &CurrencyPair::BchsvPax => Currency::Pax,
5873            &CurrencyPair::BchsvTusd => Currency::Tusd,
5874            &CurrencyPair::BchsvUsdc => Currency::Usdc,
5875            &CurrencyPair::BchsvUsdt => Currency::Usdt,
5876            &CurrencyPair::BchBnb => Currency::Bnb,
5877            &CurrencyPair::BchBtc => Currency::Btc,
5878            &CurrencyPair::BchBusd => Currency::Busd,
5879            &CurrencyPair::BchPax => Currency::Pax,
5880            &CurrencyPair::BchTusd => Currency::Tusd,
5881            &CurrencyPair::BchUsdc => Currency::Usdc,
5882            &CurrencyPair::BchUsdt => Currency::Usdt,
5883            &CurrencyPair::BcnBnb => Currency::Bnb,
5884            &CurrencyPair::BcnBtc => Currency::Btc,
5885            &CurrencyPair::BcnEth => Currency::Eth,
5886            &CurrencyPair::BcptBnb => Currency::Bnb,
5887            &CurrencyPair::BcptBtc => Currency::Btc,
5888            &CurrencyPair::BcptEth => Currency::Eth,
5889            &CurrencyPair::BcptPax => Currency::Pax,
5890            &CurrencyPair::BcptTusd => Currency::Tusd,
5891            &CurrencyPair::BcptUsdc => Currency::Usdc,
5892            &CurrencyPair::BeamBnb => Currency::Bnb,
5893            &CurrencyPair::BeamBtc => Currency::Btc,
5894            &CurrencyPair::BeamUsdt => Currency::Usdt,
5895            &CurrencyPair::BgbpUsdc => Currency::Usdc,
5896            &CurrencyPair::BlzBnb => Currency::Bnb,
5897            &CurrencyPair::BlzBtc => Currency::Btc,
5898            &CurrencyPair::BlzEth => Currency::Eth,
5899            &CurrencyPair::BnbBtc => Currency::Btc,
5900            &CurrencyPair::BnbBusd => Currency::Busd,
5901            &CurrencyPair::BnbEth => Currency::Eth,
5902            &CurrencyPair::BnbNgn => Currency::Ngn,
5903            &CurrencyPair::BnbPax => Currency::Pax,
5904            &CurrencyPair::BnbRub => Currency::Rub,
5905            &CurrencyPair::BnbTry => Currency::Try,
5906            &CurrencyPair::BnbTusd => Currency::Tusd,
5907            &CurrencyPair::BnbUsdc => Currency::Usdc,
5908            &CurrencyPair::BnbUsds => Currency::Usds,
5909            &CurrencyPair::BnbUsdt => Currency::Usdt,
5910            &CurrencyPair::BntBtc => Currency::Btc,
5911            &CurrencyPair::BntEth => Currency::Eth,
5912            &CurrencyPair::BqxBtc => Currency::Btc,
5913            &CurrencyPair::BqxEth => Currency::Eth,
5914            &CurrencyPair::BrdBnb => Currency::Bnb,
5915            &CurrencyPair::BrdBtc => Currency::Btc,
5916            &CurrencyPair::BrdEth => Currency::Eth,
5917            &CurrencyPair::BtcbBtc => Currency::Btc,
5918            &CurrencyPair::BtcBusd => Currency::Busd,
5919            &CurrencyPair::BtcDgb => Currency::Dgb,
5920            &CurrencyPair::BtcFct => Currency::Fct,
5921            &CurrencyPair::BtcFoam => Currency::Foam,
5922            &CurrencyPair::BtcGrin => Currency::Grin,
5923            &CurrencyPair::BtcLpt => Currency::Lpt,
5924            &CurrencyPair::BtcMaid => Currency::Maid,
5925            &CurrencyPair::BtcNgn => Currency::Ngn,
5926            &CurrencyPair::BtcNmr => Currency::Nmr,
5927            &CurrencyPair::BtcNxt => Currency::Nxt,
5928            &CurrencyPair::BtcOmni => Currency::Omni,
5929            &CurrencyPair::BtcPax => Currency::Pax,
5930            &CurrencyPair::BtcRub => Currency::Rub,
5931            &CurrencyPair::BtcStr => Currency::Str,
5932            &CurrencyPair::BtcTry => Currency::Try,
5933            &CurrencyPair::BtcTusd => Currency::Tusd,
5934            &CurrencyPair::BtcUsdc => Currency::Usdc,
5935            &CurrencyPair::BtcUsds => Currency::Usds,
5936            &CurrencyPair::BtcUsdt => Currency::Usdt,
5937            &CurrencyPair::BtcVtc => Currency::Vtc,
5938            &CurrencyPair::BtcXpm => Currency::Xpm,
5939            &CurrencyPair::BtgBtc => Currency::Btc,
5940            &CurrencyPair::BtgEth => Currency::Eth,
5941            &CurrencyPair::BtsBnb => Currency::Bnb,
5942            &CurrencyPair::BtsBtc => Currency::Btc,
5943            &CurrencyPair::BtsEth => Currency::Eth,
5944            &CurrencyPair::BttBnb => Currency::Bnb,
5945            &CurrencyPair::BttBtc => Currency::Btc,
5946            &CurrencyPair::BttPax => Currency::Pax,
5947            &CurrencyPair::BttTrx => Currency::Trx,
5948            &CurrencyPair::BttTusd => Currency::Tusd,
5949            &CurrencyPair::BttUsdc => Currency::Usdc,
5950            &CurrencyPair::BttUsdt => Currency::Usdt,
5951            &CurrencyPair::BusdNgn => Currency::Ngn,
5952            &CurrencyPair::BusdRub => Currency::Rub,
5953            &CurrencyPair::BusdTry => Currency::Try,
5954            &CurrencyPair::BusdUsdt => Currency::Usdt,
5955            &CurrencyPair::CdtBtc => Currency::Btc,
5956            &CurrencyPair::CdtEth => Currency::Eth,
5957            &CurrencyPair::CelrBnb => Currency::Bnb,
5958            &CurrencyPair::CelrBtc => Currency::Btc,
5959            &CurrencyPair::CelrUsdt => Currency::Usdt,
5960            &CurrencyPair::ChatBtc => Currency::Btc,
5961            &CurrencyPair::ChatEth => Currency::Eth,
5962            &CurrencyPair::ChzBnb => Currency::Bnb,
5963            &CurrencyPair::ChzBtc => Currency::Btc,
5964            &CurrencyPair::ChzUsdt => Currency::Usdt,
5965            &CurrencyPair::CloakBtc => Currency::Btc,
5966            &CurrencyPair::CloakEth => Currency::Eth,
5967            &CurrencyPair::CmtBnb => Currency::Bnb,
5968            &CurrencyPair::CmtBtc => Currency::Btc,
5969            &CurrencyPair::CmtEth => Currency::Eth,
5970            &CurrencyPair::CndBnb => Currency::Bnb,
5971            &CurrencyPair::CndBtc => Currency::Btc,
5972            &CurrencyPair::CndEth => Currency::Eth,
5973            &CurrencyPair::CocosBnb => Currency::Bnb,
5974            &CurrencyPair::CocosBtc => Currency::Btc,
5975            &CurrencyPair::CocosUsdt => Currency::Usdt,
5976            &CurrencyPair::CosBnb => Currency::Bnb,
5977            &CurrencyPair::CosBtc => Currency::Btc,
5978            &CurrencyPair::CosUsdt => Currency::Usdt,
5979            &CurrencyPair::CtxcBnb => Currency::Bnb,
5980            &CurrencyPair::CtxcBtc => Currency::Btc,
5981            &CurrencyPair::CtxcUsdt => Currency::Usdt,
5982            &CurrencyPair::CvcBnb => Currency::Bnb,
5983            &CurrencyPair::CvcBtc => Currency::Btc,
5984            &CurrencyPair::CvcEth => Currency::Eth,
5985            &CurrencyPair::CvcUsdt => Currency::Usdt,
5986            &CurrencyPair::DashBnb => Currency::Bnb,
5987            &CurrencyPair::DashBtc => Currency::Btc,
5988            &CurrencyPair::DashEth => Currency::Eth,
5989            &CurrencyPair::DashUsdt => Currency::Usdt,
5990            &CurrencyPair::DataBtc => Currency::Btc,
5991            &CurrencyPair::DataEth => Currency::Eth,
5992            &CurrencyPair::DcrBnb => Currency::Bnb,
5993            &CurrencyPair::DcrBtc => Currency::Btc,
5994            &CurrencyPair::DentBtc => Currency::Btc,
5995            &CurrencyPair::DentEth => Currency::Eth,
5996            &CurrencyPair::DentUsdt => Currency::Usdt,
5997            &CurrencyPair::DgdBtc => Currency::Btc,
5998            &CurrencyPair::DgdEth => Currency::Eth,
5999            &CurrencyPair::DltBnb => Currency::Bnb,
6000            &CurrencyPair::DltBtc => Currency::Btc,
6001            &CurrencyPair::DltEth => Currency::Eth,
6002            &CurrencyPair::DntBtc => Currency::Btc,
6003            &CurrencyPair::DntEth => Currency::Eth,
6004            &CurrencyPair::DockBtc => Currency::Btc,
6005            &CurrencyPair::DockEth => Currency::Eth,
6006            &CurrencyPair::DockUsdt => Currency::Usdt,
6007            &CurrencyPair::DogeBnb => Currency::Bnb,
6008            &CurrencyPair::DogeBtc => Currency::Btc,
6009            &CurrencyPair::DogePax => Currency::Pax,
6010            &CurrencyPair::DogeUsdc => Currency::Usdc,
6011            &CurrencyPair::DogeUsdt => Currency::Usdt,
6012            &CurrencyPair::DuskBnb => Currency::Bnb,
6013            &CurrencyPair::DuskBtc => Currency::Btc,
6014            &CurrencyPair::DuskPax => Currency::Pax,
6015            &CurrencyPair::DuskUsdc => Currency::Usdc,
6016            &CurrencyPair::DuskUsdt => Currency::Usdt,
6017            &CurrencyPair::EdoBtc => Currency::Btc,
6018            &CurrencyPair::EdoEth => Currency::Eth,
6019            &CurrencyPair::ElfBtc => Currency::Btc,
6020            &CurrencyPair::ElfEth => Currency::Eth,
6021            &CurrencyPair::EngBtc => Currency::Btc,
6022            &CurrencyPair::EngEth => Currency::Eth,
6023            &CurrencyPair::EnjBnb => Currency::Bnb,
6024            &CurrencyPair::EnjBtc => Currency::Btc,
6025            &CurrencyPair::EnjEth => Currency::Eth,
6026            &CurrencyPair::EnjUsdt => Currency::Usdt,
6027            &CurrencyPair::EosBnb => Currency::Bnb,
6028            &CurrencyPair::EosBtc => Currency::Btc,
6029            &CurrencyPair::EosBusd => Currency::Busd,
6030            &CurrencyPair::EosEth => Currency::Eth,
6031            &CurrencyPair::EosPax => Currency::Pax,
6032            &CurrencyPair::EosTusd => Currency::Tusd,
6033            &CurrencyPair::EosUsdc => Currency::Usdc,
6034            &CurrencyPair::EosUsdt => Currency::Usdt,
6035            &CurrencyPair::ErdBnb => Currency::Bnb,
6036            &CurrencyPair::ErdBtc => Currency::Btc,
6037            &CurrencyPair::ErdPax => Currency::Pax,
6038            &CurrencyPair::ErdUsdc => Currency::Usdc,
6039            &CurrencyPair::ErdUsdt => Currency::Usdt,
6040            &CurrencyPair::EtcBnb => Currency::Bnb,
6041            &CurrencyPair::EtcBtc => Currency::Btc,
6042            &CurrencyPair::EtcBusd => Currency::Busd,
6043            &CurrencyPair::EtcEth => Currency::Eth,
6044            &CurrencyPair::EtcPax => Currency::Pax,
6045            &CurrencyPair::EtcTusd => Currency::Tusd,
6046            &CurrencyPair::EtcUsdc => Currency::Usdc,
6047            &CurrencyPair::EtcUsdt => Currency::Usdt,
6048            &CurrencyPair::EthBtc => Currency::Btc,
6049            &CurrencyPair::EthBusd => Currency::Busd,
6050            &CurrencyPair::EthPax => Currency::Pax,
6051            &CurrencyPair::EthRub => Currency::Rub,
6052            &CurrencyPair::EthTry => Currency::Try,
6053            &CurrencyPair::EthTusd => Currency::Tusd,
6054            &CurrencyPair::EthUsdc => Currency::Usdc,
6055            &CurrencyPair::EthUsdt => Currency::Usdt,
6056            &CurrencyPair::EvxBtc => Currency::Btc,
6057            &CurrencyPair::EvxEth => Currency::Eth,
6058            &CurrencyPair::FetBnb => Currency::Bnb,
6059            &CurrencyPair::FetBtc => Currency::Btc,
6060            &CurrencyPair::FetUsdt => Currency::Usdt,
6061            &CurrencyPair::FtmBnb => Currency::Bnb,
6062            &CurrencyPair::FtmBtc => Currency::Btc,
6063            &CurrencyPair::FtmPax => Currency::Pax,
6064            &CurrencyPair::FtmTusd => Currency::Tusd,
6065            &CurrencyPair::FtmUsdc => Currency::Usdc,
6066            &CurrencyPair::FtmUsdt => Currency::Usdt,
6067            &CurrencyPair::FttBnb => Currency::Bnb,
6068            &CurrencyPair::FttBtc => Currency::Btc,
6069            &CurrencyPair::FttUsdt => Currency::Usdt,
6070            &CurrencyPair::FuelBtc => Currency::Btc,
6071            &CurrencyPair::FuelEth => Currency::Eth,
6072            &CurrencyPair::FunBtc => Currency::Btc,
6073            &CurrencyPair::FunEth => Currency::Eth,
6074            &CurrencyPair::FunUsdt => Currency::Usdt,
6075            &CurrencyPair::GasBtc => Currency::Btc,
6076            &CurrencyPair::GntBnb => Currency::Bnb,
6077            &CurrencyPair::GntBtc => Currency::Btc,
6078            &CurrencyPair::GntEth => Currency::Eth,
6079            &CurrencyPair::GoBnb => Currency::Bnb,
6080            &CurrencyPair::GoBtc => Currency::Btc,
6081            &CurrencyPair::GrsBtc => Currency::Btc,
6082            &CurrencyPair::GrsEth => Currency::Eth,
6083            &CurrencyPair::GtoBnb => Currency::Bnb,
6084            &CurrencyPair::GtoBtc => Currency::Btc,
6085            &CurrencyPair::GtoEth => Currency::Eth,
6086            &CurrencyPair::GtoPax => Currency::Pax,
6087            &CurrencyPair::GtoTusd => Currency::Tusd,
6088            &CurrencyPair::GtoUsdc => Currency::Usdc,
6089            &CurrencyPair::GtoUsdt => Currency::Usdt,
6090            &CurrencyPair::GvtBtc => Currency::Btc,
6091            &CurrencyPair::GvtEth => Currency::Eth,
6092            &CurrencyPair::GxsBtc => Currency::Btc,
6093            &CurrencyPair::GxsEth => Currency::Eth,
6094            &CurrencyPair::HbarBnb => Currency::Bnb,
6095            &CurrencyPair::HbarBtc => Currency::Btc,
6096            &CurrencyPair::HbarUsdt => Currency::Usdt,
6097            &CurrencyPair::HcBtc => Currency::Btc,
6098            &CurrencyPair::HcEth => Currency::Eth,
6099            &CurrencyPair::HcUsdt => Currency::Usdt,
6100            &CurrencyPair::HotBnb => Currency::Bnb,
6101            &CurrencyPair::HotBtc => Currency::Btc,
6102            &CurrencyPair::HotEth => Currency::Eth,
6103            &CurrencyPair::HotUsdt => Currency::Usdt,
6104            &CurrencyPair::HsrBtc => Currency::Btc,
6105            &CurrencyPair::HsrEth => Currency::Eth,
6106            &CurrencyPair::IcnBtc => Currency::Btc,
6107            &CurrencyPair::IcnEth => Currency::Eth,
6108            &CurrencyPair::IcxBnb => Currency::Bnb,
6109            &CurrencyPair::IcxBtc => Currency::Btc,
6110            &CurrencyPair::IcxEth => Currency::Eth,
6111            &CurrencyPair::IcxUsdt => Currency::Usdt,
6112            &CurrencyPair::InsBtc => Currency::Btc,
6113            &CurrencyPair::InsEth => Currency::Eth,
6114            &CurrencyPair::IostBnb => Currency::Bnb,
6115            &CurrencyPair::IostBtc => Currency::Btc,
6116            &CurrencyPair::IostEth => Currency::Eth,
6117            &CurrencyPair::IostUsdt => Currency::Usdt,
6118            &CurrencyPair::IotaBnb => Currency::Bnb,
6119            &CurrencyPair::IotaBtc => Currency::Btc,
6120            &CurrencyPair::IotaEth => Currency::Eth,
6121            &CurrencyPair::IotaUsdt => Currency::Usdt,
6122            &CurrencyPair::IotxBtc => Currency::Btc,
6123            &CurrencyPair::IotxEth => Currency::Eth,
6124            &CurrencyPair::IotxUsdt => Currency::Usdt,
6125            &CurrencyPair::KavaBnb => Currency::Bnb,
6126            &CurrencyPair::KavaBtc => Currency::Btc,
6127            &CurrencyPair::KavaUsdt => Currency::Usdt,
6128            &CurrencyPair::KeyBtc => Currency::Btc,
6129            &CurrencyPair::KeyEth => Currency::Eth,
6130            &CurrencyPair::KeyUsdt => Currency::Usdt,
6131            &CurrencyPair::KmdBtc => Currency::Btc,
6132            &CurrencyPair::KmdEth => Currency::Eth,
6133            &CurrencyPair::KncBtc => Currency::Btc,
6134            &CurrencyPair::KncEth => Currency::Eth,
6135            &CurrencyPair::LendBtc => Currency::Btc,
6136            &CurrencyPair::LendEth => Currency::Eth,
6137            &CurrencyPair::LinkBtc => Currency::Btc,
6138            &CurrencyPair::LinkBusd => Currency::Busd,
6139            &CurrencyPair::LinkEth => Currency::Eth,
6140            &CurrencyPair::LinkPax => Currency::Pax,
6141            &CurrencyPair::LinkTusd => Currency::Tusd,
6142            &CurrencyPair::LinkUsdc => Currency::Usdc,
6143            &CurrencyPair::LinkUsdt => Currency::Usdt,
6144            &CurrencyPair::LoomBnb => Currency::Bnb,
6145            &CurrencyPair::LoomBtc => Currency::Btc,
6146            &CurrencyPair::LoomEth => Currency::Eth,
6147            &CurrencyPair::LrcBtc => Currency::Btc,
6148            &CurrencyPair::LrcEth => Currency::Eth,
6149            &CurrencyPair::LskBnb => Currency::Bnb,
6150            &CurrencyPair::LskBtc => Currency::Btc,
6151            &CurrencyPair::LskEth => Currency::Eth,
6152            &CurrencyPair::LtcBnb => Currency::Bnb,
6153            &CurrencyPair::LtcBtc => Currency::Btc,
6154            &CurrencyPair::LtcBusd => Currency::Busd,
6155            &CurrencyPair::LtcEth => Currency::Eth,
6156            &CurrencyPair::LtcPax => Currency::Pax,
6157            &CurrencyPair::LtcTusd => Currency::Tusd,
6158            &CurrencyPair::LtcUsdc => Currency::Usdc,
6159            &CurrencyPair::LtcUsdt => Currency::Usdt,
6160            &CurrencyPair::LunBtc => Currency::Btc,
6161            &CurrencyPair::LunEth => Currency::Eth,
6162            &CurrencyPair::ManaBtc => Currency::Btc,
6163            &CurrencyPair::ManaEth => Currency::Eth,
6164            &CurrencyPair::MaticBnb => Currency::Bnb,
6165            &CurrencyPair::MaticBtc => Currency::Btc,
6166            &CurrencyPair::MaticUsdt => Currency::Usdt,
6167            &CurrencyPair::McoBnb => Currency::Bnb,
6168            &CurrencyPair::McoBtc => Currency::Btc,
6169            &CurrencyPair::McoEth => Currency::Eth,
6170            &CurrencyPair::McoUsdt => Currency::Usdt,
6171            &CurrencyPair::MdaBtc => Currency::Btc,
6172            &CurrencyPair::MdaEth => Currency::Eth,
6173            &CurrencyPair::MftBnb => Currency::Bnb,
6174            &CurrencyPair::MftBtc => Currency::Btc,
6175            &CurrencyPair::MftEth => Currency::Eth,
6176            &CurrencyPair::MftUsdt => Currency::Usdt,
6177            &CurrencyPair::MithBnb => Currency::Bnb,
6178            &CurrencyPair::MithBtc => Currency::Btc,
6179            &CurrencyPair::MithUsdt => Currency::Usdt,
6180            &CurrencyPair::ModBtc => Currency::Btc,
6181            &CurrencyPair::ModEth => Currency::Eth,
6182            &CurrencyPair::MthBtc => Currency::Btc,
6183            &CurrencyPair::MthEth => Currency::Eth,
6184            &CurrencyPair::MtlBtc => Currency::Btc,
6185            &CurrencyPair::MtlEth => Currency::Eth,
6186            &CurrencyPair::MtlUsdt => Currency::Usdt,
6187            &CurrencyPair::NanoBnb => Currency::Bnb,
6188            &CurrencyPair::NanoBtc => Currency::Btc,
6189            &CurrencyPair::NanoEth => Currency::Eth,
6190            &CurrencyPair::NanoUsdt => Currency::Usdt,
6191            &CurrencyPair::NasBnb => Currency::Bnb,
6192            &CurrencyPair::NasBtc => Currency::Btc,
6193            &CurrencyPair::NasEth => Currency::Eth,
6194            &CurrencyPair::NavBnb => Currency::Bnb,
6195            &CurrencyPair::NavBtc => Currency::Btc,
6196            &CurrencyPair::NavEth => Currency::Eth,
6197            &CurrencyPair::NcashBnb => Currency::Bnb,
6198            &CurrencyPair::NcashBtc => Currency::Btc,
6199            &CurrencyPair::NcashEth => Currency::Eth,
6200            &CurrencyPair::NeblBnb => Currency::Bnb,
6201            &CurrencyPair::NeblBtc => Currency::Btc,
6202            &CurrencyPair::NeblEth => Currency::Eth,
6203            &CurrencyPair::NeoBnb => Currency::Bnb,
6204            &CurrencyPair::NeoBtc => Currency::Btc,
6205            &CurrencyPair::NeoEth => Currency::Eth,
6206            &CurrencyPair::NeoPax => Currency::Pax,
6207            &CurrencyPair::NeoTusd => Currency::Tusd,
6208            &CurrencyPair::NeoUsdc => Currency::Usdc,
6209            &CurrencyPair::NeoUsdt => Currency::Usdt,
6210            &CurrencyPair::NknBnb => Currency::Bnb,
6211            &CurrencyPair::NknBtc => Currency::Btc,
6212            &CurrencyPair::NknUsdt => Currency::Usdt,
6213            &CurrencyPair::NpxsBtc => Currency::Btc,
6214            &CurrencyPair::NpxsEth => Currency::Eth,
6215            &CurrencyPair::NpxsUsdc => Currency::Usdc,
6216            &CurrencyPair::NpxsUsdt => Currency::Usdt,
6217            &CurrencyPair::NulsBnb => Currency::Bnb,
6218            &CurrencyPair::NulsBtc => Currency::Btc,
6219            &CurrencyPair::NulsEth => Currency::Eth,
6220            &CurrencyPair::NulsUsdt => Currency::Usdt,
6221            &CurrencyPair::NxsBnb => Currency::Bnb,
6222            &CurrencyPair::NxsBtc => Currency::Btc,
6223            &CurrencyPair::NxsEth => Currency::Eth,
6224            &CurrencyPair::OaxBtc => Currency::Btc,
6225            &CurrencyPair::OaxEth => Currency::Eth,
6226            &CurrencyPair::OmgBnb => Currency::Bnb,
6227            &CurrencyPair::OmgBtc => Currency::Btc,
6228            &CurrencyPair::OmgEth => Currency::Eth,
6229            &CurrencyPair::OmgUsdt => Currency::Usdt,
6230            &CurrencyPair::OneBnb => Currency::Bnb,
6231            &CurrencyPair::OneBtc => Currency::Btc,
6232            &CurrencyPair::OnePax => Currency::Pax,
6233            &CurrencyPair::OneTusd => Currency::Tusd,
6234            &CurrencyPair::OneUsdc => Currency::Usdc,
6235            &CurrencyPair::OneUsdt => Currency::Usdt,
6236            &CurrencyPair::OngBnb => Currency::Bnb,
6237            &CurrencyPair::OngBtc => Currency::Btc,
6238            &CurrencyPair::OngUsdt => Currency::Usdt,
6239            &CurrencyPair::OntBnb => Currency::Bnb,
6240            &CurrencyPair::OntBtc => Currency::Btc,
6241            &CurrencyPair::OntEth => Currency::Eth,
6242            &CurrencyPair::OntPax => Currency::Pax,
6243            &CurrencyPair::OntUsdc => Currency::Usdc,
6244            &CurrencyPair::OntUsdt => Currency::Usdt,
6245            &CurrencyPair::OstBnb => Currency::Bnb,
6246            &CurrencyPair::OstBtc => Currency::Btc,
6247            &CurrencyPair::OstEth => Currency::Eth,
6248            &CurrencyPair::PaxBnb => Currency::Bnb,
6249            &CurrencyPair::PaxBtc => Currency::Btc,
6250            &CurrencyPair::PaxEth => Currency::Eth,
6251            &CurrencyPair::PaxTusd => Currency::Tusd,
6252            &CurrencyPair::PaxUsdt => Currency::Usdt,
6253            &CurrencyPair::PerlBnb => Currency::Bnb,
6254            &CurrencyPair::PerlBtc => Currency::Btc,
6255            &CurrencyPair::PerlUsdc => Currency::Usdc,
6256            &CurrencyPair::PerlUsdt => Currency::Usdt,
6257            &CurrencyPair::PhbBnb => Currency::Bnb,
6258            &CurrencyPair::PhbBtc => Currency::Btc,
6259            &CurrencyPair::PhbPax => Currency::Pax,
6260            &CurrencyPair::PhbTusd => Currency::Tusd,
6261            &CurrencyPair::PhbUsdc => Currency::Usdc,
6262            &CurrencyPair::PhxBnb => Currency::Bnb,
6263            &CurrencyPair::PhxBtc => Currency::Btc,
6264            &CurrencyPair::PhxEth => Currency::Eth,
6265            &CurrencyPair::PivxBnb => Currency::Bnb,
6266            &CurrencyPair::PivxBtc => Currency::Btc,
6267            &CurrencyPair::PivxEth => Currency::Eth,
6268            &CurrencyPair::PoaBnb => Currency::Bnb,
6269            &CurrencyPair::PoaBtc => Currency::Btc,
6270            &CurrencyPair::PoaEth => Currency::Eth,
6271            &CurrencyPair::PoeBtc => Currency::Btc,
6272            &CurrencyPair::PoeEth => Currency::Eth,
6273            &CurrencyPair::PolyBnb => Currency::Bnb,
6274            &CurrencyPair::PolyBtc => Currency::Btc,
6275            &CurrencyPair::PowrBnb => Currency::Bnb,
6276            &CurrencyPair::PowrBtc => Currency::Btc,
6277            &CurrencyPair::PowrEth => Currency::Eth,
6278            &CurrencyPair::PptBtc => Currency::Btc,
6279            &CurrencyPair::PptEth => Currency::Eth,
6280            &CurrencyPair::QkcBtc => Currency::Btc,
6281            &CurrencyPair::QkcEth => Currency::Eth,
6282            &CurrencyPair::QlcBnb => Currency::Bnb,
6283            &CurrencyPair::QlcBtc => Currency::Btc,
6284            &CurrencyPair::QlcEth => Currency::Eth,
6285            &CurrencyPair::QspBnb => Currency::Bnb,
6286            &CurrencyPair::QspBtc => Currency::Btc,
6287            &CurrencyPair::QspEth => Currency::Eth,
6288            &CurrencyPair::QtumBnb => Currency::Bnb,
6289            &CurrencyPair::QtumBtc => Currency::Btc,
6290            &CurrencyPair::QtumBusd => Currency::Busd,
6291            &CurrencyPair::QtumEth => Currency::Eth,
6292            &CurrencyPair::QtumUsdt => Currency::Usdt,
6293            &CurrencyPair::RcnBnb => Currency::Bnb,
6294            &CurrencyPair::RcnBtc => Currency::Btc,
6295            &CurrencyPair::RcnEth => Currency::Eth,
6296            &CurrencyPair::RdnBnb => Currency::Bnb,
6297            &CurrencyPair::RdnBtc => Currency::Btc,
6298            &CurrencyPair::RdnEth => Currency::Eth,
6299            &CurrencyPair::RenBnb => Currency::Bnb,
6300            &CurrencyPair::RenBtc => Currency::Btc,
6301            &CurrencyPair::RenUsdt => Currency::Usdt,
6302            &CurrencyPair::RepBnb => Currency::Bnb,
6303            &CurrencyPair::RepBtc => Currency::Btc,
6304            &CurrencyPair::RepEth => Currency::Eth,
6305            &CurrencyPair::ReqBtc => Currency::Btc,
6306            &CurrencyPair::ReqEth => Currency::Eth,
6307            &CurrencyPair::RlcBnb => Currency::Bnb,
6308            &CurrencyPair::RlcBtc => Currency::Btc,
6309            &CurrencyPair::RlcEth => Currency::Eth,
6310            &CurrencyPair::RlcUsdt => Currency::Usdt,
6311            &CurrencyPair::RpxBnb => Currency::Bnb,
6312            &CurrencyPair::RpxBtc => Currency::Btc,
6313            &CurrencyPair::RpxEth => Currency::Eth,
6314            &CurrencyPair::RvnBnb => Currency::Bnb,
6315            &CurrencyPair::RvnBtc => Currency::Btc,
6316            &CurrencyPair::RvnUsdt => Currency::Usdt,
6317            &CurrencyPair::SaltBtc => Currency::Btc,
6318            &CurrencyPair::SaltEth => Currency::Eth,
6319            &CurrencyPair::ScBnb => Currency::Bnb,
6320            &CurrencyPair::ScBtc => Currency::Btc,
6321            &CurrencyPair::ScEth => Currency::Eth,
6322            &CurrencyPair::SkyBnb => Currency::Bnb,
6323            &CurrencyPair::SkyBtc => Currency::Btc,
6324            &CurrencyPair::SkyEth => Currency::Eth,
6325            &CurrencyPair::SnglsBtc => Currency::Btc,
6326            &CurrencyPair::SnglsEth => Currency::Eth,
6327            &CurrencyPair::SnmBtc => Currency::Btc,
6328            &CurrencyPair::SnmEth => Currency::Eth,
6329            &CurrencyPair::SntBtc => Currency::Btc,
6330            &CurrencyPair::SntEth => Currency::Eth,
6331            &CurrencyPair::SteemBnb => Currency::Bnb,
6332            &CurrencyPair::SteemBtc => Currency::Btc,
6333            &CurrencyPair::SteemEth => Currency::Eth,
6334            &CurrencyPair::StorjBtc => Currency::Btc,
6335            &CurrencyPair::StorjEth => Currency::Eth,
6336            &CurrencyPair::StormBnb => Currency::Bnb,
6337            &CurrencyPair::StormBtc => Currency::Btc,
6338            &CurrencyPair::StormEth => Currency::Eth,
6339            &CurrencyPair::StormUsdt => Currency::Usdt,
6340            &CurrencyPair::StratBtc => Currency::Btc,
6341            &CurrencyPair::StratEth => Currency::Eth,
6342            &CurrencyPair::StxBnb => Currency::Bnb,
6343            &CurrencyPair::StxBtc => Currency::Btc,
6344            &CurrencyPair::StxUsdt => Currency::Usdt,
6345            &CurrencyPair::SubBtc => Currency::Btc,
6346            &CurrencyPair::SubEth => Currency::Eth,
6347            &CurrencyPair::SysBnb => Currency::Bnb,
6348            &CurrencyPair::SysBtc => Currency::Btc,
6349            &CurrencyPair::SysEth => Currency::Eth,
6350            &CurrencyPair::TfuelBnb => Currency::Bnb,
6351            &CurrencyPair::TfuelBtc => Currency::Btc,
6352            &CurrencyPair::TfuelPax => Currency::Pax,
6353            &CurrencyPair::TfuelTusd => Currency::Tusd,
6354            &CurrencyPair::TfuelUsdc => Currency::Usdc,
6355            &CurrencyPair::TfuelUsdt => Currency::Usdt,
6356            &CurrencyPair::ThetaBnb => Currency::Bnb,
6357            &CurrencyPair::ThetaBtc => Currency::Btc,
6358            &CurrencyPair::ThetaEth => Currency::Eth,
6359            &CurrencyPair::ThetaUsdt => Currency::Usdt,
6360            &CurrencyPair::TnbBtc => Currency::Btc,
6361            &CurrencyPair::TnbEth => Currency::Eth,
6362            &CurrencyPair::TntBtc => Currency::Btc,
6363            &CurrencyPair::TntEth => Currency::Eth,
6364            &CurrencyPair::TomoBnb => Currency::Bnb,
6365            &CurrencyPair::TomoBtc => Currency::Btc,
6366            &CurrencyPair::TomoUsdc => Currency::Usdc,
6367            &CurrencyPair::TomoUsdt => Currency::Usdt,
6368            &CurrencyPair::TrigBnb => Currency::Bnb,
6369            &CurrencyPair::TrigBtc => Currency::Btc,
6370            &CurrencyPair::TrigEth => Currency::Eth,
6371            &CurrencyPair::TroyBnb => Currency::Bnb,
6372            &CurrencyPair::TroyBtc => Currency::Btc,
6373            &CurrencyPair::TroyUsdt => Currency::Usdt,
6374            &CurrencyPair::TrxBnb => Currency::Bnb,
6375            &CurrencyPair::TrxBtc => Currency::Btc,
6376            &CurrencyPair::TrxBusd => Currency::Busd,
6377            &CurrencyPair::TrxEth => Currency::Eth,
6378            &CurrencyPair::TrxPax => Currency::Pax,
6379            &CurrencyPair::TrxTusd => Currency::Tusd,
6380            &CurrencyPair::TrxUsdc => Currency::Usdc,
6381            &CurrencyPair::TrxUsdt => Currency::Usdt,
6382            &CurrencyPair::TrxXrp => Currency::Xrp,
6383            &CurrencyPair::TusdbTusd => Currency::Tusd,
6384            &CurrencyPair::TusdBnb => Currency::Bnb,
6385            &CurrencyPair::TusdBtc => Currency::Btc,
6386            &CurrencyPair::TusdEth => Currency::Eth,
6387            &CurrencyPair::TusdUsdt => Currency::Usdt,
6388            &CurrencyPair::UsdcBnb => Currency::Bnb,
6389            &CurrencyPair::UsdcDash => Currency::Dash,
6390            &CurrencyPair::UsdcGrin => Currency::Grin,
6391            &CurrencyPair::UsdcPax => Currency::Pax,
6392            &CurrencyPair::UsdcStr => Currency::Str,
6393            &CurrencyPair::UsdcTusd => Currency::Tusd,
6394            &CurrencyPair::UsdcUsdt => Currency::Usdt,
6395            &CurrencyPair::UsdcXmr => Currency::Xmr,
6396            &CurrencyPair::UsdsbUsds => Currency::Usds,
6397            &CurrencyPair::UsdsbUsdt => Currency::Usdt,
6398            &CurrencyPair::UsdsPax => Currency::Pax,
6399            &CurrencyPair::UsdsTusd => Currency::Tusd,
6400            &CurrencyPair::UsdsUsdc => Currency::Usdc,
6401            &CurrencyPair::UsdsUsdt => Currency::Usdt,
6402            &CurrencyPair::UsdtDgb => Currency::Dgb,
6403            &CurrencyPair::UsdtGnt => Currency::Gnt,
6404            &CurrencyPair::UsdtGrin => Currency::Grin,
6405            &CurrencyPair::UsdtLsk => Currency::Lsk,
6406            &CurrencyPair::UsdtMana => Currency::Mana,
6407            &CurrencyPair::UsdtNxt => Currency::Nxt,
6408            &CurrencyPair::UsdtRep => Currency::Rep,
6409            &CurrencyPair::UsdtRub => Currency::Rub,
6410            &CurrencyPair::UsdtSc => Currency::Sc,
6411            &CurrencyPair::UsdtStr => Currency::Str,
6412            &CurrencyPair::UsdtTry => Currency::Try,
6413            &CurrencyPair::VenBnb => Currency::Bnb,
6414            &CurrencyPair::VenBtc => Currency::Btc,
6415            &CurrencyPair::VenEth => Currency::Eth,
6416            &CurrencyPair::VenUsdt => Currency::Usdt,
6417            &CurrencyPair::VetBnb => Currency::Bnb,
6418            &CurrencyPair::VetBtc => Currency::Btc,
6419            &CurrencyPair::VetBusd => Currency::Busd,
6420            &CurrencyPair::VetEth => Currency::Eth,
6421            &CurrencyPair::VetUsdt => Currency::Usdt,
6422            &CurrencyPair::ViaBnb => Currency::Bnb,
6423            &CurrencyPair::ViaBtc => Currency::Btc,
6424            &CurrencyPair::ViaEth => Currency::Eth,
6425            &CurrencyPair::VibeBtc => Currency::Btc,
6426            &CurrencyPair::VibeEth => Currency::Eth,
6427            &CurrencyPair::VibBtc => Currency::Btc,
6428            &CurrencyPair::VibEth => Currency::Eth,
6429            &CurrencyPair::ViteBnb => Currency::Bnb,
6430            &CurrencyPair::ViteBtc => Currency::Btc,
6431            &CurrencyPair::ViteUsdt => Currency::Usdt,
6432            &CurrencyPair::WabiBnb => Currency::Bnb,
6433            &CurrencyPair::WabiBtc => Currency::Btc,
6434            &CurrencyPair::WabiEth => Currency::Eth,
6435            &CurrencyPair::WanBnb => Currency::Bnb,
6436            &CurrencyPair::WanBtc => Currency::Btc,
6437            &CurrencyPair::WanEth => Currency::Eth,
6438            &CurrencyPair::WanUsdt => Currency::Usdt,
6439            &CurrencyPair::WavesBnb => Currency::Bnb,
6440            &CurrencyPair::WavesBtc => Currency::Btc,
6441            &CurrencyPair::WavesEth => Currency::Eth,
6442            &CurrencyPair::WavesPax => Currency::Pax,
6443            &CurrencyPair::WavesTusd => Currency::Tusd,
6444            &CurrencyPair::WavesUsdc => Currency::Usdc,
6445            &CurrencyPair::WavesUsdt => Currency::Usdt,
6446            &CurrencyPair::WingsBtc => Currency::Btc,
6447            &CurrencyPair::WingsEth => Currency::Eth,
6448            &CurrencyPair::WinBnb => Currency::Bnb,
6449            &CurrencyPair::WinBtc => Currency::Btc,
6450            &CurrencyPair::WinTrx => Currency::Trx,
6451            &CurrencyPair::WinUsdc => Currency::Usdc,
6452            &CurrencyPair::WinUsdt => Currency::Usdt,
6453            &CurrencyPair::WprBtc => Currency::Btc,
6454            &CurrencyPair::WprEth => Currency::Eth,
6455            &CurrencyPair::WtcBnb => Currency::Bnb,
6456            &CurrencyPair::WtcBtc => Currency::Btc,
6457            &CurrencyPair::WtcEth => Currency::Eth,
6458            &CurrencyPair::XemBnb => Currency::Bnb,
6459            &CurrencyPair::XemBtc => Currency::Btc,
6460            &CurrencyPair::XemEth => Currency::Eth,
6461            &CurrencyPair::XlmBnb => Currency::Bnb,
6462            &CurrencyPair::XlmBtc => Currency::Btc,
6463            &CurrencyPair::XlmBusd => Currency::Busd,
6464            &CurrencyPair::XlmEth => Currency::Eth,
6465            &CurrencyPair::XlmPax => Currency::Pax,
6466            &CurrencyPair::XlmTusd => Currency::Tusd,
6467            &CurrencyPair::XlmUsdc => Currency::Usdc,
6468            &CurrencyPair::XlmUsdt => Currency::Usdt,
6469            &CurrencyPair::XmrBnb => Currency::Bnb,
6470            &CurrencyPair::XmrBtc => Currency::Btc,
6471            &CurrencyPair::XmrEth => Currency::Eth,
6472            &CurrencyPair::XmrUsdt => Currency::Usdt,
6473            &CurrencyPair::XrpBnb => Currency::Bnb,
6474            &CurrencyPair::XrpBtc => Currency::Btc,
6475            &CurrencyPair::XrpBusd => Currency::Busd,
6476            &CurrencyPair::XrpEth => Currency::Eth,
6477            &CurrencyPair::XrpPax => Currency::Pax,
6478            &CurrencyPair::XrpRub => Currency::Rub,
6479            &CurrencyPair::XrpTry => Currency::Try,
6480            &CurrencyPair::XrpTusd => Currency::Tusd,
6481            &CurrencyPair::XrpUsdc => Currency::Usdc,
6482            &CurrencyPair::XrpUsdt => Currency::Usdt,
6483            &CurrencyPair::XtzBnb => Currency::Bnb,
6484            &CurrencyPair::XtzBtc => Currency::Btc,
6485            &CurrencyPair::XtzUsdt => Currency::Usdt,
6486            &CurrencyPair::XvgBtc => Currency::Btc,
6487            &CurrencyPair::XvgEth => Currency::Eth,
6488            &CurrencyPair::XzcBnb => Currency::Bnb,
6489            &CurrencyPair::XzcBtc => Currency::Btc,
6490            &CurrencyPair::XzcEth => Currency::Eth,
6491            &CurrencyPair::XzcXrp => Currency::Xrp,
6492            &CurrencyPair::YoyoBnb => Currency::Bnb,
6493            &CurrencyPair::YoyoBtc => Currency::Btc,
6494            &CurrencyPair::YoyoEth => Currency::Eth,
6495            &CurrencyPair::ZecBnb => Currency::Bnb,
6496            &CurrencyPair::ZecBtc => Currency::Btc,
6497            &CurrencyPair::ZecEth => Currency::Eth,
6498            &CurrencyPair::ZecPax => Currency::Pax,
6499            &CurrencyPair::ZecTusd => Currency::Tusd,
6500            &CurrencyPair::ZecUsdc => Currency::Usdc,
6501            &CurrencyPair::ZecUsdt => Currency::Usdt,
6502            &CurrencyPair::ZenBnb => Currency::Bnb,
6503            &CurrencyPair::ZenBtc => Currency::Btc,
6504            &CurrencyPair::ZenEth => Currency::Eth,
6505            &CurrencyPair::ZilBnb => Currency::Bnb,
6506            &CurrencyPair::ZilBtc => Currency::Btc,
6507            &CurrencyPair::ZilEth => Currency::Eth,
6508            &CurrencyPair::ZilUsdt => Currency::Usdt,
6509            &CurrencyPair::ZrxBnb => Currency::Bnb,
6510            &CurrencyPair::ZrxBtc => Currency::Btc,
6511            &CurrencyPair::ZrxEth => Currency::Eth,
6512            &CurrencyPair::ZrxUsdt => Currency::Usdt,
6513        }
6514    }
6515}
6516
6517impl FromStr for CurrencyPair {
6518    type Err = Error;
6519
6520    fn from_str(pair: &str) -> Result<Self, Self::Err> {
6521        match pair {
6522            "ADA_BNB" => Ok(CurrencyPair::AdaBnb),
6523            "ADA_BTC" => Ok(CurrencyPair::AdaBtc),
6524            "ADA_BUSD" => Ok(CurrencyPair::AdaBusd),
6525            "ADA_ETH" => Ok(CurrencyPair::AdaEth),
6526            "ADA_PAX" => Ok(CurrencyPair::AdaPax),
6527            "ADA_TUSD" => Ok(CurrencyPair::AdaTusd),
6528            "ADA_USDC" => Ok(CurrencyPair::AdaUsdc),
6529            "ADA_USDT" => Ok(CurrencyPair::AdaUsdt),
6530            "ADX_BNB" => Ok(CurrencyPair::AdxBnb),
6531            "ADX_BTC" => Ok(CurrencyPair::AdxBtc),
6532            "ADX_ETH" => Ok(CurrencyPair::AdxEth),
6533            "AE_BNB" => Ok(CurrencyPair::AeBnb),
6534            "AE_BTC" => Ok(CurrencyPair::AeBtc),
6535            "AE_ETH" => Ok(CurrencyPair::AeEth),
6536            "AGI_BNB" => Ok(CurrencyPair::AgiBnb),
6537            "AGI_BTC" => Ok(CurrencyPair::AgiBtc),
6538            "AGI_ETH" => Ok(CurrencyPair::AgiEth),
6539            "AION_BNB" => Ok(CurrencyPair::AionBnb),
6540            "AION_BTC" => Ok(CurrencyPair::AionBtc),
6541            "AION_ETH" => Ok(CurrencyPair::AionEth),
6542            "ALGO_BNB" => Ok(CurrencyPair::AlgoBnb),
6543            "ALGO_BTC" => Ok(CurrencyPair::AlgoBtc),
6544            "ALGO_PAX" => Ok(CurrencyPair::AlgoPax),
6545            "ALGO_TUSD" => Ok(CurrencyPair::AlgoTusd),
6546            "ALGO_USDC" => Ok(CurrencyPair::AlgoUsdc),
6547            "ALGO_USDT" => Ok(CurrencyPair::AlgoUsdt),
6548            "AMB_BNB" => Ok(CurrencyPair::AmbBnb),
6549            "AMB_BTC" => Ok(CurrencyPair::AmbBtc),
6550            "AMB_ETH" => Ok(CurrencyPair::AmbEth),
6551            "ANKR_BNB" => Ok(CurrencyPair::AnkrBnb),
6552            "ANKR_BTC" => Ok(CurrencyPair::AnkrBtc),
6553            "ANKR_PAX" => Ok(CurrencyPair::AnkrPax),
6554            "ANKR_TUSD" => Ok(CurrencyPair::AnkrTusd),
6555            "ANKR_USDC" => Ok(CurrencyPair::AnkrUsdc),
6556            "ANKR_USDT" => Ok(CurrencyPair::AnkrUsdt),
6557            "APPC_BNB" => Ok(CurrencyPair::AppcBnb),
6558            "APPC_BTC" => Ok(CurrencyPair::AppcBtc),
6559            "APPC_ETH" => Ok(CurrencyPair::AppcEth),
6560            "ARDR_BNB" => Ok(CurrencyPair::ArdrBnb),
6561            "ARDR_BTC" => Ok(CurrencyPair::ArdrBtc),
6562            "ARDR_ETH" => Ok(CurrencyPair::ArdrEth),
6563            "ARK_BTC" => Ok(CurrencyPair::ArkBtc),
6564            "ARK_ETH" => Ok(CurrencyPair::ArkEth),
6565            "ARN_BTC" => Ok(CurrencyPair::ArnBtc),
6566            "ARN_ETH" => Ok(CurrencyPair::ArnEth),
6567            "ARPA_BNB" => Ok(CurrencyPair::ArpaBnb),
6568            "ARPA_BTC" => Ok(CurrencyPair::ArpaBtc),
6569            "ARPA_USDT" => Ok(CurrencyPair::ArpaUsdt),
6570            "AST_BTC" => Ok(CurrencyPair::AstBtc),
6571            "AST_ETH" => Ok(CurrencyPair::AstEth),
6572            "ATOM_BNB" => Ok(CurrencyPair::AtomBnb),
6573            "ATOM_BTC" => Ok(CurrencyPair::AtomBtc),
6574            "ATOM_PAX" => Ok(CurrencyPair::AtomPax),
6575            "ATOM_TUSD" => Ok(CurrencyPair::AtomTusd),
6576            "ATOM_USDC" => Ok(CurrencyPair::AtomUsdc),
6577            "ATOM_USDT" => Ok(CurrencyPair::AtomUsdt),
6578            "BAND_BNB" => Ok(CurrencyPair::BandBnb),
6579            "BAND_BTC" => Ok(CurrencyPair::BandBtc),
6580            "BAND_USDT" => Ok(CurrencyPair::BandUsdt),
6581            "BAT_BNB" => Ok(CurrencyPair::BatBnb),
6582            "BAT_BTC" => Ok(CurrencyPair::BatBtc),
6583            "BAT_ETH" => Ok(CurrencyPair::BatEth),
6584            "BAT_PAX" => Ok(CurrencyPair::BatPax),
6585            "BAT_TUSD" => Ok(CurrencyPair::BatTusd),
6586            "BAT_USDC" => Ok(CurrencyPair::BatUsdc),
6587            "BAT_USDT" => Ok(CurrencyPair::BatUsdt),
6588            "BCC_BNB" => Ok(CurrencyPair::BccBnb),
6589            "BCC_BTC" => Ok(CurrencyPair::BccBtc),
6590            "BCC_ETH" => Ok(CurrencyPair::BccEth),
6591            "BCC_USDT" => Ok(CurrencyPair::BccUsdt),
6592            "BCD_BTC" => Ok(CurrencyPair::BcdBtc),
6593            "BCD_ETH" => Ok(CurrencyPair::BcdEth),
6594            "BCHABC_BTC" => Ok(CurrencyPair::BchabcBtc),
6595            "BCHABC_BUSD" => Ok(CurrencyPair::BchabcBusd),
6596            "BCHABC_PAX" => Ok(CurrencyPair::BchabcPax),
6597            "BCHABC_TUSD" => Ok(CurrencyPair::BchabcTusd),
6598            "BCHABC_USDC" => Ok(CurrencyPair::BchabcUsdc),
6599            "BCHABC_USDT" => Ok(CurrencyPair::BchabcUsdt),
6600            "BCHSV_BTC" => Ok(CurrencyPair::BchsvBtc),
6601            "BCHSV_PAX" => Ok(CurrencyPair::BchsvPax),
6602            "BCHSV_TUSD" => Ok(CurrencyPair::BchsvTusd),
6603            "BCHSV_USDC" => Ok(CurrencyPair::BchsvUsdc),
6604            "BCHSV_USDT" => Ok(CurrencyPair::BchsvUsdt),
6605            "BCH_BNB" => Ok(CurrencyPair::BchBnb),
6606            "BCH_BTC" => Ok(CurrencyPair::BchBtc),
6607            "BCH_BUSD" => Ok(CurrencyPair::BchBusd),
6608            "BCH_PAX" => Ok(CurrencyPair::BchPax),
6609            "BCH_TUSD" => Ok(CurrencyPair::BchTusd),
6610            "BCH_USDC" => Ok(CurrencyPair::BchUsdc),
6611            "BCH_USDT" => Ok(CurrencyPair::BchUsdt),
6612            "BCN_BNB" => Ok(CurrencyPair::BcnBnb),
6613            "BCN_BTC" => Ok(CurrencyPair::BcnBtc),
6614            "BCN_ETH" => Ok(CurrencyPair::BcnEth),
6615            "BCPT_BNB" => Ok(CurrencyPair::BcptBnb),
6616            "BCPT_BTC" => Ok(CurrencyPair::BcptBtc),
6617            "BCPT_ETH" => Ok(CurrencyPair::BcptEth),
6618            "BCPT_PAX" => Ok(CurrencyPair::BcptPax),
6619            "BCPT_TUSD" => Ok(CurrencyPair::BcptTusd),
6620            "BCPT_USDC" => Ok(CurrencyPair::BcptUsdc),
6621            "BEAM_BNB" => Ok(CurrencyPair::BeamBnb),
6622            "BEAM_BTC" => Ok(CurrencyPair::BeamBtc),
6623            "BEAM_USDT" => Ok(CurrencyPair::BeamUsdt),
6624            "BGBP_USDC" => Ok(CurrencyPair::BgbpUsdc),
6625            "BLZ_BNB" => Ok(CurrencyPair::BlzBnb),
6626            "BLZ_BTC" => Ok(CurrencyPair::BlzBtc),
6627            "BLZ_ETH" => Ok(CurrencyPair::BlzEth),
6628            "BNB_BTC" => Ok(CurrencyPair::BnbBtc),
6629            "BNB_BUSD" => Ok(CurrencyPair::BnbBusd),
6630            "BNB_ETH" => Ok(CurrencyPair::BnbEth),
6631            "BNB_NGN" => Ok(CurrencyPair::BnbNgn),
6632            "BNB_PAX" => Ok(CurrencyPair::BnbPax),
6633            "BNB_RUB" => Ok(CurrencyPair::BnbRub),
6634            "BNB_TRY" => Ok(CurrencyPair::BnbTry),
6635            "BNB_TUSD" => Ok(CurrencyPair::BnbTusd),
6636            "BNB_USDC" => Ok(CurrencyPair::BnbUsdc),
6637            "BNB_USDS" => Ok(CurrencyPair::BnbUsds),
6638            "BNB_USDT" => Ok(CurrencyPair::BnbUsdt),
6639            "BNT_BTC" => Ok(CurrencyPair::BntBtc),
6640            "BNT_ETH" => Ok(CurrencyPair::BntEth),
6641            "BQX_BTC" => Ok(CurrencyPair::BqxBtc),
6642            "BQX_ETH" => Ok(CurrencyPair::BqxEth),
6643            "BRD_BNB" => Ok(CurrencyPair::BrdBnb),
6644            "BRD_BTC" => Ok(CurrencyPair::BrdBtc),
6645            "BRD_ETH" => Ok(CurrencyPair::BrdEth),
6646            "BTCB_BTC" => Ok(CurrencyPair::BtcbBtc),
6647            "BTC_BUSD" => Ok(CurrencyPair::BtcBusd),
6648            "BTC_DGB" => Ok(CurrencyPair::BtcDgb),
6649            "BTC_FCT" => Ok(CurrencyPair::BtcFct),
6650            "BTC_FOAM" => Ok(CurrencyPair::BtcFoam),
6651            "BTC_GRIN" => Ok(CurrencyPair::BtcGrin),
6652            "BTC_LPT" => Ok(CurrencyPair::BtcLpt),
6653            "BTC_MAID" => Ok(CurrencyPair::BtcMaid),
6654            "BTC_NGN" => Ok(CurrencyPair::BtcNgn),
6655            "BTC_NMR" => Ok(CurrencyPair::BtcNmr),
6656            "BTC_NXT" => Ok(CurrencyPair::BtcNxt),
6657            "BTC_OMNI" => Ok(CurrencyPair::BtcOmni),
6658            "BTC_PAX" => Ok(CurrencyPair::BtcPax),
6659            "BTC_RUB" => Ok(CurrencyPair::BtcRub),
6660            "BTC_STR" => Ok(CurrencyPair::BtcStr),
6661            "BTC_TRY" => Ok(CurrencyPair::BtcTry),
6662            "BTC_TUSD" => Ok(CurrencyPair::BtcTusd),
6663            "BTC_USDC" => Ok(CurrencyPair::BtcUsdc),
6664            "BTC_USDS" => Ok(CurrencyPair::BtcUsds),
6665            "BTC_USDT" => Ok(CurrencyPair::BtcUsdt),
6666            "BTC_VTC" => Ok(CurrencyPair::BtcVtc),
6667            "BTC_XPM" => Ok(CurrencyPair::BtcXpm),
6668            "BTG_BTC" => Ok(CurrencyPair::BtgBtc),
6669            "BTG_ETH" => Ok(CurrencyPair::BtgEth),
6670            "BTS_BNB" => Ok(CurrencyPair::BtsBnb),
6671            "BTS_BTC" => Ok(CurrencyPair::BtsBtc),
6672            "BTS_ETH" => Ok(CurrencyPair::BtsEth),
6673            "BTT_BNB" => Ok(CurrencyPair::BttBnb),
6674            "BTT_BTC" => Ok(CurrencyPair::BttBtc),
6675            "BTT_PAX" => Ok(CurrencyPair::BttPax),
6676            "BTT_TRX" => Ok(CurrencyPair::BttTrx),
6677            "BTT_TUSD" => Ok(CurrencyPair::BttTusd),
6678            "BTT_USDC" => Ok(CurrencyPair::BttUsdc),
6679            "BTT_USDT" => Ok(CurrencyPair::BttUsdt),
6680            "BUSD_NGN" => Ok(CurrencyPair::BusdNgn),
6681            "BUSD_RUB" => Ok(CurrencyPair::BusdRub),
6682            "BUSD_TRY" => Ok(CurrencyPair::BusdTry),
6683            "BUSD_USDT" => Ok(CurrencyPair::BusdUsdt),
6684            "CDT_BTC" => Ok(CurrencyPair::CdtBtc),
6685            "CDT_ETH" => Ok(CurrencyPair::CdtEth),
6686            "CELR_BNB" => Ok(CurrencyPair::CelrBnb),
6687            "CELR_BTC" => Ok(CurrencyPair::CelrBtc),
6688            "CELR_USDT" => Ok(CurrencyPair::CelrUsdt),
6689            "CHAT_BTC" => Ok(CurrencyPair::ChatBtc),
6690            "CHAT_ETH" => Ok(CurrencyPair::ChatEth),
6691            "CHZ_BNB" => Ok(CurrencyPair::ChzBnb),
6692            "CHZ_BTC" => Ok(CurrencyPair::ChzBtc),
6693            "CHZ_USDT" => Ok(CurrencyPair::ChzUsdt),
6694            "CLOAK_BTC" => Ok(CurrencyPair::CloakBtc),
6695            "CLOAK_ETH" => Ok(CurrencyPair::CloakEth),
6696            "CMT_BNB" => Ok(CurrencyPair::CmtBnb),
6697            "CMT_BTC" => Ok(CurrencyPair::CmtBtc),
6698            "CMT_ETH" => Ok(CurrencyPair::CmtEth),
6699            "CND_BNB" => Ok(CurrencyPair::CndBnb),
6700            "CND_BTC" => Ok(CurrencyPair::CndBtc),
6701            "CND_ETH" => Ok(CurrencyPair::CndEth),
6702            "COCOS_BNB" => Ok(CurrencyPair::CocosBnb),
6703            "COCOS_BTC" => Ok(CurrencyPair::CocosBtc),
6704            "COCOS_USDT" => Ok(CurrencyPair::CocosUsdt),
6705            "COS_BNB" => Ok(CurrencyPair::CosBnb),
6706            "COS_BTC" => Ok(CurrencyPair::CosBtc),
6707            "COS_USDT" => Ok(CurrencyPair::CosUsdt),
6708            "CTXC_BNB" => Ok(CurrencyPair::CtxcBnb),
6709            "CTXC_BTC" => Ok(CurrencyPair::CtxcBtc),
6710            "CTXC_USDT" => Ok(CurrencyPair::CtxcUsdt),
6711            "CVC_BNB" => Ok(CurrencyPair::CvcBnb),
6712            "CVC_BTC" => Ok(CurrencyPair::CvcBtc),
6713            "CVC_ETH" => Ok(CurrencyPair::CvcEth),
6714            "CVC_USDT" => Ok(CurrencyPair::CvcUsdt),
6715            "DASH_BNB" => Ok(CurrencyPair::DashBnb),
6716            "DASH_BTC" => Ok(CurrencyPair::DashBtc),
6717            "DASH_ETH" => Ok(CurrencyPair::DashEth),
6718            "DASH_USDT" => Ok(CurrencyPair::DashUsdt),
6719            "DATA_BTC" => Ok(CurrencyPair::DataBtc),
6720            "DATA_ETH" => Ok(CurrencyPair::DataEth),
6721            "DCR_BNB" => Ok(CurrencyPair::DcrBnb),
6722            "DCR_BTC" => Ok(CurrencyPair::DcrBtc),
6723            "DENT_BTC" => Ok(CurrencyPair::DentBtc),
6724            "DENT_ETH" => Ok(CurrencyPair::DentEth),
6725            "DENT_USDT" => Ok(CurrencyPair::DentUsdt),
6726            "DGD_BTC" => Ok(CurrencyPair::DgdBtc),
6727            "DGD_ETH" => Ok(CurrencyPair::DgdEth),
6728            "DLT_BNB" => Ok(CurrencyPair::DltBnb),
6729            "DLT_BTC" => Ok(CurrencyPair::DltBtc),
6730            "DLT_ETH" => Ok(CurrencyPair::DltEth),
6731            "DNT_BTC" => Ok(CurrencyPair::DntBtc),
6732            "DNT_ETH" => Ok(CurrencyPair::DntEth),
6733            "DOCK_BTC" => Ok(CurrencyPair::DockBtc),
6734            "DOCK_ETH" => Ok(CurrencyPair::DockEth),
6735            "DOCK_USDT" => Ok(CurrencyPair::DockUsdt),
6736            "DOGE_BNB" => Ok(CurrencyPair::DogeBnb),
6737            "DOGE_BTC" => Ok(CurrencyPair::DogeBtc),
6738            "DOGE_PAX" => Ok(CurrencyPair::DogePax),
6739            "DOGE_USDC" => Ok(CurrencyPair::DogeUsdc),
6740            "DOGE_USDT" => Ok(CurrencyPair::DogeUsdt),
6741            "DUSK_BNB" => Ok(CurrencyPair::DuskBnb),
6742            "DUSK_BTC" => Ok(CurrencyPair::DuskBtc),
6743            "DUSK_PAX" => Ok(CurrencyPair::DuskPax),
6744            "DUSK_USDC" => Ok(CurrencyPair::DuskUsdc),
6745            "DUSK_USDT" => Ok(CurrencyPair::DuskUsdt),
6746            "EDO_BTC" => Ok(CurrencyPair::EdoBtc),
6747            "EDO_ETH" => Ok(CurrencyPair::EdoEth),
6748            "ELF_BTC" => Ok(CurrencyPair::ElfBtc),
6749            "ELF_ETH" => Ok(CurrencyPair::ElfEth),
6750            "ENG_BTC" => Ok(CurrencyPair::EngBtc),
6751            "ENG_ETH" => Ok(CurrencyPair::EngEth),
6752            "ENJ_BNB" => Ok(CurrencyPair::EnjBnb),
6753            "ENJ_BTC" => Ok(CurrencyPair::EnjBtc),
6754            "ENJ_ETH" => Ok(CurrencyPair::EnjEth),
6755            "ENJ_USDT" => Ok(CurrencyPair::EnjUsdt),
6756            "EOS_BNB" => Ok(CurrencyPair::EosBnb),
6757            "EOS_BTC" => Ok(CurrencyPair::EosBtc),
6758            "EOS_BUSD" => Ok(CurrencyPair::EosBusd),
6759            "EOS_ETH" => Ok(CurrencyPair::EosEth),
6760            "EOS_PAX" => Ok(CurrencyPair::EosPax),
6761            "EOS_TUSD" => Ok(CurrencyPair::EosTusd),
6762            "EOS_USDC" => Ok(CurrencyPair::EosUsdc),
6763            "EOS_USDT" => Ok(CurrencyPair::EosUsdt),
6764            "ERD_BNB" => Ok(CurrencyPair::ErdBnb),
6765            "ERD_BTC" => Ok(CurrencyPair::ErdBtc),
6766            "ERD_PAX" => Ok(CurrencyPair::ErdPax),
6767            "ERD_USDC" => Ok(CurrencyPair::ErdUsdc),
6768            "ERD_USDT" => Ok(CurrencyPair::ErdUsdt),
6769            "ETC_BNB" => Ok(CurrencyPair::EtcBnb),
6770            "ETC_BTC" => Ok(CurrencyPair::EtcBtc),
6771            "ETC_BUSD" => Ok(CurrencyPair::EtcBusd),
6772            "ETC_ETH" => Ok(CurrencyPair::EtcEth),
6773            "ETC_PAX" => Ok(CurrencyPair::EtcPax),
6774            "ETC_TUSD" => Ok(CurrencyPair::EtcTusd),
6775            "ETC_USDC" => Ok(CurrencyPair::EtcUsdc),
6776            "ETC_USDT" => Ok(CurrencyPair::EtcUsdt),
6777            "ETH_BTC" => Ok(CurrencyPair::EthBtc),
6778            "ETH_BUSD" => Ok(CurrencyPair::EthBusd),
6779            "ETH_PAX" => Ok(CurrencyPair::EthPax),
6780            "ETH_RUB" => Ok(CurrencyPair::EthRub),
6781            "ETH_TRY" => Ok(CurrencyPair::EthTry),
6782            "ETH_TUSD" => Ok(CurrencyPair::EthTusd),
6783            "ETH_USDC" => Ok(CurrencyPair::EthUsdc),
6784            "ETH_USDT" => Ok(CurrencyPair::EthUsdt),
6785            "EVX_BTC" => Ok(CurrencyPair::EvxBtc),
6786            "EVX_ETH" => Ok(CurrencyPair::EvxEth),
6787            "FET_BNB" => Ok(CurrencyPair::FetBnb),
6788            "FET_BTC" => Ok(CurrencyPair::FetBtc),
6789            "FET_USDT" => Ok(CurrencyPair::FetUsdt),
6790            "FTM_BNB" => Ok(CurrencyPair::FtmBnb),
6791            "FTM_BTC" => Ok(CurrencyPair::FtmBtc),
6792            "FTM_PAX" => Ok(CurrencyPair::FtmPax),
6793            "FTM_TUSD" => Ok(CurrencyPair::FtmTusd),
6794            "FTM_USDC" => Ok(CurrencyPair::FtmUsdc),
6795            "FTM_USDT" => Ok(CurrencyPair::FtmUsdt),
6796            "FTT_BNB" => Ok(CurrencyPair::FttBnb),
6797            "FTT_BTC" => Ok(CurrencyPair::FttBtc),
6798            "FTT_USDT" => Ok(CurrencyPair::FttUsdt),
6799            "FUEL_BTC" => Ok(CurrencyPair::FuelBtc),
6800            "FUEL_ETH" => Ok(CurrencyPair::FuelEth),
6801            "FUN_BTC" => Ok(CurrencyPair::FunBtc),
6802            "FUN_ETH" => Ok(CurrencyPair::FunEth),
6803            "FUN_USDT" => Ok(CurrencyPair::FunUsdt),
6804            "GAS_BTC" => Ok(CurrencyPair::GasBtc),
6805            "GNT_BNB" => Ok(CurrencyPair::GntBnb),
6806            "GNT_BTC" => Ok(CurrencyPair::GntBtc),
6807            "GNT_ETH" => Ok(CurrencyPair::GntEth),
6808            "GO_BNB" => Ok(CurrencyPair::GoBnb),
6809            "GO_BTC" => Ok(CurrencyPair::GoBtc),
6810            "GRS_BTC" => Ok(CurrencyPair::GrsBtc),
6811            "GRS_ETH" => Ok(CurrencyPair::GrsEth),
6812            "GTO_BNB" => Ok(CurrencyPair::GtoBnb),
6813            "GTO_BTC" => Ok(CurrencyPair::GtoBtc),
6814            "GTO_ETH" => Ok(CurrencyPair::GtoEth),
6815            "GTO_PAX" => Ok(CurrencyPair::GtoPax),
6816            "GTO_TUSD" => Ok(CurrencyPair::GtoTusd),
6817            "GTO_USDC" => Ok(CurrencyPair::GtoUsdc),
6818            "GTO_USDT" => Ok(CurrencyPair::GtoUsdt),
6819            "GVT_BTC" => Ok(CurrencyPair::GvtBtc),
6820            "GVT_ETH" => Ok(CurrencyPair::GvtEth),
6821            "GXS_BTC" => Ok(CurrencyPair::GxsBtc),
6822            "GXS_ETH" => Ok(CurrencyPair::GxsEth),
6823            "HBAR_BNB" => Ok(CurrencyPair::HbarBnb),
6824            "HBAR_BTC" => Ok(CurrencyPair::HbarBtc),
6825            "HBAR_USDT" => Ok(CurrencyPair::HbarUsdt),
6826            "HC_BTC" => Ok(CurrencyPair::HcBtc),
6827            "HC_ETH" => Ok(CurrencyPair::HcEth),
6828            "HC_USDT" => Ok(CurrencyPair::HcUsdt),
6829            "HOT_BNB" => Ok(CurrencyPair::HotBnb),
6830            "HOT_BTC" => Ok(CurrencyPair::HotBtc),
6831            "HOT_ETH" => Ok(CurrencyPair::HotEth),
6832            "HOT_USDT" => Ok(CurrencyPair::HotUsdt),
6833            "HSR_BTC" => Ok(CurrencyPair::HsrBtc),
6834            "HSR_ETH" => Ok(CurrencyPair::HsrEth),
6835            "ICN_BTC" => Ok(CurrencyPair::IcnBtc),
6836            "ICN_ETH" => Ok(CurrencyPair::IcnEth),
6837            "ICX_BNB" => Ok(CurrencyPair::IcxBnb),
6838            "ICX_BTC" => Ok(CurrencyPair::IcxBtc),
6839            "ICX_ETH" => Ok(CurrencyPair::IcxEth),
6840            "ICX_USDT" => Ok(CurrencyPair::IcxUsdt),
6841            "INS_BTC" => Ok(CurrencyPair::InsBtc),
6842            "INS_ETH" => Ok(CurrencyPair::InsEth),
6843            "IOST_BNB" => Ok(CurrencyPair::IostBnb),
6844            "IOST_BTC" => Ok(CurrencyPair::IostBtc),
6845            "IOST_ETH" => Ok(CurrencyPair::IostEth),
6846            "IOST_USDT" => Ok(CurrencyPair::IostUsdt),
6847            "IOTA_BNB" => Ok(CurrencyPair::IotaBnb),
6848            "IOTA_BTC" => Ok(CurrencyPair::IotaBtc),
6849            "IOTA_ETH" => Ok(CurrencyPair::IotaEth),
6850            "IOTA_USDT" => Ok(CurrencyPair::IotaUsdt),
6851            "IOTX_BTC" => Ok(CurrencyPair::IotxBtc),
6852            "IOTX_ETH" => Ok(CurrencyPair::IotxEth),
6853            "IOTX_USDT" => Ok(CurrencyPair::IotxUsdt),
6854            "KAVA_BNB" => Ok(CurrencyPair::KavaBnb),
6855            "KAVA_BTC" => Ok(CurrencyPair::KavaBtc),
6856            "KAVA_USDT" => Ok(CurrencyPair::KavaUsdt),
6857            "KEY_BTC" => Ok(CurrencyPair::KeyBtc),
6858            "KEY_ETH" => Ok(CurrencyPair::KeyEth),
6859            "KEY_USDT" => Ok(CurrencyPair::KeyUsdt),
6860            "KMD_BTC" => Ok(CurrencyPair::KmdBtc),
6861            "KMD_ETH" => Ok(CurrencyPair::KmdEth),
6862            "KNC_BTC" => Ok(CurrencyPair::KncBtc),
6863            "KNC_ETH" => Ok(CurrencyPair::KncEth),
6864            "LEND_BTC" => Ok(CurrencyPair::LendBtc),
6865            "LEND_ETH" => Ok(CurrencyPair::LendEth),
6866            "LINK_BTC" => Ok(CurrencyPair::LinkBtc),
6867            "LINK_BUSD" => Ok(CurrencyPair::LinkBusd),
6868            "LINK_ETH" => Ok(CurrencyPair::LinkEth),
6869            "LINK_PAX" => Ok(CurrencyPair::LinkPax),
6870            "LINK_TUSD" => Ok(CurrencyPair::LinkTusd),
6871            "LINK_USDC" => Ok(CurrencyPair::LinkUsdc),
6872            "LINK_USDT" => Ok(CurrencyPair::LinkUsdt),
6873            "LOOM_BNB" => Ok(CurrencyPair::LoomBnb),
6874            "LOOM_BTC" => Ok(CurrencyPair::LoomBtc),
6875            "LOOM_ETH" => Ok(CurrencyPair::LoomEth),
6876            "LRC_BTC" => Ok(CurrencyPair::LrcBtc),
6877            "LRC_ETH" => Ok(CurrencyPair::LrcEth),
6878            "LSK_BNB" => Ok(CurrencyPair::LskBnb),
6879            "LSK_BTC" => Ok(CurrencyPair::LskBtc),
6880            "LSK_ETH" => Ok(CurrencyPair::LskEth),
6881            "LTC_BNB" => Ok(CurrencyPair::LtcBnb),
6882            "LTC_BTC" => Ok(CurrencyPair::LtcBtc),
6883            "LTC_BUSD" => Ok(CurrencyPair::LtcBusd),
6884            "LTC_ETH" => Ok(CurrencyPair::LtcEth),
6885            "LTC_PAX" => Ok(CurrencyPair::LtcPax),
6886            "LTC_TUSD" => Ok(CurrencyPair::LtcTusd),
6887            "LTC_USDC" => Ok(CurrencyPair::LtcUsdc),
6888            "LTC_USDT" => Ok(CurrencyPair::LtcUsdt),
6889            "LUN_BTC" => Ok(CurrencyPair::LunBtc),
6890            "LUN_ETH" => Ok(CurrencyPair::LunEth),
6891            "MANA_BTC" => Ok(CurrencyPair::ManaBtc),
6892            "MANA_ETH" => Ok(CurrencyPair::ManaEth),
6893            "MATIC_BNB" => Ok(CurrencyPair::MaticBnb),
6894            "MATIC_BTC" => Ok(CurrencyPair::MaticBtc),
6895            "MATIC_USDT" => Ok(CurrencyPair::MaticUsdt),
6896            "MCO_BNB" => Ok(CurrencyPair::McoBnb),
6897            "MCO_BTC" => Ok(CurrencyPair::McoBtc),
6898            "MCO_ETH" => Ok(CurrencyPair::McoEth),
6899            "MCO_USDT" => Ok(CurrencyPair::McoUsdt),
6900            "MDA_BTC" => Ok(CurrencyPair::MdaBtc),
6901            "MDA_ETH" => Ok(CurrencyPair::MdaEth),
6902            "MFT_BNB" => Ok(CurrencyPair::MftBnb),
6903            "MFT_BTC" => Ok(CurrencyPair::MftBtc),
6904            "MFT_ETH" => Ok(CurrencyPair::MftEth),
6905            "MFT_USDT" => Ok(CurrencyPair::MftUsdt),
6906            "MITH_BNB" => Ok(CurrencyPair::MithBnb),
6907            "MITH_BTC" => Ok(CurrencyPair::MithBtc),
6908            "MITH_USDT" => Ok(CurrencyPair::MithUsdt),
6909            "MOD_BTC" => Ok(CurrencyPair::ModBtc),
6910            "MOD_ETH" => Ok(CurrencyPair::ModEth),
6911            "MTH_BTC" => Ok(CurrencyPair::MthBtc),
6912            "MTH_ETH" => Ok(CurrencyPair::MthEth),
6913            "MTL_BTC" => Ok(CurrencyPair::MtlBtc),
6914            "MTL_ETH" => Ok(CurrencyPair::MtlEth),
6915            "MTL_USDT" => Ok(CurrencyPair::MtlUsdt),
6916            "NANO_BNB" => Ok(CurrencyPair::NanoBnb),
6917            "NANO_BTC" => Ok(CurrencyPair::NanoBtc),
6918            "NANO_ETH" => Ok(CurrencyPair::NanoEth),
6919            "NANO_USDT" => Ok(CurrencyPair::NanoUsdt),
6920            "NAS_BNB" => Ok(CurrencyPair::NasBnb),
6921            "NAS_BTC" => Ok(CurrencyPair::NasBtc),
6922            "NAS_ETH" => Ok(CurrencyPair::NasEth),
6923            "NAV_BNB" => Ok(CurrencyPair::NavBnb),
6924            "NAV_BTC" => Ok(CurrencyPair::NavBtc),
6925            "NAV_ETH" => Ok(CurrencyPair::NavEth),
6926            "NCASH_BNB" => Ok(CurrencyPair::NcashBnb),
6927            "NCASH_BTC" => Ok(CurrencyPair::NcashBtc),
6928            "NCASH_ETH" => Ok(CurrencyPair::NcashEth),
6929            "NEBL_BNB" => Ok(CurrencyPair::NeblBnb),
6930            "NEBL_BTC" => Ok(CurrencyPair::NeblBtc),
6931            "NEBL_ETH" => Ok(CurrencyPair::NeblEth),
6932            "NEO_BNB" => Ok(CurrencyPair::NeoBnb),
6933            "NEO_BTC" => Ok(CurrencyPair::NeoBtc),
6934            "NEO_ETH" => Ok(CurrencyPair::NeoEth),
6935            "NEO_PAX" => Ok(CurrencyPair::NeoPax),
6936            "NEO_TUSD" => Ok(CurrencyPair::NeoTusd),
6937            "NEO_USDC" => Ok(CurrencyPair::NeoUsdc),
6938            "NEO_USDT" => Ok(CurrencyPair::NeoUsdt),
6939            "NKN_BNB" => Ok(CurrencyPair::NknBnb),
6940            "NKN_BTC" => Ok(CurrencyPair::NknBtc),
6941            "NKN_USDT" => Ok(CurrencyPair::NknUsdt),
6942            "NPXS_BTC" => Ok(CurrencyPair::NpxsBtc),
6943            "NPXS_ETH" => Ok(CurrencyPair::NpxsEth),
6944            "NPXS_USDC" => Ok(CurrencyPair::NpxsUsdc),
6945            "NPXS_USDT" => Ok(CurrencyPair::NpxsUsdt),
6946            "NULS_BNB" => Ok(CurrencyPair::NulsBnb),
6947            "NULS_BTC" => Ok(CurrencyPair::NulsBtc),
6948            "NULS_ETH" => Ok(CurrencyPair::NulsEth),
6949            "NULS_USDT" => Ok(CurrencyPair::NulsUsdt),
6950            "NXS_BNB" => Ok(CurrencyPair::NxsBnb),
6951            "NXS_BTC" => Ok(CurrencyPair::NxsBtc),
6952            "NXS_ETH" => Ok(CurrencyPair::NxsEth),
6953            "OAX_BTC" => Ok(CurrencyPair::OaxBtc),
6954            "OAX_ETH" => Ok(CurrencyPair::OaxEth),
6955            "OMG_BNB" => Ok(CurrencyPair::OmgBnb),
6956            "OMG_BTC" => Ok(CurrencyPair::OmgBtc),
6957            "OMG_ETH" => Ok(CurrencyPair::OmgEth),
6958            "OMG_USDT" => Ok(CurrencyPair::OmgUsdt),
6959            "ONE_BNB" => Ok(CurrencyPair::OneBnb),
6960            "ONE_BTC" => Ok(CurrencyPair::OneBtc),
6961            "ONE_PAX" => Ok(CurrencyPair::OnePax),
6962            "ONE_TUSD" => Ok(CurrencyPair::OneTusd),
6963            "ONE_USDC" => Ok(CurrencyPair::OneUsdc),
6964            "ONE_USDT" => Ok(CurrencyPair::OneUsdt),
6965            "ONG_BNB" => Ok(CurrencyPair::OngBnb),
6966            "ONG_BTC" => Ok(CurrencyPair::OngBtc),
6967            "ONG_USDT" => Ok(CurrencyPair::OngUsdt),
6968            "ONT_BNB" => Ok(CurrencyPair::OntBnb),
6969            "ONT_BTC" => Ok(CurrencyPair::OntBtc),
6970            "ONT_ETH" => Ok(CurrencyPair::OntEth),
6971            "ONT_PAX" => Ok(CurrencyPair::OntPax),
6972            "ONT_USDC" => Ok(CurrencyPair::OntUsdc),
6973            "ONT_USDT" => Ok(CurrencyPair::OntUsdt),
6974            "OST_BNB" => Ok(CurrencyPair::OstBnb),
6975            "OST_BTC" => Ok(CurrencyPair::OstBtc),
6976            "OST_ETH" => Ok(CurrencyPair::OstEth),
6977            "PAX_BNB" => Ok(CurrencyPair::PaxBnb),
6978            "PAX_BTC" => Ok(CurrencyPair::PaxBtc),
6979            "PAX_ETH" => Ok(CurrencyPair::PaxEth),
6980            "PAX_TUSD" => Ok(CurrencyPair::PaxTusd),
6981            "PAX_USDT" => Ok(CurrencyPair::PaxUsdt),
6982            "PERL_BNB" => Ok(CurrencyPair::PerlBnb),
6983            "PERL_BTC" => Ok(CurrencyPair::PerlBtc),
6984            "PERL_USDC" => Ok(CurrencyPair::PerlUsdc),
6985            "PERL_USDT" => Ok(CurrencyPair::PerlUsdt),
6986            "PHB_BNB" => Ok(CurrencyPair::PhbBnb),
6987            "PHB_BTC" => Ok(CurrencyPair::PhbBtc),
6988            "PHB_PAX" => Ok(CurrencyPair::PhbPax),
6989            "PHB_TUSD" => Ok(CurrencyPair::PhbTusd),
6990            "PHB_USDC" => Ok(CurrencyPair::PhbUsdc),
6991            "PHX_BNB" => Ok(CurrencyPair::PhxBnb),
6992            "PHX_BTC" => Ok(CurrencyPair::PhxBtc),
6993            "PHX_ETH" => Ok(CurrencyPair::PhxEth),
6994            "PIVX_BNB" => Ok(CurrencyPair::PivxBnb),
6995            "PIVX_BTC" => Ok(CurrencyPair::PivxBtc),
6996            "PIVX_ETH" => Ok(CurrencyPair::PivxEth),
6997            "POA_BNB" => Ok(CurrencyPair::PoaBnb),
6998            "POA_BTC" => Ok(CurrencyPair::PoaBtc),
6999            "POA_ETH" => Ok(CurrencyPair::PoaEth),
7000            "POE_BTC" => Ok(CurrencyPair::PoeBtc),
7001            "POE_ETH" => Ok(CurrencyPair::PoeEth),
7002            "POLY_BNB" => Ok(CurrencyPair::PolyBnb),
7003            "POLY_BTC" => Ok(CurrencyPair::PolyBtc),
7004            "POWR_BNB" => Ok(CurrencyPair::PowrBnb),
7005            "POWR_BTC" => Ok(CurrencyPair::PowrBtc),
7006            "POWR_ETH" => Ok(CurrencyPair::PowrEth),
7007            "PPT_BTC" => Ok(CurrencyPair::PptBtc),
7008            "PPT_ETH" => Ok(CurrencyPair::PptEth),
7009            "QKC_BTC" => Ok(CurrencyPair::QkcBtc),
7010            "QKC_ETH" => Ok(CurrencyPair::QkcEth),
7011            "QLC_BNB" => Ok(CurrencyPair::QlcBnb),
7012            "QLC_BTC" => Ok(CurrencyPair::QlcBtc),
7013            "QLC_ETH" => Ok(CurrencyPair::QlcEth),
7014            "QSP_BNB" => Ok(CurrencyPair::QspBnb),
7015            "QSP_BTC" => Ok(CurrencyPair::QspBtc),
7016            "QSP_ETH" => Ok(CurrencyPair::QspEth),
7017            "QTUM_BNB" => Ok(CurrencyPair::QtumBnb),
7018            "QTUM_BTC" => Ok(CurrencyPair::QtumBtc),
7019            "QTUM_BUSD" => Ok(CurrencyPair::QtumBusd),
7020            "QTUM_ETH" => Ok(CurrencyPair::QtumEth),
7021            "QTUM_USDT" => Ok(CurrencyPair::QtumUsdt),
7022            "RCN_BNB" => Ok(CurrencyPair::RcnBnb),
7023            "RCN_BTC" => Ok(CurrencyPair::RcnBtc),
7024            "RCN_ETH" => Ok(CurrencyPair::RcnEth),
7025            "RDN_BNB" => Ok(CurrencyPair::RdnBnb),
7026            "RDN_BTC" => Ok(CurrencyPair::RdnBtc),
7027            "RDN_ETH" => Ok(CurrencyPair::RdnEth),
7028            "REN_BNB" => Ok(CurrencyPair::RenBnb),
7029            "REN_BTC" => Ok(CurrencyPair::RenBtc),
7030            "REN_USDT" => Ok(CurrencyPair::RenUsdt),
7031            "REP_BNB" => Ok(CurrencyPair::RepBnb),
7032            "REP_BTC" => Ok(CurrencyPair::RepBtc),
7033            "REP_ETH" => Ok(CurrencyPair::RepEth),
7034            "REQ_BTC" => Ok(CurrencyPair::ReqBtc),
7035            "REQ_ETH" => Ok(CurrencyPair::ReqEth),
7036            "RLC_BNB" => Ok(CurrencyPair::RlcBnb),
7037            "RLC_BTC" => Ok(CurrencyPair::RlcBtc),
7038            "RLC_ETH" => Ok(CurrencyPair::RlcEth),
7039            "RLC_USDT" => Ok(CurrencyPair::RlcUsdt),
7040            "RPX_BNB" => Ok(CurrencyPair::RpxBnb),
7041            "RPX_BTC" => Ok(CurrencyPair::RpxBtc),
7042            "RPX_ETH" => Ok(CurrencyPair::RpxEth),
7043            "RVN_BNB" => Ok(CurrencyPair::RvnBnb),
7044            "RVN_BTC" => Ok(CurrencyPair::RvnBtc),
7045            "RVN_USDT" => Ok(CurrencyPair::RvnUsdt),
7046            "SALT_BTC" => Ok(CurrencyPair::SaltBtc),
7047            "SALT_ETH" => Ok(CurrencyPair::SaltEth),
7048            "SC_BNB" => Ok(CurrencyPair::ScBnb),
7049            "SC_BTC" => Ok(CurrencyPair::ScBtc),
7050            "SC_ETH" => Ok(CurrencyPair::ScEth),
7051            "SKY_BNB" => Ok(CurrencyPair::SkyBnb),
7052            "SKY_BTC" => Ok(CurrencyPair::SkyBtc),
7053            "SKY_ETH" => Ok(CurrencyPair::SkyEth),
7054            "SNGLS_BTC" => Ok(CurrencyPair::SnglsBtc),
7055            "SNGLS_ETH" => Ok(CurrencyPair::SnglsEth),
7056            "SNM_BTC" => Ok(CurrencyPair::SnmBtc),
7057            "SNM_ETH" => Ok(CurrencyPair::SnmEth),
7058            "SNT_BTC" => Ok(CurrencyPair::SntBtc),
7059            "SNT_ETH" => Ok(CurrencyPair::SntEth),
7060            "STEEM_BNB" => Ok(CurrencyPair::SteemBnb),
7061            "STEEM_BTC" => Ok(CurrencyPair::SteemBtc),
7062            "STEEM_ETH" => Ok(CurrencyPair::SteemEth),
7063            "STORJ_BTC" => Ok(CurrencyPair::StorjBtc),
7064            "STORJ_ETH" => Ok(CurrencyPair::StorjEth),
7065            "STORM_BNB" => Ok(CurrencyPair::StormBnb),
7066            "STORM_BTC" => Ok(CurrencyPair::StormBtc),
7067            "STORM_ETH" => Ok(CurrencyPair::StormEth),
7068            "STORM_USDT" => Ok(CurrencyPair::StormUsdt),
7069            "STRAT_BTC" => Ok(CurrencyPair::StratBtc),
7070            "STRAT_ETH" => Ok(CurrencyPair::StratEth),
7071            "STX_BNB" => Ok(CurrencyPair::StxBnb),
7072            "STX_BTC" => Ok(CurrencyPair::StxBtc),
7073            "STX_USDT" => Ok(CurrencyPair::StxUsdt),
7074            "SUB_BTC" => Ok(CurrencyPair::SubBtc),
7075            "SUB_ETH" => Ok(CurrencyPair::SubEth),
7076            "SYS_BNB" => Ok(CurrencyPair::SysBnb),
7077            "SYS_BTC" => Ok(CurrencyPair::SysBtc),
7078            "SYS_ETH" => Ok(CurrencyPair::SysEth),
7079            "TFUEL_BNB" => Ok(CurrencyPair::TfuelBnb),
7080            "TFUEL_BTC" => Ok(CurrencyPair::TfuelBtc),
7081            "TFUEL_PAX" => Ok(CurrencyPair::TfuelPax),
7082            "TFUEL_TUSD" => Ok(CurrencyPair::TfuelTusd),
7083            "TFUEL_USDC" => Ok(CurrencyPair::TfuelUsdc),
7084            "TFUEL_USDT" => Ok(CurrencyPair::TfuelUsdt),
7085            "THETA_BNB" => Ok(CurrencyPair::ThetaBnb),
7086            "THETA_BTC" => Ok(CurrencyPair::ThetaBtc),
7087            "THETA_ETH" => Ok(CurrencyPair::ThetaEth),
7088            "THETA_USDT" => Ok(CurrencyPair::ThetaUsdt),
7089            "TNB_BTC" => Ok(CurrencyPair::TnbBtc),
7090            "TNB_ETH" => Ok(CurrencyPair::TnbEth),
7091            "TNT_BTC" => Ok(CurrencyPair::TntBtc),
7092            "TNT_ETH" => Ok(CurrencyPair::TntEth),
7093            "TOMO_BNB" => Ok(CurrencyPair::TomoBnb),
7094            "TOMO_BTC" => Ok(CurrencyPair::TomoBtc),
7095            "TOMO_USDC" => Ok(CurrencyPair::TomoUsdc),
7096            "TOMO_USDT" => Ok(CurrencyPair::TomoUsdt),
7097            "TRIG_BNB" => Ok(CurrencyPair::TrigBnb),
7098            "TRIG_BTC" => Ok(CurrencyPair::TrigBtc),
7099            "TRIG_ETH" => Ok(CurrencyPair::TrigEth),
7100            "TROY_BNB" => Ok(CurrencyPair::TroyBnb),
7101            "TROY_BTC" => Ok(CurrencyPair::TroyBtc),
7102            "TROY_USDT" => Ok(CurrencyPair::TroyUsdt),
7103            "TRX_BNB" => Ok(CurrencyPair::TrxBnb),
7104            "TRX_BTC" => Ok(CurrencyPair::TrxBtc),
7105            "TRX_BUSD" => Ok(CurrencyPair::TrxBusd),
7106            "TRX_ETH" => Ok(CurrencyPair::TrxEth),
7107            "TRX_PAX" => Ok(CurrencyPair::TrxPax),
7108            "TRX_TUSD" => Ok(CurrencyPair::TrxTusd),
7109            "TRX_USDC" => Ok(CurrencyPair::TrxUsdc),
7110            "TRX_USDT" => Ok(CurrencyPair::TrxUsdt),
7111            "TRX_XRP" => Ok(CurrencyPair::TrxXrp),
7112            "TUSDB_TUSD" => Ok(CurrencyPair::TusdbTusd),
7113            "TUSD_BNB" => Ok(CurrencyPair::TusdBnb),
7114            "TUSD_BTC" => Ok(CurrencyPair::TusdBtc),
7115            "TUSD_ETH" => Ok(CurrencyPair::TusdEth),
7116            "TUSD_USDT" => Ok(CurrencyPair::TusdUsdt),
7117            "USDC_BNB" => Ok(CurrencyPair::UsdcBnb),
7118            "USDC_DASH" => Ok(CurrencyPair::UsdcDash),
7119            "USDC_GRIN" => Ok(CurrencyPair::UsdcGrin),
7120            "USDC_PAX" => Ok(CurrencyPair::UsdcPax),
7121            "USDC_STR" => Ok(CurrencyPair::UsdcStr),
7122            "USDC_TUSD" => Ok(CurrencyPair::UsdcTusd),
7123            "USDC_USDT" => Ok(CurrencyPair::UsdcUsdt),
7124            "USDC_XMR" => Ok(CurrencyPair::UsdcXmr),
7125            "USDSB_USDS" => Ok(CurrencyPair::UsdsbUsds),
7126            "USDSB_USDT" => Ok(CurrencyPair::UsdsbUsdt),
7127            "USDS_PAX" => Ok(CurrencyPair::UsdsPax),
7128            "USDS_TUSD" => Ok(CurrencyPair::UsdsTusd),
7129            "USDS_USDC" => Ok(CurrencyPair::UsdsUsdc),
7130            "USDS_USDT" => Ok(CurrencyPair::UsdsUsdt),
7131            "USDT_DGB" => Ok(CurrencyPair::UsdtDgb),
7132            "USDT_GNT" => Ok(CurrencyPair::UsdtGnt),
7133            "USDT_GRIN" => Ok(CurrencyPair::UsdtGrin),
7134            "USDT_LSK" => Ok(CurrencyPair::UsdtLsk),
7135            "USDT_MANA" => Ok(CurrencyPair::UsdtMana),
7136            "USDT_NXT" => Ok(CurrencyPair::UsdtNxt),
7137            "USDT_REP" => Ok(CurrencyPair::UsdtRep),
7138            "USDT_RUB" => Ok(CurrencyPair::UsdtRub),
7139            "USDT_SC" => Ok(CurrencyPair::UsdtSc),
7140            "USDT_STR" => Ok(CurrencyPair::UsdtStr),
7141            "USDT_TRY" => Ok(CurrencyPair::UsdtTry),
7142            "VEN_BNB" => Ok(CurrencyPair::VenBnb),
7143            "VEN_BTC" => Ok(CurrencyPair::VenBtc),
7144            "VEN_ETH" => Ok(CurrencyPair::VenEth),
7145            "VEN_USDT" => Ok(CurrencyPair::VenUsdt),
7146            "VET_BNB" => Ok(CurrencyPair::VetBnb),
7147            "VET_BTC" => Ok(CurrencyPair::VetBtc),
7148            "VET_BUSD" => Ok(CurrencyPair::VetBusd),
7149            "VET_ETH" => Ok(CurrencyPair::VetEth),
7150            "VET_USDT" => Ok(CurrencyPair::VetUsdt),
7151            "VIA_BNB" => Ok(CurrencyPair::ViaBnb),
7152            "VIA_BTC" => Ok(CurrencyPair::ViaBtc),
7153            "VIA_ETH" => Ok(CurrencyPair::ViaEth),
7154            "VIBE_BTC" => Ok(CurrencyPair::VibeBtc),
7155            "VIBE_ETH" => Ok(CurrencyPair::VibeEth),
7156            "VIB_BTC" => Ok(CurrencyPair::VibBtc),
7157            "VIB_ETH" => Ok(CurrencyPair::VibEth),
7158            "VITE_BNB" => Ok(CurrencyPair::ViteBnb),
7159            "VITE_BTC" => Ok(CurrencyPair::ViteBtc),
7160            "VITE_USDT" => Ok(CurrencyPair::ViteUsdt),
7161            "WABI_BNB" => Ok(CurrencyPair::WabiBnb),
7162            "WABI_BTC" => Ok(CurrencyPair::WabiBtc),
7163            "WABI_ETH" => Ok(CurrencyPair::WabiEth),
7164            "WAN_BNB" => Ok(CurrencyPair::WanBnb),
7165            "WAN_BTC" => Ok(CurrencyPair::WanBtc),
7166            "WAN_ETH" => Ok(CurrencyPair::WanEth),
7167            "WAN_USDT" => Ok(CurrencyPair::WanUsdt),
7168            "WAVES_BNB" => Ok(CurrencyPair::WavesBnb),
7169            "WAVES_BTC" => Ok(CurrencyPair::WavesBtc),
7170            "WAVES_ETH" => Ok(CurrencyPair::WavesEth),
7171            "WAVES_PAX" => Ok(CurrencyPair::WavesPax),
7172            "WAVES_TUSD" => Ok(CurrencyPair::WavesTusd),
7173            "WAVES_USDC" => Ok(CurrencyPair::WavesUsdc),
7174            "WAVES_USDT" => Ok(CurrencyPair::WavesUsdt),
7175            "WINGS_BTC" => Ok(CurrencyPair::WingsBtc),
7176            "WINGS_ETH" => Ok(CurrencyPair::WingsEth),
7177            "WIN_BNB" => Ok(CurrencyPair::WinBnb),
7178            "WIN_BTC" => Ok(CurrencyPair::WinBtc),
7179            "WIN_TRX" => Ok(CurrencyPair::WinTrx),
7180            "WIN_USDC" => Ok(CurrencyPair::WinUsdc),
7181            "WIN_USDT" => Ok(CurrencyPair::WinUsdt),
7182            "WPR_BTC" => Ok(CurrencyPair::WprBtc),
7183            "WPR_ETH" => Ok(CurrencyPair::WprEth),
7184            "WTC_BNB" => Ok(CurrencyPair::WtcBnb),
7185            "WTC_BTC" => Ok(CurrencyPair::WtcBtc),
7186            "WTC_ETH" => Ok(CurrencyPair::WtcEth),
7187            "XEM_BNB" => Ok(CurrencyPair::XemBnb),
7188            "XEM_BTC" => Ok(CurrencyPair::XemBtc),
7189            "XEM_ETH" => Ok(CurrencyPair::XemEth),
7190            "XLM_BNB" => Ok(CurrencyPair::XlmBnb),
7191            "XLM_BTC" => Ok(CurrencyPair::XlmBtc),
7192            "XLM_BUSD" => Ok(CurrencyPair::XlmBusd),
7193            "XLM_ETH" => Ok(CurrencyPair::XlmEth),
7194            "XLM_PAX" => Ok(CurrencyPair::XlmPax),
7195            "XLM_TUSD" => Ok(CurrencyPair::XlmTusd),
7196            "XLM_USDC" => Ok(CurrencyPair::XlmUsdc),
7197            "XLM_USDT" => Ok(CurrencyPair::XlmUsdt),
7198            "XMR_BNB" => Ok(CurrencyPair::XmrBnb),
7199            "XMR_BTC" => Ok(CurrencyPair::XmrBtc),
7200            "XMR_ETH" => Ok(CurrencyPair::XmrEth),
7201            "XMR_USDT" => Ok(CurrencyPair::XmrUsdt),
7202            "XRP_BNB" => Ok(CurrencyPair::XrpBnb),
7203            "XRP_BTC" => Ok(CurrencyPair::XrpBtc),
7204            "XRP_BUSD" => Ok(CurrencyPair::XrpBusd),
7205            "XRP_ETH" => Ok(CurrencyPair::XrpEth),
7206            "XRP_PAX" => Ok(CurrencyPair::XrpPax),
7207            "XRP_RUB" => Ok(CurrencyPair::XrpRub),
7208            "XRP_TRY" => Ok(CurrencyPair::XrpTry),
7209            "XRP_TUSD" => Ok(CurrencyPair::XrpTusd),
7210            "XRP_USDC" => Ok(CurrencyPair::XrpUsdc),
7211            "XRP_USDT" => Ok(CurrencyPair::XrpUsdt),
7212            "XTZ_BNB" => Ok(CurrencyPair::XtzBnb),
7213            "XTZ_BTC" => Ok(CurrencyPair::XtzBtc),
7214            "XTZ_USDT" => Ok(CurrencyPair::XtzUsdt),
7215            "XVG_BTC" => Ok(CurrencyPair::XvgBtc),
7216            "XVG_ETH" => Ok(CurrencyPair::XvgEth),
7217            "XZC_BNB" => Ok(CurrencyPair::XzcBnb),
7218            "XZC_BTC" => Ok(CurrencyPair::XzcBtc),
7219            "XZC_ETH" => Ok(CurrencyPair::XzcEth),
7220            "XZC_XRP" => Ok(CurrencyPair::XzcXrp),
7221            "YOYO_BNB" => Ok(CurrencyPair::YoyoBnb),
7222            "YOYO_BTC" => Ok(CurrencyPair::YoyoBtc),
7223            "YOYO_ETH" => Ok(CurrencyPair::YoyoEth),
7224            "ZEC_BNB" => Ok(CurrencyPair::ZecBnb),
7225            "ZEC_BTC" => Ok(CurrencyPair::ZecBtc),
7226            "ZEC_ETH" => Ok(CurrencyPair::ZecEth),
7227            "ZEC_PAX" => Ok(CurrencyPair::ZecPax),
7228            "ZEC_TUSD" => Ok(CurrencyPair::ZecTusd),
7229            "ZEC_USDC" => Ok(CurrencyPair::ZecUsdc),
7230            "ZEC_USDT" => Ok(CurrencyPair::ZecUsdt),
7231            "ZEN_BNB" => Ok(CurrencyPair::ZenBnb),
7232            "ZEN_BTC" => Ok(CurrencyPair::ZenBtc),
7233            "ZEN_ETH" => Ok(CurrencyPair::ZenEth),
7234            "ZIL_BNB" => Ok(CurrencyPair::ZilBnb),
7235            "ZIL_BTC" => Ok(CurrencyPair::ZilBtc),
7236            "ZIL_ETH" => Ok(CurrencyPair::ZilEth),
7237            "ZIL_USDT" => Ok(CurrencyPair::ZilUsdt),
7238            "ZRX_BNB" => Ok(CurrencyPair::ZrxBnb),
7239            "ZRX_BTC" => Ok(CurrencyPair::ZrxBtc),
7240            "ZRX_ETH" => Ok(CurrencyPair::ZrxEth),
7241            "ZRX_USDT" => Ok(CurrencyPair::ZrxUsdt),
7242            pair => {
7243                let index = pair
7244                    .find('_')
7245                    .ok_or_else(|| Error::InvalidPair(pair.to_owned()))?;
7246                if index == pair.len() - 1 {
7247                    return Err(Error::InvalidPair(pair.to_owned()));
7248                }
7249                let quote: Currency = pair[..index].into();
7250                let base: Currency = pair[index + 1..].into();
7251                Ok(CurrencyPair::Custom(pair.to_owned(), quote, base))
7252            }
7253        }
7254    }
7255}
7256
7257impl Serialize for CurrencyPair {
7258    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
7259    where
7260        S: Serializer,
7261    {
7262        serializer.serialize_str(self.as_str())
7263    }
7264}
7265
7266struct CurrencyPairVisitor;
7267
7268impl<'de> Visitor<'de> for CurrencyPairVisitor {
7269    type Value = CurrencyPair;
7270
7271    fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
7272        formatter.write_str("currency pair string")
7273    }
7274
7275    fn visit_str<E>(self, value: &str) -> Result<Self::Value, E>
7276    where
7277        E: de::Error,
7278    {
7279        CurrencyPair::from_str(value).map_err(|e| de::Error::custom(e))
7280    }
7281}
7282
7283impl<'de> Deserialize<'de> for CurrencyPair {
7284    fn deserialize<D>(deserializer: D) -> Result<CurrencyPair, D::Error>
7285    where
7286        D: Deserializer<'de>,
7287    {
7288        deserializer.deserialize_str(CurrencyPairVisitor)
7289    }
7290}
7291
7292impl ::std::fmt::Display for CurrencyPair {
7293    fn fmt(&self, f: &mut fmt::Formatter) -> ::std::fmt::Result {
7294        write!(f, "{}", self.as_str())
7295    }
7296}