wardbradt / peregrine

Detects arbitrage opportunities across 131 cryptocurrency exchanges in 50 countries
MIT License
1.18k stars 339 forks source link

Ignored Precision limitations could create deceptive gains #56

Closed parthi2929 closed 4 years ago

parthi2929 commented 5 years ago

Hi

Exchanges have precision limitations which are not taken care in the calculation, but might affect the output. Can you please include them? As that could mean, significant loss in certain coins.

image

Here is the precision limits link for coins in bitfinex exchange. They use only 5 significant digits.

If its difficult to include for all exchanges, at least you could provide an option to let us specify some where.

vxnuke commented 5 years ago

Looks like changes need to be made in utils/general.py ill have another go at it tomorrow. Another solution might be to edit ccxt module. New to this project.