CryptoDevTV / SolBo

⚡️ Yet another simple trading bot | Prosty bot handlujący na giełdzie kryptowalutowej
https://www.youtube.com/playlist?list=PLUQAuzbjHTTOVp8-xyRGG64qvasmE-0sE
MIT License
47 stars 15 forks source link

Bot nie chce sprzedać pomimo spełnienia warunków #59

Open adcool opened 3 years ago

adcool commented 3 years ago

2021/02/21 18:31:49.536|WARN|SOLBO| SELL => BASE => (ETH:0,04133368) => NOT ENOUGH => MIN NEEDED => (ETH:0,00001000)

? (pozostałe warunki spełnione, bot twierdzi ze 0,04133368 jest mniejsze niż minimum MIN NEEDED => (ETH:0,00001000) )

adcool commented 3 years ago

załączam log z kupna BTC, oraz brak akcji

2021/02/20 16:03:15.405|INFO|SOLBO| BINANCE PRODUCTION MODE START 
2021/02/20 16:03:15.929|INFO|SOLBO| EXCHANGE ASSETS => BASE => (BTC:0.00000000) => QUOTE => (USDT:167.52378339) 
2021/02/20 16:03:15.929|INFO|SOLBO| BUY => CURRENT PRICE => (56545.59000000) => DECREASED => CALCULATED AVERAGE => (57201.85000000) => BY (1.15%) 
2021/02/20 16:03:15.929|INFO|SOLBO| BUY => QUOTE => (55.28284852) 
2021/02/20 16:03:15.929|INFO|SOLBO| BUY => QUOTE => (USDT:55.28284852) => ENOUGH 
2021/02/20 16:03:15.929|INFO|SOLBO| BUY => REACHED => 100 - (56545.59000000 / 57201.85000000 * 100) = 1.14727059. (price falling). => buydown => 1% 
2021/02/20 16:03:15.929|INFO|SOLBO| BUY => WAITING FOR SALE => NO => LAST BUY => (USDT:0) 
2021/02/20 16:03:15.937|INFO|SOLBO| BUY => ORDER => EXCHANGE => PLACED 
2021/02/20 16:03:16.447|INFO|SOLBO| ORDER (4893767045) => START 
2021/02/20 16:03:16.447|INFO|SOLBO| BUY => TRADE (655569674) => Price => 56523.53000000 => Quantity 0.00097800 => Commission 0.00000098 (BTC) 
2021/02/20 16:03:16.447|INFO|SOLBO| ORDER (4893767045) => END => AVERAGE => 56523.53000000 => Quantity (all) => 0.00097800 => Commision (all) => 0.00000098 
2021/02/20 16:03:16.447|INFO|SOLBO| BUY => ORDER => EXCHANGE => SUCCEED 
2021/02/20 16:03:16.447|INFO|SOLBO| BINANCE PRODUCTION MODE END

następnie zmieniłem w configu aby sprzedał po wzroście o 0,4% jednak przy wzroście faktycznym na giełdzie o 1,36 % dalej krzynąl warningiem, że to za małe saldo, oraz nie złożył oferty sprzedaży

2021/02/21 11:03:16.353|INFO|SOLBO| [0.3.4] Save SUCCESS 
2021/02/21 11:18:15.287|INFO|SOLBO| BINANCE PRODUCTION MODE START 
2021/02/21 11:18:15.805|INFO|SOLBO| EXCHANGE ASSETS => BASE => (BTC:0.00097702) => QUOTE => (USDT:164.50569885) 
2021/02/21 11:18:15.806|INFO|SOLBO| STOPLOSS => CURRENT PRICE => (57292.83000000) => DECREASED => FROM BOUGHT VALUE => (56523.53000000) => BY (1.36%) => NEEDED DECREASED CHANGE => (12%) 
2021/02/21 11:18:15.806|INFO|SOLBO| STOPLOSS => BASE => (BTC:0.00097702) 
2021/02/21 11:18:15.806|WARN|SOLBO| STOPLOSS => BASE => (BTC:0.00097702) => NOT ENOUGH => MIN NEEDED => (BTC:0.00000100) 
2021/02/21 11:18:15.806|WARN|SOLBO| STOPLOSS => NOT REACHED => 100 - 57292.83000000(current) / 56523.53000000 * 100 = -1.36102611. (price rising). => stoplossdown => 12% 
2021/02/21 11:18:15.806|INFO|SOLBO| STOPLOSS => ABLE TO => LAST BUY => (USDT:56523.53000000) 
2021/02/21 11:18:15.806|INFO|SOLBO| STOPLOSS => ORDER => EXCHANGE => NOT PLACED 
2021/02/21 11:18:15.806|INFO|SOLBO| STOPLOSS => ORDER => EXCHANGE => NOT SUCCEED  
2021/02/21 11:18:15.806|INFO|SOLBO| SELL => CURRENT PRICE => (57292.83000000) => INCREASED => FROM BOUGHT VALUE => (56523.53000000) => BY (1.34%) 
2021/02/21 11:18:15.806|INFO|SOLBO| SELL => BASE => (BTC:0.00097702) 
2021/02/21 11:18:15.806|WARN|SOLBO| SELL => BASE => (BTC:0.00097702) => NOT ENOUGH => MIN NEEDED => (BTC:0.00000100) 
2021/02/21 11:18:15.806|INFO|SOLBO| SELL => REACHED => 100 - 57292.83000000(current) / 56523.53000000 * 100 = -1.36102611. (price rising). => sellup => 0.4% 
2021/02/21 11:18:15.806|INFO|SOLBO| SELL => ABLE TO => LAST BUY => (USDT:56523.53000000) 
2021/02/21 11:18:15.806|INFO|SOLBO| SELL => CURRENT PRICE => (57292.83000000) > (56523.53000000) 
2021/02/21 11:18:15.806|INFO|SOLBO| SELL => ORDER => EXCHANGE => NOT PLACED 
2021/02/21 11:18:15.806|INFO|SOLBO| SELL => ORDER => EXCHANGE => NOT SUCCEED  
2021/02/21 11:18:15.806|INFO|SOLBO| BINANCE PRODUCTION MODE END 

config:

{
  "Strategy": {
    "ActiveId": 1,
    "ModeType": 0,
    "Available": [
      {
        "Id": 1,
        "Symbol": "BTCUSDT",
        "BuyDown": 1,
        "SellUp": 0.4,
        "Average": 5,
        "StopLossDown": 12,
        "FundPercentage": 33,
        "ClearOnStartup": false,
        "StopLossPauseCycles": 3,
        "AverageType": 1,
        "SellType": 0,
        "CommissionType": 1
      }
    ]
  },
  "Actions": {
    "BoughtPrice": 56545.59000000,
    "StopLossCurrentCycle": 0,
    "StopLossReached": false
  }
}
bolec812 commented 3 years ago

Mam ten sam problem, da się to jakoś naprawić?? zależy mi na tym programie ;)

tkowalczyk commented 3 years ago

na ten moment projekt przechodzi zmiany i czasowo też nie poświęcam mu wystarczająco dużo czasu.