From d1cfed79cf8998ceed53debff854bd9d7772b7f2 Mon Sep 17 00:00:00 2001 From: Kevin Mershon Date: Wed, 13 Dec 2017 22:08:07 -0800 Subject: [PATCH] Fix Bitstamp BTC buy units, and add BCH asset (#1477) * Fix Bitstamp BTC buy units and add BCH asset --- exchanges/bitstamp.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/exchanges/bitstamp.js b/exchanges/bitstamp.js index 2fca1f32b..99844b324 100644 --- a/exchanges/bitstamp.js +++ b/exchanges/bitstamp.js @@ -230,7 +230,7 @@ Trader.getCapabilities = function () { name: 'Bitstamp', slug: 'bitstamp', currencies: ['USD', 'EUR', 'BTC'], - assets: ['BTC', 'EUR', 'LTC', 'ETH', 'XRP'], + assets: ['BTC', 'BCH', 'EUR', 'LTC', 'ETH', 'XRP'], maxTradesAge: 60, maxHistoryFetch: null, markets: [ @@ -239,17 +239,21 @@ Trader.getCapabilities = function () { { pair: ['USD', 'BTC'], minimalOrder: { amount: 5, unit: 'currency' } }, { pair: ['EUR', 'BTC'], minimalOrder: { amount: 5, unit: 'currency' } }, + { pair: ['USD', 'BCH'], minimalOrder: { amount: 5, unit: 'currency' } }, + { pair: ['EUR', 'BCH'], minimalOrder: { amount: 5, unit: 'currency' } }, + { pair: ['BTC', 'BCH'], minimalOrder: { amount: 0.001, unit: 'currency' } }, + { pair: ['USD', 'XRP'], minimalOrder: { amount: 5, unit: 'currency' } }, { pair: ['EUR', 'XRP'], minimalOrder: { amount: 5, unit: 'currency' } }, - { pair: ['BTC', 'XRP'], minimalOrder: { amount: 5, unit: 'currency' } }, + { pair: ['BTC', 'XRP'], minimalOrder: { amount: 0.001, unit: 'currency' } }, { pair: ['USD', 'LTC'], minimalOrder: { amount: 5, unit: 'currency' } }, { pair: ['EUR', 'LTC'], minimalOrder: { amount: 5, unit: 'currency' } }, - { pair: ['BTC', 'LTC'], minimalOrder: { amount: 5, unit: 'currency' } }, + { pair: ['BTC', 'LTC'], minimalOrder: { amount: 0.001, unit: 'currency' } }, { pair: ['USD', 'ETH'], minimalOrder: { amount: 5, unit: 'currency' } }, { pair: ['EUR', 'ETH'], minimalOrder: { amount: 5, unit: 'currency' } }, - { pair: ['BTC', 'ETH'], minimalOrder: { amount: 5, unit: 'currency' } }, + { pair: ['BTC', 'ETH'], minimalOrder: { amount: 0.001, unit: 'currency' } }, ], requires: ['key', 'secret', 'username'], fetchTimespan: 60,