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

Commit

Permalink
Fixed max_size. The script was taking maxPrice instead of maxQty. (#1692
Browse files Browse the repository at this point in the history
)

* Fix issue #1664: Error 'Invalid end time.' on Poloniex

For some reason the opts.offset is void, so I patched the code to use the default value in these cases.

* Fixed wrong max_size for ADABTC pair.

* Fixed EOSETH Pair.

* Revert "Fixed EOSETH Pair."

This reverts commit ca3cb18.

* Modified to support MIN_NOTIONAL Filter.
Order must be over MIN_NOTIONAL value, so I have modified the script to set min_size a little over MIN_NOTIONAL when it is below.

* Update Products with MIN_NOTIONAL filter

* Fixed max_size. The script was taking maxPrice instead of maxQty.

* Revert "Fixed max_size. The script was taking maxPrice instead of maxQty."

This reverts commit 9dbaa32.

* Fixed max_size. The script was taking maxPrice instead of maxQty.
  • Loading branch information
cvinacua authored and DeviaVir committed Aug 27, 2018
1 parent 6b483ac commit 558a910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/exchanges/binance/update-products.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ new ccxt.binance().fetch_markets().then(function(markets) {
asset: market.base,
currency: market.quote,
min_size: min_size,
max_size: market.info.filters[0].maxPrice,
max_size: market.info.filters[1].maxQty,
increment: currStepSize,
asset_increment: assetStepSize,
label: market.base + '/' + market.quote
Expand Down

0 comments on commit 558a910

Please sign in to comment.