Skip to content

Commit

Permalink
Fix Bitstamp BTC buy units, and add BCH asset (askmike#1477)
Browse files Browse the repository at this point in the history
* Fix Bitstamp BTC buy units and add BCH asset
  • Loading branch information
kevinmershon authored and askmike committed Dec 14, 2017
1 parent 079fa33 commit d1cfed7
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions exchanges/bitstamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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,
Expand Down

0 comments on commit d1cfed7

Please sign in to comment.