MohammedRashad / Crypto-Copy-Trader

A copy trading tool for cryptocurrencies - Binance Exchange
Apache License 2.0
197 stars 84 forks source link

the free balance not update after the first copy trade. #29

Closed gzf445 closed 3 years ago

gzf445 commented 3 years ago

\Slave {'asset': 'USDT', 'free': '130.741099060', 'locked': '0.00000000'} {'asset': 'BTC', 'free': '0.00000000', 'locked': '0.00000000'}, Create Order: amount: 0.004525, price: 11787.47000000 order created Slave {'asset': 'USDT', 'free': '137.741715760', 'locked': '0.00000000'} {'asset': 'BTC', 'free': '0.00000000', 'locked': '0.00000000'}, Create Order: amount: 0.004767, price: 11787.47000000 \order created

this is the first copy trade, and the second Slave {'asset': 'USDT', 'free': '130.741099060', 'locked': '0.00000000'} {'asset': 'ETH', 'free': '0.05712000', 'locked': '0.00000000'}, Create Order: amount: 0.27874, price: 397.23000000 APIError(code=-2010): Account has insufficient balance for requested action. Slave {'asset': 'USDT', 'free': '81.551036950', 'locked': '0.00000000'} {'asset': 'ETH', 'free': '0.05712000', 'locked': '0.00000000'}, Create Order: amount: 0.17387, price: 397.23000000 order created

actualy the first slave just have about 80 free usdt after the first copy. it seems the balance not update after the first trade.

mokolotron commented 3 years ago

Sorry for the long absence. I didn't have time to support the project. When Pullrequest is accepted the bug will be fixed. But you will need to switch and update to develop branch

MohammedRashad commented 3 years ago

Pull request merged