cryptocom-exchange icon indicating copy to clipboard operation
cryptocom-exchange copied to clipboard

Update private.py - quantity / notional precision

Open JuanitoLC opened this issue 3 years ago • 2 comments

Hello. I'm using your code to access to Crypto Exchange. While testing my code i realize that when i was trying to buy CRO with BTC, there was en error. In function create_order, you were modifying 'quantity' always with the quantity precision, so when I wanted to sell BTC to buy CRO, the quantity passed was 0.00 and there was an exception. In fact, when we sell BTC to buy CRO, we have to use 'notional', so i changed the way you modify the precision with price precision. Now it works.

JuanitoLC avatar Dec 29 '21 07:12 JuanitoLC

can you update from master pls to fix tests, ty

yarikdevcom avatar Jan 08 '22 12:01 yarikdevcom

Hello Heer is Hakan Yerdekalmaz I want chatt with you My whats App number 004916099565062

Merlin153 avatar Dec 07 '23 12:12 Merlin153