Th0rgal / binance.py

A python3 binance API (v3) wrapper powered by modern technologies such as asyncio. The project aims to rival python-binance.
https://th0rgal.gitbook.io/binance-py/
MIT License
60 stars 19 forks source link

Invalid price problem when buying SHIB pair #28

Open wiseryfendy opened 3 years ago

wiseryfendy commented 3 years ago

Hi,

I got an error "invalid price" for only SHIB pair. Can you check? I'm using version 1.8.4

Th0rgal commented 3 years ago

Hey there!

Can you send your code?

Thomas

wiseryfendy commented 3 years ago

Have you tried or test the code? Below is the code. Just basic code

order = await client.create_order( symbol = pair, side = Side.BUY.value, order_type = OrderType.LIMIT.value, time_in_force= TimeInForce.GTC.value, price = Decimal(price), quantity = Decimal(quantity), new_client_order_id= order_id, test = test_mode ) print(order)

For the price I get it from fetch_klines()..

wiseryfendy commented 2 years ago

It has been more than 1 month... Is there any updates? Or nobody is looking at this problem?