yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.53k stars 830 forks source link

Profit Bug #265

Open oguzdelioglu opened 4 years ago

oguzdelioglu commented 4 years ago

Started... Trading Symbol: DOGEBTC Buy Quantity: 5000.00000000 Stop-Loss Amount: 0 Profit Mode Options: Preferred Profit: 3.00% Buy Price : (Bid+ --increasing 0.00000001) Sell Price: (Ask- --decreasing 0.00000001)

2019-11-02 18:34:08,331,331 INFO DOGEBTC: MOde: profit, Lastsk: 2.8e-07, Profit Sell Price 2.7823500000000006e-07, 2019-11-02 18:34:08,897,897 INFO DOGEBTC: DOGEBTC : Buy order created id:2280040, q:5000.00000000, p:0.00000028, Take profit aprox :0.00000028 2019-11-02 18:34:09,546,546 INFO DOGEBTC: Buy order filled... Try sell... 2019-11-02 18:34:10,054,54 INFO DOGEBTC: Sell order create id: 2280041 2019-11-02 18:34:10,817,817 INFO DOGEBTC: Buy order filled... Try sell... 2019-11-02 18:34:10,962,962 INFO DOGEBTC: Buy order filled... Try sell... 2019-11-02 18:34:11,368,368 INFO DOGEBTC: Sell order create id: 2280042 2019-11-02 18:34:11,476,476 INFO DOGEBTC: Sell order create id: 2280043 2019-11-02 18:34:11,657,657 INFO DOGEBTC: Buy order filled... Try sell... 2019-11-02 18:34:12,214,214 INFO DOGEBTC: Sell order create id: 2280044 2019-11-02 18:34:12,364,364 INFO DOGEBTC: Buy order filled... Try sell... 2019-11-02 18:34:12,871,871 INFO DOGEBTC: Sell order create id: 2280045 2019-11-02 18:34:13,562,562 INFO DOGEBTC: Buy order filled... Try sell... 2019-11-02 18:34:13,767,767 INFO DOGEBTC: Buy order filled... Try sell... 2019-11-02 18:34:14,091,91 INFO DOGEBTC: Sell order create id: 2280046 2019-11-02 18:34:14,331,331 INFO DOGEBTC: Sell order create id: 2280047

Example DOGE 0,00000027 satoshi %3 profit = 0,00000027

image

Bot selling doge 0,00000027 and buying 0,00000028.

In this way, it constantly reduces the money in the wallet.

When calculating Profit, he needs to check if he is above the price he bought. When buying, it is required to buy below the previously sold price.

DArKer08 commented 4 years ago

I also get this issue with DOGEBTC.