r4stl1n / condex

Bittrex Console Index Fund Management Tool
MIT License
7 stars 5 forks source link

Minimum order issue #44

Open cribbstechnologies opened 6 years ago

cribbstechnologies commented 6 years ago

It seems that there's still an issue with calculating the minimum trade order but only in some occasions. Bittrex has 2 thresholds a trade must pass in order to hit the books:

  1. It must be greater than 0.001 BTC in value
  2. It must be greater than the number of coins for a given pair

This issue seems to be happening only when the system is attempting to bring a coin up from -100% off target.

It is attempting to get the current market for the pair which includes the minimum trade size for the pair. It then makes a call to get the ticker for the current pair and multiplies the last price * the minimum trade size to get a value. This is often lower than the minimum BTC trade value so I'm not sure what's going on there.