Skip to content

Commit

Permalink
Merge pull request #55 from andygrove/add_currencypair_mappings
Browse files Browse the repository at this point in the history
Add mapping to name for all supported bitstamp currencies
  • Loading branch information
hugues31 authored Dec 22, 2017
2 parents 1e47059 + e4e7162 commit 5b55655
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/bitstamp/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ lazy_static! {
m.insert(XRP_USD, "xrpusd");
m.insert(XRP_EUR, "xrpeur");
m.insert(XRP_BTC, "xrpbtc");
m.insert(LTC_USD, "ltcusd");
m.insert(LTC_EUR, "ltceur");
m.insert(LTC_BTC, "ltcbtc");
m.insert(ETH_USD, "ethusd");
m.insert(ETH_EUR, "etheur");
m.insert(ETH_BTC, "ethbtc");
m.insert(BCH_USD, "bchusd");
m.insert(BCH_EUR, "bcheur");
m.insert(BCH_BTC, "bchbtc");
m
};
}
Expand Down

0 comments on commit 5b55655

Please sign in to comment.