yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.49k stars 825 forks source link

On What Condition Exactly Does This Bot buy ? Or ( What Is Buying Logic ) #259

Closed LoayGhreep closed 4 years ago

LoayGhreep commented 5 years ago

Hello i'm almost finished with my new binance bot , soon i will publish it but , it lacks professional technical analysis I Can Make Whatever Condition I Want To Make My Bot Buy I Like This Project a alot but i can't trace the code to find the buying condition So My Question is Can Anyone With Python Knowledge Tell My When Exactly Does This Bot Buy ? Based On What Analysis ? Or Logic ?

omar-co commented 5 years ago

The buy action is in the line 455 of Trading.py

if last ask price is greather or equal to profitableSellingPrice then buy

profitableSellingPrice = lastBid + (lastBid + profit /100) + (lastBid * commision)