It seems you guys have changed the minimum volume for many pairs without warning. This has caused me much headache this morning. I have already opened a ticket about it so rather than bitch about it any more here I would like to make a suggestion.
The public API method "AssetPairs" should be changed so that minimum volume for each pair is included in the return. This would make it so that when my bot is initialized it could make note of what the minimum volume is for each pair and then make sure that all orders for a given pair are at least of the minimum volume. This would make it so that you guys can change this value whenever you please, and it wouldn't break my bot, or anyone's for that matter.
right now the return for this method looks like this:
'XZECZUSD': {'aclass_base': 'currency',
'aclass_quote': 'currency',
'altname': 'ZECUSD',
'base': 'XZEC',
'fee_volume_currency': 'ZUSD',
'fees': [[0, 0.26],
[50000, 0.24],
[100000, 0.22],
[250000, 0.2],
[500000, 0.18],
[1000000, 0.16],
[2500000, 0.14],
[5000000, 0.12],
[10000000, 0.1]],
'fees_maker': [[0, 0.16],
[50000, 0.14],
[100000, 0.12],
[250000, 0.1],
[500000, 0.08],
[1000000, 0.06],
[2500000, 0.04],
[5000000, 0.02],
[10000000, 0]],
'leverage_buy': [],
'leverage_sell': [],
'lot': 'unit',
'lot_decimals': 8,
'lot_multiplier': 1,
'margin_call': 80,
'margin_stop': 40,
'pair_decimals': 5,
'quote': 'ZUSD'}}
what I am suggesting is simply adding a field like: 'minimum_volume' :
the Json return would then look something like:
'XZECZUSD': {'aclass_base': 'currency',
'aclass_quote': 'currency',
'altname': 'ZECUSD',
'base': 'XZEC',
'fee_volume_currency': 'ZUSD',
'fees': [[0, 0.26],
[50000, 0.24],
[100000, 0.22],
[250000, 0.2],
[500000, 0.18],
[1000000, 0.16],
[2500000, 0.14],
[5000000, 0.12],
[10000000, 0.1]],
'fees_maker': [[0, 0.16],
[50000, 0.14],
[100000, 0.12],
[250000, 0.1],
[500000, 0.08],
[1000000, 0.06],
[2500000, 0.04],
[5000000, 0.02],
[10000000, 0]],
'leverage_buy': [],
'leverage_sell': [],
'lot': 'unit',
'lot_decimals': 8,
'lot_multiplier': 1,
'margin_call': 80,
'margin_stop': 40,
'pair_decimals': 5,
'minimum_volume': 0.001(or whatever the actual value is, I don't currently know:S),
'quote': 'ZUSD'}}
Please pass this suggestion on tho whomever maintains the API methods.
Thanks, will pass this along. I'd like to see us update many error messages so they are more informative and helpful.