Closed npomfret closed 5 years ago
@kroitor (same question as https://github.com/ccxt/ccxt/issues/3618) can we mix api versions in an implementation?
Looks like the anxpro v3 api has some good new features (such as the enhanced metadata described above), but it has no market data api calls.
@npomfret yes, we can, see how that is done in binance.js for example, or in bittrex.js. The properties of interest are api
, urls
and the sign()
method. Let me know if you have any questions on that.
@kroitor got it, thanks - https://github.com/ccxt/ccxt/pull/4616
The min order sizes for anxpro markets are available: https://anxpro.com/api/3/currencyStatic. This data comes from the v3 api, but it is valid for the current v2 implementation.
It has 2 sections. The first bit looks like this:
You can infer the min order sizes for each market, they differ for bid and ask orders. In the example shown, for the LTCBTC, the min bid size is 0.1LTC, and the min ask size would be 0.01BTC. Is it possible to model this in ccxt?
You can also get the network withdrawal fee from here.
The next bit if this static contains market information. It looks like this:
You can set the
market.active
flag using theengineSettings
. The price precision is also available.