Skip to content

Commit

Permalink
add the BCH/MXN book
Browse files Browse the repository at this point in the history
  • Loading branch information
vogelito committed Apr 9, 2018
1 parent 6a389f4 commit 14e4293
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/com/bitso/BitsoBook.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.bitso;

public enum BitsoBook {
BTC_MXN, ETH_MXN, XRP_BTC, XRP_MXN, ETH_BTC, BCH_BTC, LTC_MXN, LTC_BTC;
BTC_MXN, ETH_MXN, XRP_BTC, XRP_MXN, ETH_BTC, BCH_BTC, LTC_MXN, LTC_BTC, BCH_MXN;

public String toString() {
return this.name().toLowerCase();
Expand All @@ -18,6 +18,7 @@ public BitsoCurrency getMajor() {
case ETH_MXN:
return BitsoCurrency.ETH;
case BCH_BTC:
case BCH_MXN:
return BitsoCurrency.BCH;
case LTC_BTC:
case LTC_MXN:
Expand All @@ -33,6 +34,7 @@ public BitsoCurrency getMinor() {
case ETH_MXN:
case LTC_MXN:
case XRP_MXN:
case BCH_MXN:
return BitsoCurrency.MXN;
case BCH_BTC:
case ETH_BTC:
Expand Down

0 comments on commit 14e4293

Please sign in to comment.