Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

gdax.js minimum order quantities are incorrect #2589

Closed
g1tt opened this issue Oct 10, 2018 · 3 comments
Closed

gdax.js minimum order quantities are incorrect #2589

g1tt opened this issue Oct 10, 2018 · 3 comments

Comments

@g1tt
Copy link
Contributor

g1tt commented Oct 10, 2018

I'm submitting a ...
[ ] bug report

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

Some of the minimum order quantities are wrong in the exchange/wrappers/gdax.js file

The current/incorrect values are -

  { pair: ['EUR', 'ETH'], minimalOrder: { amount: 0.1, unit: 'asset' } },
  { pair: ['EUR', 'LTC'], minimalOrder: { amount: 0.01, unit: 'asset' } },
  { pair: ['EUR', 'BCH'], minimalOrder: { amount: 0.1, unit: 'asset' } },
  { pair: ['EUR', 'ETC'], minimalOrder: { amount: 0.1, unit: 'asset' } },

The correct values are -

  { pair: ['EUR', 'ETH'], minimalOrder: { amount: 0.01, unit: 'asset' } },
  { pair: ['EUR', 'LTC'], minimalOrder: { amount: 0.1, unit: 'asset' } },
  { pair: ['EUR', 'BCH'], minimalOrder: { amount: 0.01, unit: 'asset' } },
  { pair: ['EUR', 'ETC'], minimalOrder: { amount: 0.01, unit: 'asset' } },

(from https://blog.coinbase.com/market-structure-update-2650072c6e3b)

Also this probably now needs pairs for GBP against all currencies as coinbase have recently started to support this. Is it as simple as just adding the new entries to this array or is there more to be done?

@askmike
Copy link
Owner

askmike commented Oct 11, 2018

Ah great.

Would you mind creating a pull request for this?

Also this probably now needs pairs for GBP against all currencies as coinbase have recently started to support this. Is it as simple as just adding the new entries to this array or is there more to be done?

Yes, it should be that simple.

@g1tt
Copy link
Contributor Author

g1tt commented Oct 11, 2018

First time git user here. I think I've done this -

#2591

Just keep in mind I have no idea what I'm doing!! ;)

@askmike
Copy link
Owner

askmike commented Oct 13, 2018

you are doing great, that indeed solves it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants