whittlem / pycryptobot Goto Github PK
View Code? Open in Web Editor NEWPython Crypto Bot (PyCryptoBot)
License: Apache License 2.0
Python Crypto Bot (PyCryptoBot)
License: Apache License 2.0
Im getting error when specifying 1m as granularity
▶ python3 pycryptobot.py --granularity 1m
--------------------------------------------------------------------------------
| Python Crypto Bot |
--------------------------------------------------------------------------------
| Bot Mode : TEST - test trades using dummy funds :) |
| Bot Started : 2021-04-01 17:35:31.677124 |
================================================================================
Exception: Something went wrong!
Same error even when mentioning "granularity" : "1m",
in config.json
5m
works fine though
python3 pycryptobot.py --granularity 5m
--------------------------------------------------------------------------------
| Python Crypto Bot |
--------------------------------------------------------------------------------
| Bot Mode : TEST - test trades using dummy funds :) |
| Bot Started : 2021-04-01 17:36:40.428803 |
================================================================================
2021-04-01 15:35:00 | BTCEUR (BEAR) | 5m | Close: 50250.0 | ^ EMA12/26: 50245.46 > 50203.67 ^ | ^ MACD: 41.79 > 40.27 ^ | ^ OBV: -86.2756 (4.13%) ^ | ERI: buy | WAIT
I'm unable to pull the docker image, seeing this permission error:
Error response from daemon: pull access denied for ghcr.io/whittlem/pycryptobot/pycryptobot, repository does not exist or may require 'docker login': denied: permission_denied: read_package
I've setup a personal access token with the required read package and I've also verified I'm logged in.
Hi
I got an error when the bot triggered an Order for XLM
XLM balance before order: 190.81
EUR balance before order: 0.0
{'product_id': 'XLM-EUR', 'type': 'market', 'side': 'sell', 'size': 190.81}
error: POST (400) https://api.pro.coinbase.com/orders - size is too accurate. Smallest unit is 1.00000000
XLM balance after order: 190.81
EUR balance after order: 0.0
The CCXT library unifies many coin exchanges and would allow for a broader audience for pycryptobot.
https://github.com/ccxt/ccxt
This there a reason why CoinbasePro is set to have a minimum balance of 50 rather than 0.001?
Line 1084 of PycryptoBot.py
Line 53 of pycryptobot.py
Seems to be happening a couple times now. It could be issues with coinbase. The bot sometimes just stops updating the console window (until manually restarted) with no errors listed.
I've also noticed some of these lines today as well when running:
error: GET (500) https://api.pro.coinbase.com/products/CGLD-USD/ticker - Internal server error
They show up randomly and is not unique to CGLD-USD.
I've only been using the bot since the last 24 hours, so this may very well just be a current issue with the coinbase API causing problems. Although i'm curious why the bot is just "hanging" and not outright crashing.
Hi Michael,
could you put your regex update in the models/Telegrams.py class also, to allow the optional dash in the telegram client id. You previously put the update in the PyCryptoBot.py class file.
re.compile(r"^-*\d{7,10}$")
Thanks.
Adrian.
Line 84 in ae88713
I believe the Binance fee is 0.1% for limit orders, but 0.5% on for market orders.
So I think the row on line 84 should be:
base_quantity = base_quantity * 0.995
rather than
base_quantity = base_quantity * 0.9995
right?
Hi,
I think there is some typo in Binance.py line 196,
For granularity = 15m multiplier should be equal to 15, not 10.
elif(granularity== '15m'):
multiplier = 10
I updated to the latest code. When I run the following:
python pycryptobot.py --exchange binance --market ENJUSDT --granularity 1h --sim fast --graphs 1
The following is displayed once the simulation ends:
Simulation Summary
Buy Count : 3
Sell Count : 3
Margin : -3.98%
In the graphs folder, there are 6 png files that look identical. (see attachment)
For reference, can you provide an example of your chart? Is the chart supposed to display any trade information?
Originally posted by @t3ch9 in #29 (comment)
Is the chart supposed to display any trade information?
Can @whittlem post an example of a chart for reference?
I would like to experiment with different settings and be able to view the trades.
The graphs generated for a buy or sell is sort of a work in progress. I thought it may be useful to have graphs generated to see what was happening at the time of the buy or sell. I've created loads of graphs in the views/TradingGraphs.py file. At the moment the graphs get generated when ever there is a buy or sell so for 3 buys and 3 sells you will create 6 images. Maybe there is more relevant graphs to show or maybe we would want to generate a graph on a buy or sell but not both. If you are interested in graphs being generated let me know what you think would be useful and I'll see what I can do.
Originally posted by @whittlem in #34 (comment)
In the configuration, "nosellatloss" is the variable with option 0 (false) or 1 (true)
It is described in documentation with double negative:
"* No not sell at a loss (no small losses but could prevent getting out before a big crash)"
And when the app runs, it is described as:
"Sell At Loss : False" (with 1)
It is confusing.
nosellatloss = false = sell at loss = false ?
Maybe we can use the same term in both config and app? ("sellatloss" or "nosellatloss" but not both) - my vote is to use "sellatloss" so to avoid double negative....
Or edit the text in app to say "Do not sell at loss"
I'm testing the bot and I'm seeing no buy or sell activity. I have sim'ed, as well as waited over the course of a couple days.
Configuration:
"config" : {
"cryptoMarket" : "BTC",
"fiatMarket" : "USD",
"live" : 0,
"sellatloss" : 1
}
I'm using Coinbase Pro. Is there anything I'm doing wrong? Does my account need to have BTC in it in order for purchasing to occur?
I'm not sure what happened here. The bot was able to create a buy order for ETH this morning, but when it attempted to sell this afternoon, it hit the below error. I can confirm that I still have a ETH-USD balance far greater than 0.00100000. It didn't sell, but the bot kept running, and as you can see, it thought it actually did sell. Not sure if the problem is with the Coinbase Pro API or a pycryptorobot bug.
Thanks!
Todd
2021-04-11 21:15:00 | ETH-USD (BULL) | 900 | Close: 2140.82 | v EMA12/26: 2142.92 < 2142.96 v | v MACD: -0.04 < 1.18 v | v OBV: 21676.4652 (-0.19%) v | ERI: buy | SELL | Last Action: BUY | -0.68%
2021-04-11 21:15:00 | ETH-USD 900 | Close: 2140.82 | SELL
Fibonacci Retracement Levels: {'ratio0_382': 2134.51, 'ratio0_286': 2148.14}
ETH balance before order: 0.0
USD balance before order: 0.0
{'product_id': 'ETH-USD', 'type': 'market', 'side': 'sell', 'size': 0.0}
error: POST (400) https://api.pro.coinbase.com/orders - size is too small. Minimum size is 0.00100000
ETH balance after order: 0.0
USD balance after order: 0.0
2021-04-11 17:24:38 | ETH-USD (BULL) | 900 | Current Price: 2138.14
2021-04-11 17:29:39 | ETH-USD (BULL) | 900 | Current Price: 2135.91
2021-04-11 21:30:00 | ETH-USD (BULL) | 900 | Close: 2135.17 | v EMA12/26: 2140.37 < 2141.71 v | v MACD: -1.35 < 0.63 v | v OBV: 22461.6819 (-1.72%) v | ERI: sell | WAIT | Last Action: SELL
...
Hello,
I'm trying to run the bot with binance and I have an error
Traceback (most recent call last):
File "/Users/jeremmm/pycryptobot/pycryptobot.py", line 870, in
executeJob(s, app)
File "/Users/jeremmm/pycryptobot/pycryptobot.py", line 89, in executeJob
trading_data = app.getHistoricalData(app.getMarket(), app.getGranularity())
File "/Users/jeremmm/pycryptobot/models/PyCryptoBot.py", line 790, in getHistoricalData
return api.getHistoricalData(market, granularity)
File "/Users/jeremmm/pycryptobot/models/Binance.py", line 224, in getHistoricalData
resp = self.client.get_historical_klines(market, granularity, '13 days ago UTC')
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 873, in get_historical_klines
return self._historical_klines(symbol, interval, start_str, end_str=None, limit=500, spot=True)
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 917, in _historical_klines
first_valid_ts = self._get_earliest_valid_timestamp(symbol, interval, spot)
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 846, in _get_earliest_valid_timestamp
kline = self._klines(spot=spot,
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 829, in _klines
return self.get_klines(**params)
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 817, in get_klines
return self._get('klines', data=params, version=self.PRIVATE_API_VERSION)
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 320, in _get
return self._request_api('get', path, signed, version, **kwargs)
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 265, in _request_api
return self._request(method, uri, signed, **kwargs)
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 260, in _request
return self._handle_response()
File "/Users/jeremmm/pycryptobot/env/lib/python3.9/site-packages/binance/client.py", line 313, in _handle_response
raise BinanceAPIException(self.response)
binance.exceptions.BinanceAPIException: APIError(code=-1121): Invalid symbol.
{
"binance": {
"api_url": "https://api.binance.com",
"api_key": "<truncate>",
"api_secret": "<truncate>",
"config": {
"base_currency": "BTC",
"quote_currency": "DOGE",
"granularity": "1h",
"live": 0,
"verbose": 1
}
}
}
Have you an idea about this?
Thanks
2021-04-16 21:38:05 | ADAEUR (BULL) | 1h | Current Price: 1.2
2021-04-16 21:43:09 | ADAEUR (BULL) | 1h | Current Price: 1.20164
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.binance.com', port=443): Read timed out. (read timeout=20)
During handling of the above exception, another exception occurred:
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='api.binance.com', port=443): Read timed out. (read timeout=20)
Any specific reason? I am struggling to install all the packages on a Raspberry, a lower version would be much easier. Is there any reason?
For the last 2 weeks I tested your bot on 6 currency pairs with dummy funds. Amazing gains! :)
Today I have noticed that some bots returned
Failed to establish a new connection
and stopped working. It has happen to 2 bots out of 6. So it was probably temporary network issue on my PC, or Binance API.
However maybe it's worth considering adding retry on this error?
And if it fails then send error information via Telegram?
Full error message below
According to Github there are 333 of you regularly updating your bots. I'm glad you are finding it useful :)
I was just curious how all of you are doing?
I'll start off...
As an example my BTC-GBP config.json looks like this (with my keys removed):
{
"coinbasepro" : {
"api_url" : "https://api.pro.coinbase.com",
"api_key" : "",
"api_secret" : "",
"api_passphrase" : "",
"config" : {
"base_currency" : "BTC",
"quote_currency" : "GBP",
"live" : 1,
"sellatloss" : 0,
"disablebullonly" : 1,
"disablebuyobv" : 1,
"disablebuyelderray" : 1
}
},
"telegram" : {
"token" : "",
"client_id" : ""
}
}
Hi Michael
First, let me congratulate you for the great work and for taking the time to share it. I have installed pycryptobot on my Windows 10 box and it is running, so far no orders were triggered though. I have it using Binance and configured for BTC-BRL pair.
I noticed that there seems to be a mix of local time in some messages and a different time in others. I am posting a screen capture so you can see. My system is configured for ETC-3 (Brazil). You will see that at the time I took the capture (local time was about 16:44) there are previous messages showing time at 19:30. Maybe some messages derive time from the API of Binance? Or something related to time zones.
Let me know if you need more info on the case.
Got this stacktrace after leaving the bot running for 5 days. The bot haven't bought nor sold anything.
Traceback (most recent call last): File "/app/pycryptobot.py", line 885, in <module> s.run() File "/usr/local/lib/python3.9/sched.py", line 151, in run action(*argument, **kwargs) File "/app/pycryptobot.py", line 845, in executeJob account.saveTrackerCSV(app.getMarket()) File "/app/models/TradingAccount.py", line 293, in saveTrackerCSV df = self.getOrders(market, '', 'done') File "/app/models/TradingAccount.py", line 94, in getOrders resp = self.client.get_all_orders(symbol=market) File "/usr/local/lib/python3.9/site-packages/binance/client.py", line 1803, in get_all_orders return self._get('allOrders', True, data=params) File "/usr/local/lib/python3.9/site-packages/binance/client.py", line 320, in _get return self._request_api('get', path, signed, version, **kwargs) File "/usr/local/lib/python3.9/site-packages/binance/client.py", line 265, in _request_api return self._request(method, uri, signed, **kwargs) File "/usr/local/lib/python3.9/site-packages/binance/client.py", line 260, in _request return self._handle_response() File "/usr/local/lib/python3.9/site-packages/binance/client.py", line 313, in _handle_response raise BinanceAPIException(self.response) binance.exceptions.BinanceAPIException: APIError(code=-1021): Timestamp for this request is outside of the recvWindow
Hi,
I wounder if you can help me understand why a buy signal was not detected at the point in the screen dump, below is the log from the bot. I'm new into the bot and does not fully understand how to read the information yet.
Thanks for cool open source code, I appreciate your help!
04/21/2021 04:43:23 PM - DEBUG: 2021-04-21 14:00:00 | ETH-EUR (BEAR) | 900 | Close: 2010.0 | ^ EMA12/26: 1942.53 > 1912.52 ^ | ^ MACD: 30.01 > 24.79 ^ | ^ OBV: 3819.9029 (55.4%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 04:48:24 PM - DEBUG: 2021-04-21 14:30:00 | ETH-EUR (BULL) | 900 | Close: 2015.58 | ^ EMA12/26: 1970.38 > 1948.52 ^ | ^ MACD: 21.85 > 13.96 ^ | ^ OBV: 12329.4869 (9.36%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 04:53:26 PM - DEBUG: 2021-04-21 14:45:00 | ETH-EUR (BULL) | 900 | Close: 2021.83 | ^ EMA12/26: 1977.56 > 1953.62 ^ | ^ MACD: 23.93 > 16.0 ^ | v OBV: 10047.6051 (-1.94%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 05:08:29 PM - DEBUG: 2021-04-21 15:00:00 | ETH-EUR (BULL) | 900 | Close: 2031.81 | ^ EMA12/26: 1988.15 > 1960.6 ^ | ^ MACD: 27.55 > 18.53 ^ | ^ OBV: 10020.987 (2.25%) ^ | ERI: sell | WAIT | Last Action: SELL 04/21/2021 05:23:33 PM - DEBUG: 2021-04-21 15:15:00 | ETH-EUR (BULL) | 900 | Close: 2017.03 | ^ EMA12/26: 1991.62 > 1964.26 ^ | ^ MACD: 27.36 > 20.19 ^ | v OBV: 7791.1866 (-2.06%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 05:33:35 PM - DEBUG: 2021-04-21 15:30:00 | ETH-EUR (BULL) | 900 | Close: 2013.46 | ^ EMA12/26: 1993.88 > 1967.32 ^ | ^ MACD: 26.55 > 21.35 ^ | ^ OBV: 6251.4233 (2.75%) ^ | ERI: sell | WAIT | Last Action: SELL 04/21/2021 05:48:40 PM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/21/2021 05:48:40 PM - DEBUG: 2021-04-21 15:45:00 | ETH-EUR (BULL) | 900 | Close: 2021.67 | ^ EMA12/26: 1999.29 > 1971.94 ^ | ^ MACD: 27.34 > 22.66 ^ | v OBV: 5142.9818 (-3.25%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 06:03:44 PM - DEBUG: 2021-04-21 16:00:00 | ETH-EUR (BULL) | 900 | Close: 2044.95 | ^ EMA12/26: 2007.51 > 1977.99 ^ | ^ MACD: 29.52 > 24.16 ^ | ^ OBV: 7342.7496 (3.56%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 06:18:50 PM - DEBUG: 2021-04-21 16:15:00 | ETH-EUR (BULL) | 900 | Close: 2036.55 | ^ EMA12/26: 2011.42 > 1982.03 ^ | ^ MACD: 29.38 > 25.15 ^ | v OBV: 8940.4594 (-0.94%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 06:33:56 PM - DEBUG: 2021-04-21 16:30:00 | ETH-EUR (BULL) | 900 | Close: 2021.89 | ^ EMA12/26: 2012.82 > 1984.87 ^ | ^ MACD: 27.95 > 25.68 ^ | v OBV: 7612.3381 (-1.33%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 06:49:01 PM - DEBUG: 2021-04-21 16:45:00 | ETH-EUR (BULL) | 900 | Close: 2024.08 | ^ EMA12/26: 2015.1 > 1988.07 ^ | ^ MACD: 27.03 > 26.01 ^ | v OBV: 6540.2708 (-0.76%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 07:04:06 PM - DEBUG: 2021-04-21 17:00:00 | ETH-EUR (BULL) | 900 | Close: 2013.13 | ^ EMA12/26: 2014.18 > 1989.6 ^ | *v MACD: 24.58 < 25.67 v* | v OBV: 5319.5004 (-0.85%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 07:19:12 PM - DEBUG: *** Candlestick Detected: Morning Star ("Strong - Reversal - Bullish Pattern - Up") 04/21/2021 07:19:12 PM - DEBUG: 2021-04-21 17:15:00 | ETH-EUR (BULL) | 900 | Close: 2025.25 | ^ EMA12/26: 2016.49 > 1992.56 ^ | v MACD: 23.93 < 25.37 v | ^ OBV: 5677.4295 (1.11%) ^ | ERI: sell | WAIT | Last Action: SELL 04/21/2021 07:34:19 PM - DEBUG: 2021-04-21 17:30:00 | ETH-EUR (BULL) | 900 | Close: 2017.86 | ^ EMA12/26: 2015.49 > 1993.79 ^ | v MACD: 21.69 < 24.52 v | ^ OBV: 5603.6759 (0.65%) ^ | ERI: sell | WAIT | Last Action: SELL 04/21/2021 07:49:25 PM - DEBUG: 2021-04-21 17:45:00 | ETH-EUR (BULL) | 900 | Close: 2002.91 | ^ EMA12/26: 2012.46 > 1993.88 ^ | v MACD: 18.57 < 23.2 v | v OBV: 4580.0259 (-1.48%) v | ERI: buy | WAIT | Last Action: SELL 04/21/2021 08:04:30 PM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up") 04/21/2021 08:04:30 PM - DEBUG: 2021-04-21 18:00:00 | ETH-EUR (BULL) | 900 | Close: 2015.47 | ^ EMA12/26: 2014.18 > 1996.14 ^ | v MACD: 18.04 < 22.28 v | ^ OBV: 4731.3578 (1.48%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 08:19:35 PM - DEBUG: 2021-04-21 18:15:00 | ETH-EUR (BULL) | 900 | Close: 2011.45 | ^ EMA12/26: 2013.45 > 1997.11 ^ | v MACD: 16.34 < 21.06 v | v OBV: 4965.2499 (-1.88%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 08:34:41 PM - DEBUG: 2021-04-21 18:30:00 | ETH-EUR (BULL) | 900 | Close: 2003.15 | ^ EMA12/26: 2012.31 > 1997.77 ^ | v MACD: 14.53 < 19.76 v | v OBV: 4505.6629 (-2.39%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 08:49:47 PM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up") 04/21/2021 08:49:47 PM - DEBUG: 2021-04-21 18:45:00 | ETH-EUR (BULL) | 900 | Close: 1998.46 | ^ EMA12/26: 2009.51 > 1997.47 ^ | v MACD: 12.03 < 18.15 v | v OBV: 3556.9705 (-3.98%) v | ERI: buy | WAIT | Last Action: SELL 04/21/2021 09:04:52 PM - DEBUG: 2021-04-21 19:00:00 | ETH-EUR (BULL) | 900 | Close: 2007.66 | ^ EMA12/26: 2009.88 > 1998.56 ^ | v MACD: 11.31 < 16.82 v | ^ OBV: 3796.5665 (1.98%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 09:19:57 PM - DEBUG: 2021-04-21 19:15:00 | ETH-EUR (BULL) | 900 | Close: 2024.24 | ^ EMA12/26: 2012.73 > 2000.79 ^ | v MACD: 11.93 < 15.9 v | ^ OBV: 4113.6223 (1.59%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 09:35:03 PM - DEBUG: 2021-04-21 19:30:00 | ETH-EUR (BULL) | 900 | Close: 2032.06 | ^ EMA12/26: 2015.65 > 2003.09 ^ | v MACD: 12.55 < 15.24 v | ^ OBV: 4454.1995 (2.31%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 09:45:06 PM - DEBUG: 2021-04-21 19:45:00 | ETH-EUR (BULL) | 900 | Close: 2022.85 | ^ EMA12/26: 2015.69 > 2003.99 ^ | v MACD: 11.69 < 14.43 v | ^ OBV: 4536.807 (0.01%) ^ | ERI: sell | WAIT | Last Action: SELL 04/21/2021 10:00:20 PM - DEBUG: 2021-04-21 20:00:00 | ETH-EUR (BULL) | 900 | Close: 2025.67 | ^ EMA12/26: 2017.5 > 2005.74 ^ | v MACD: 11.75 < 13.92 v | ^ OBV: 4444.7403 (0.03%) ^ | ERI: sell | WAIT | Last Action: SELL 04/21/2021 10:15:25 PM - DEBUG: 2021-04-21 20:15:00 | ETH-EUR (BULL) | 900 | Close: 2010.87 | ^ EMA12/26: 2013.63 > 2004.62 ^ | v MACD: 9.0 < 12.66 v | ^ OBV: 4304.6393 (0.18%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 10:30:29 PM - DEBUG: 2021-04-21 20:30:00 | ETH-EUR (BULL) | 900 | Close: 2005.03 | ^ EMA12/26: 2011.21 > 2004.08 ^ | v MACD: 7.13 < 11.45 v | ^ OBV: 5138.6918 (0.05%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 10:45:35 PM - DEBUG: 2021-04-21 20:45:00 | ETH-EUR (BULL) | 900 | Close: 1995.7 | ^ EMA12/26: 2006.39 > 2002.18 ^ | v MACD: 4.21 < 9.77 v | ^ OBV: 4186.9793 (0.63%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 11:00:40 PM - DEBUG: 2021-04-21 21:00:00 | ETH-EUR (BULL) | 900 | Close: 2000.92 | ^ EMA12/26: 2005.78 > 2002.21 ^ | v MACD: 3.57 < 8.56 v | ^ OBV: 4862.5357 (0.43%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 11:15:45 PM - DEBUG: 2021-04-21 21:15:00 | ETH-EUR (BULL) | 900 | Close: 1989.5 | ^ EMA12/26: 2002.28 > 2000.74 ^ | v MACD: 1.53 < 7.05 v | v OBV: 4269.8788 (-0.16%) v | ERI: sell | WAIT | Last Action: SELL 04/21/2021 11:30:49 PM - DEBUG: 2021-04-21 21:30:00 | ETH-EUR (BULL) | 900 | Close: 1989.31 | ^ EMA12/26: 1999.7 > 1999.59 ^ | v MACD: 0.1 < 5.62 v | ^ OBV: 3328.8774 (0.1%) ^ | ERI: buy | WAIT | Last Action: SELL 04/21/2021 11:45:54 PM - DEBUG: 2021-04-21 21:45:00 | ETH-EUR (BULL) | 900 | Close: 1984.94 | v EMA12/26: 1996.69 < 1998.12 v | v MACD: -1.43 < 4.14 v | ^ OBV: 2812.8153 (1.28%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 12:00:59 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 12:00:59 AM - DEBUG: 2021-04-21 22:00:00 | ETH-EUR (BULL) | 900 | Close: 1973.3 | v EMA12/26: 1991.69 < 1995.54 v | v MACD: -3.85 < 2.4 v | v OBV: 2057.0204 (-0.61%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 12:16:05 AM - DEBUG: 2021-04-21 22:15:00 | ETH-EUR (BULL) | 900 | Close: 1987.34 | v EMA12/26: 1992.22 < 1995.56 v | v MACD: -3.35 < 1.36 v | ^ OBV: 2057.4747 (0.36%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 12:31:10 AM - DEBUG: 2021-04-21 22:30:00 | ETH-EUR (BULL) | 900 | Close: 1980.32 | v EMA12/26: 1988.98 < 1993.7 v | v MACD: -4.72 < 0.02 v | ^ OBV: 2092.552 (0.05%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 12:46:15 AM - DEBUG: 2021-04-21 22:45:00 | ETH-EUR (BULL) | 900 | Close: 1950.15 | v EMA12/26: 1980.52 < 1989.16 v | v MACD: -8.65 < -1.96 v | v OBV: 1335.285 (-10.62%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 01:01:20 AM - DEBUG: 2021-04-21 23:00:00 | ETH-EUR (BULL) | 900 | Close: 1964.93 | v EMA12/26: 1979.8 < 1988.27 v | v MACD: -8.47 < -3.06 v | v OBV: 1646.2013 (-0.59%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 01:16:24 AM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up") 04/22/2021 01:16:24 AM - DEBUG: 2021-04-21 23:15:00 | ETH-EUR (BULL) | 900 | Close: 1948.69 | v EMA12/26: 1973.84 < 1984.72 v | v MACD: -10.88 < -4.74 v | v OBV: 610.2561 (-8.15%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 01:31:28 AM - DEBUG: 2021-04-21 23:30:00 | ETH-EUR (BULL) | 900 | Close: 1962.06 | v EMA12/26: 1972.3 < 1983.18 v | v MACD: -10.88 < -5.95 v | v OBV: -711.8006 (-1.13%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 01:51:33 AM - DEBUG: 2021-04-21 23:45:00 | ETH-EUR (BULL) | 900 | Close: 1971.48 | v EMA12/26: 1973.84 < 1983.21 v | v MACD: -9.37 < -6.43 v | v OBV: -85.1684 (-397.1%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 02:01:36 AM - DEBUG: 2021-04-22 | ETH-EUR (BULL) | 900 | Close: 1971.31 | v EMA12/26: 1972.21 < 1981.68 v | v MACD: -9.47 < -7.15 v | v OBV: 6.6604 (-106.04%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 02:21:41 AM - DEBUG: 2021-04-22 00:15:00 | ETH-EUR (BULL) | 900 | Close: 1962.62 | v EMA12/26: 1966.42 < 1977.99 v | v MACD: -11.58 < -8.46 v | v OBV: -261.8674 (-40.21%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 02:36:45 AM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up") 04/22/2021 02:36:45 AM - DEBUG: 2021-04-22 00:30:00 | ETH-EUR (BULL) | 900 | Close: 1967.11 | v EMA12/26: 1967.04 < 1977.46 v | v MACD: -10.42 < -8.8 v | v OBV: -14.8248 (-85.83%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 02:46:47 AM - DEBUG: 2021-04-22 00:45:00 | ETH-EUR (BULL) | 900 | Close: 1980.02 | v EMA12/26: 1971.17 < 1978.77 v | *^ MACD: -7.61 > -8.35 ^* | ^ OBV: -772.3955 (0.56%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 03:01:52 AM - DEBUG: *** Candlestick Detected: Three White Soldiers ("Strong - Reversal - Bullish Pattern - Up") 04/22/2021 03:01:52 AM - DEBUG: 2021-04-22 01:00:00 | ETH-EUR (BULL) | 900 | Close: 2016.95 | v EMA12/26: 1981.98 < 1983.58 v | ^ MACD: -1.6 > -6.64 ^ | v OBV: -731.1355 (-2.55%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 03:16:56 AM - DEBUG: 2021-04-22 01:15:00 | ETH-EUR (BULL) | 900 | Close: 2026.59 | *^ EMA12/26: 1990.4 > 1987.58 ^* | ^ MACD: 2.82 > -4.62 ^ | v OBV: -463.2177 (-10.91%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 03:32:01 AM - DEBUG: 2021-04-22 01:30:00 | ETH-EUR (BULL) | 900 | Close: 2023.52 | ^ EMA12/26: 1995.25 > 1990.11 ^ | ^ MACD: 5.13 > -2.69 ^ | ^ OBV: -1114.4851 (2.95%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 03:47:04 AM - DEBUG: 2021-04-22 01:45:00 | ETH-EUR (BULL) | 900 | Close: 2022.29 | ^ EMA12/26: 1998.69 > 1992.11 ^ | ^ MACD: 6.57 > -0.91 ^ | v OBV: -1358.1881 (-0.31%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 04:02:09 AM - DEBUG: 2021-04-22 02:00:00 | ETH-EUR (BULL) | 900 | Close: 1979.88 | ^ EMA12/26: 1992.27 > 1989.35 ^ | ^ MACD: 2.92 > -0.49 ^ | ^ OBV: -1636.0622 (6.72%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 04:22:15 AM - DEBUG: 2021-04-22 02:15:00 | ETH-EUR (BULL) | 900 | Close: 1960.44 | *v EMA12/26: 1984.76 < 1985.86 v* | *v MACD: -1.1 < -0.81 v* | ^ OBV: -2214.7862 (12.07%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 04:32:17 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 04:32:17 AM - DEBUG: 2021-04-22 02:30:00 | ETH-EUR (BULL) | 900 | Close: 1996.03 | ^ EMA12/26: 1990.39 > 1988.69 ^ | ^ MACD: 1.7 > 0.12 ^ | v OBV: -1574.1927 (-2.7%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 04:47:21 AM - DEBUG: 2021-04-22 02:45:00 | ETH-EUR (BULL) | 900 | Close: 2010.78 | ^ EMA12/26: 1994.12 > 1990.66 ^ | ^ MACD: 3.46 > 0.88 ^ | ^ OBV: 327.4828 (16.39%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:02:25 AM - DEBUG: 2021-04-22 03:00:00 | ETH-EUR (BULL) | 900 | Close: 2009.64 | ^ EMA12/26: 1994.81 > 1991.17 ^ | ^ MACD: 3.63 > 1.28 ^ | v OBV: -703.3126 (-1.42%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:22:30 AM - DEBUG: 2021-04-22 03:15:00 | ETH-EUR (BULL) | 900 | Close: 2014.36 | ^ EMA12/26: 1998.29 > 1993.14 ^ | ^ MACD: 5.15 > 2.1 ^ | v OBV: -584.1431 (-3.51%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:32:33 AM - DEBUG: 2021-04-22 03:30:00 | ETH-EUR (BULL) | 900 | Close: 2006.56 | ^ EMA12/26: 1998.61 > 1993.63 ^ | ^ MACD: 4.98 > 2.58 ^ | ^ OBV: -1447.9189 (0.23%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:47:37 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 05:47:37 AM - DEBUG: 2021-04-22 03:45:00 | ETH-EUR (BULL) | 900 | Close: 1983.47 | ^ EMA12/26: 1993.64 > 1991.48 ^ | *v MACD: 2.15 < 2.23 v* | ^ OBV: -1773.9802 (1.86%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 06:02:42 AM - DEBUG: 2021-04-22 04:00:00 | ETH-EUR (BULL) | 900 | Close: 2003.35 | ^ EMA12/26: 1995.66 > 1992.63 ^ | ^ MACD: 3.02 > 2.43 ^ | v OBV: -1575.9635 (-2.8%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 06:17:46 AM - DEBUG: 2021-04-22 04:15:00 | ETH-EUR (BULL) | 900 | Close: 2004.43 | ^ EMA12/26: 1997.34 > 1993.69 ^ | ^ MACD: 3.65 > 2.71 ^ | ^ OBV: -1441.9680 (3.19%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 06:32:50 AM - DEBUG: 2021-04-22 04:30:00 | ETH-EUR (BULL) | 900 | Close: 2022.99 | ^ EMA12/26: 2003.51 > 1997.03 ^ | ^ MACD: 6.48 > 3.69 ^ | v OBV: -823.8426 (-5.91%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 06:47:54 AM - DEBUG: 2021-04-22 04:45:00 | ETH-EUR (BULL) | 900 | Close: 2013.68 | ^ EMA12/26: 2003.69 > 1997.52 ^ | ^ MACD: 6.17 > 4.01 ^ | v OBV: -1109.5368 (-1.74%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 07:02:58 AM - DEBUG: 2021-04-22 05:00:00 | ETH-EUR (BULL) | 900 | Close: 2034.32 | ^ EMA12/26: 2010.5 > 2001.37 ^ | ^ MACD: 9.13 > 5.28 ^ | ^ OBV: -1100.2238 (11.26%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 07:18:02 AM - DEBUG: 2021-04-22 05:15:00 | ETH-EUR (BULL) | 900 | Close: 2032.33 | ^ EMA12/26: 2013.97 > 2003.71 ^ | ^ MACD: 10.25 > 6.27 ^ | v OBV: -1364.6343 (-3.43%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 07:33:07 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 07:33:07 AM - DEBUG: 2021-04-22 05:30:00 | ETH-EUR (BULL) | 900 | Close: 2024.97 | ^ EMA12/26: 2014.92 > 2004.9 ^ | ^ MACD: 10.02 > 6.95 ^ | ^ OBV: -1717.8562 (1.1%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 07:48:10 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 07:48:10 AM - DEBUG: 2021-04-22 05:45:00 | ETH-EUR (BULL) | 900 | Close: 2027.01 | ^ EMA12/26: 2017.25 > 2006.77 ^ | ^ MACD: 10.48 > 7.67 ^ | v OBV: -1547.1369 (-14.76%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 08:03:14 AM - DEBUG: 2021-04-22 06:00:00 | ETH-EUR (BULL) | 900 | Close: 2062.94 | ^ EMA12/26: 2028.5 > 2013.15 ^ | ^ MACD: 15.35 > 9.6 ^ | v OBV: -838.0284 (-9.98%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 08:18:18 AM - DEBUG: *** Candlestick Detected: Three White Soldiers ("Strong - Reversal - Bullish Pattern - Up") 04/22/2021 08:18:18 AM - DEBUG: 2021-04-22 06:15:00 | ETH-EUR (BULL) | 900 | Close: 2071.23 | ^ EMA12/26: 2035.62 > 2017.74 ^ | ^ MACD: 17.88 > 11.32 ^ | v OBV: -511.8044 (-22.93%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 08:33:21 AM - DEBUG: 2021-04-22 06:30:00 | ETH-EUR (BULL) | 900 | Close: 2058.44 | ^ EMA12/26: 2038.43 > 2020.38 ^ | ^ MACD: 18.04 > 12.59 ^ | ^ OBV: -966.5390 (7.09%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 08:48:26 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 08:48:26 AM - DEBUG: 2021-04-22 06:45:00 | ETH-EUR (BULL) | 900 | Close: 2053.59 | ^ EMA12/26: 2040.67 > 2022.78 ^ | ^ MACD: 17.88 > 13.62 ^ | ^ OBV: -1068.1414 (4.38%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 09:08:32 AM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up") 04/22/2021 09:08:32 AM - DEBUG: 2021-04-22 07:00:00 | ETH-EUR (BULL) | 900 | Close: 2057.23 | ^ EMA12/26: 2043.76 > 2025.61 ^ | ^ MACD: 18.14 > 14.56 ^ | ^ OBV: -939.5303 (14.61%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 09:18:35 AM - DEBUG: 2021-04-22 07:15:00 | ETH-EUR (BULL) | 900 | Close: 2039.09 | ^ EMA12/26: 2041.82 > 2025.96 ^ | ^ MACD: 15.85 > 14.68 ^ | ^ OBV: -1059.4094 (14.76%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 09:33:41 AM - DEBUG: 2021-04-22 07:30:00 | ETH-EUR (BULL) | 900 | Close: 2055.48 | ^ EMA12/26: 2044.63 > 2028.52 ^ | ^ MACD: 16.1 > 15.04 ^ | v OBV: -1428.4818 (-3.05%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 09:53:47 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 09:53:47 AM - DEBUG: 2021-04-22 07:45:00 | ETH-EUR (BULL) | 900 | Close: 2056.29 | ^ EMA12/26: 2046.79 > 2030.77 ^ | ^ MACD: 16.01 > 15.27 ^ | ^ OBV: -1126.1000 (16.57%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 10:03:50 AM - DEBUG: 2021-04-22 08:00:00 | ETH-EUR (BULL) | 900 | Close: 2055.75 | ^ EMA12/26: 2048.18 > 2032.61 ^ | ^ MACD: 15.56 > 15.29 ^ | v OBV: -1100.9676 (-4.08%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 10:23:55 AM - DEBUG: 2021-04-22 08:15:00 | ETH-EUR (BULL) | 900 | Close: 2030.09 | ^ EMA12/26: 2042.64 > 2030.98 ^ | v MACD: 11.65 < 14.31 v | ^ OBV: -1832.0764 (11.21%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 10:33:58 AM - DEBUG: 2021-04-22 08:30:00 | ETH-EUR (BULL) | 900 | Close: 2031.76 | ^ EMA12/26: 2040.63 > 2030.86 ^ | v MACD: 9.77 < 13.37 v | v OBV: -1642.8394 (-4.24%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 10:49:03 AM - DEBUG: 2021-04-22 08:45:00 | ETH-EUR (BULL) | 900 | Close: 2026.06 | ^ EMA12/26: 2035.95 > 2029.22 ^ | v MACD: 6.73 < 11.8 v | v OBV: -1970.8703 (-13.73%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 11:04:08 AM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 11:04:08 AM - DEBUG: 2021-04-22 09:00:00 | ETH-EUR (BULL) | 900 | Close: 2040.81 | ^ EMA12/26: 2038.41 > 2030.98 ^ | v MACD: 7.42 < 11.1 v | v OBV: -1829.0372 (-3.06%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 11:19:12 AM - DEBUG: 2021-04-22 09:15:00 | ETH-EUR (BULL) | 900 | Close: 2037.51 | ^ EMA12/26: 2037.07 > 2030.83 ^ | v MACD: 6.23 < 10.0 v | v OBV: -1643.8493 (-3.27%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 11:34:17 AM - DEBUG: 2021-04-22 09:30:00 | ETH-EUR (BULL) | 900 | Close: 2053.36 | ^ EMA12/26: 2040.13 > 2032.8 ^ | v MACD: 7.33 < 9.54 v | v OBV: -1825.6976 (-2.0%) v | ERI: buy | WAIT | Last Action: SELL 04/22/2021 11:49:22 AM - DEBUG: 2021-04-22 09:45:00 | ETH-EUR (BULL) | 900 | Close: 2054.73 | ^ EMA12/26: 2043.05 > 2034.79 ^ | v MACD: 8.26 < 9.37 v | ^ OBV: -672.0476 (7.4%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 12:04:26 PM - DEBUG: 2021-04-22 10:00:00 | ETH-EUR (BULL) | 900 | Close: 2062.62 | ^ EMA12/26: 2048.44 > 2038.1 ^ | ^ MACD: 10.33 > 9.79 ^ | ^ OBV: -322.1457 (86.56%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 12:19:30 PM - DEBUG: 2021-04-22 10:15:00 | ETH-EUR (BULL) | 900 | Close: 2058.57 | ^ EMA12/26: 2049.65 > 2039.43 ^ | ^ MACD: 10.22 > 9.83 ^ | v OBV: -865.4739 (-6.37%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 12:34:34 PM - DEBUG: 2021-04-22 10:30:00 | ETH-EUR (BULL) | 900 | Close: 2068.58 | ^ EMA12/26: 2055.03 > 2042.89 ^ | ^ MACD: 12.14 > 10.52 ^ | ^ OBV: -1257.0193 (25.82%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 12:49:39 PM - DEBUG: 2021-04-22 10:45:00 | ETH-EUR (BULL) | 900 | Close: 2082.56 | ^ EMA12/26: 2060.9 > 2046.69 ^ | ^ MACD: 14.2 > 11.44 ^ | ^ OBV: -554.1157 (110.17%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 01:09:44 PM - DEBUG: 2021-04-22 11:00:00 | ETH-EUR (BULL) | 900 | Close: 2099.33 | ^ EMA12/26: 2067.36 > 2050.88 ^ | ^ MACD: 16.47 > 12.5 ^ | ^ OBV: 1695.7695 (103.9%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 01:19:48 PM - DEBUG: *** Candlestick Detected: Three White Soldiers ("Strong - Reversal - Bullish Pattern - Up") 04/22/2021 01:19:48 PM - DEBUG: 2021-04-22 11:15:00 | ETH-EUR (BULL) | 900 | Close: 2110.0 | ^ EMA12/26: 2073.33 > 2054.95 ^ | ^ MACD: 18.37 > 13.62 ^ | ^ OBV: 1935.7862 (19.48%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 01:34:52 PM - DEBUG: *** Candlestick Detected: Three White Soldiers ("Strong - Reversal - Bullish Pattern - Up") 04/22/2021 01:34:52 PM - DEBUG: 2021-04-22 11:30:00 | ETH-EUR (BULL) | 900 | Close: 2130.0 | ^ EMA12/26: 2081.73 > 2060.37 ^ | ^ MACD: 21.35 > 15.19 ^ | ^ OBV: 3356.4589 (7.68%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 01:54:59 PM - DEBUG: 2021-04-22 11:45:00 | ETH-EUR (BULL) | 900 | Close: 2113.23 | ^ EMA12/26: 2086.23 > 2064.1 ^ | ^ MACD: 22.13 > 16.54 ^ | v OBV: 4046.7767 (-11.05%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 02:10:04 PM - DEBUG: 2021-04-22 12:00:00 | ETH-EUR (BULL) | 900 | Close: 2143.38 | ^ EMA12/26: 2094.52 > 2069.71 ^ | ^ MACD: 24.8 > 18.15 ^ | ^ OBV: 3981.2498 (15.6%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 02:25:09 PM - DEBUG: 2021-04-22 12:15:00 | ETH-EUR (BULL) | 900 | Close: 2143.66 | ^ EMA12/26: 2101.64 > 2074.92 ^ | ^ MACD: 26.71 > 19.75 ^ | ^ OBV: 5136.7432 (3.03%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 02:30:11 PM - DEBUG: 2021-04-22 12:30:00 | ETH-EUR (BULL) | 900 | Close: 2142.98 | ^ EMA12/26: 2107.04 > 2079.46 ^ | ^ MACD: 27.57 > 21.23 ^ | v OBV: 5621.1558 (-0.03%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 02:45:16 PM - DEBUG: 2021-04-22 12:45:00 | ETH-EUR (BULL) | 900 | Close: 2141.23 | ^ EMA12/26: 2111.74 > 2083.74 ^ | ^ MACD: 27.99 > 22.53 ^ | ^ OBV: 6991.756 (0.15%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 03:00:22 PM - DEBUG: 2021-04-22 13:00:00 | ETH-EUR (BULL) | 900 | Close: 2118.01 | ^ EMA12/26: 2109.35 > 2084.51 ^ | ^ MACD: 24.83 > 22.66 ^ | ^ OBV: 5249.8937 (0.28%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 03:20:30 PM - DEBUG: 2021-04-22 13:15:00 | ETH-EUR (BULL) | 900 | Close: 2132.98 | ^ EMA12/26: 2114.24 > 2088.8 ^ | ^ MACD: 25.44 > 23.4 ^ | v OBV: 6061.9409 (-0.23%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 03:30:32 PM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 03:30:32 PM - DEBUG: 2021-04-22 13:30:00 | ETH-EUR (BULL) | 900 | Close: 2150.67 | ^ EMA12/26: 2122.81 > 2094.94 ^ | ^ MACD: 27.87 > 24.58 ^ | ^ OBV: 6146.5561 (0.16%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 03:50:40 PM - DEBUG: 2021-04-22 13:45:00 | ETH-EUR (BULL) | 900 | Close: 2135.08 | ^ EMA12/26: 2121.43 > 2096.19 ^ | ^ MACD: 25.23 > 24.39 ^ | ^ OBV: 5505.7679 (1.26%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 04:00:43 PM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up") 04/22/2021 04:00:43 PM - DEBUG: 2021-04-22 14:00:00 | ETH-EUR (BULL) | 900 | Close: 2116.87 | ^ EMA12/26: 2118.32 > 2096.45 ^ | v MACD: 21.86 < 23.65 v | ^ OBV: 4813.9224 (0.43%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 04:15:48 PM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 04:15:48 PM - DEBUG: 2021-04-22 14:15:00 | ETH-EUR (BULL) | 900 | Close: 2139.73 | ^ EMA12/26: 2124.36 > 2101.11 ^ | v MACD: 23.24 < 23.84 v | ^ OBV: 4918.5778 (0.28%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 04:35:54 PM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up") 04/22/2021 04:35:54 PM - DEBUG: 2021-04-22 14:30:00 | ETH-EUR (BULL) | 900 | Close: 2143.44 | ^ EMA12/26: 2127.99 > 2104.61 ^ | v MACD: 23.38 < 23.82 v | v OBV: 4813.2792 (-3.39%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 04:45:57 PM - DEBUG: 2021-04-22 14:45:00 | ETH-EUR (BULL) | 900 | Close: 2149.28 | ^ EMA12/26: 2131.88 > 2108.24 ^ | v MACD: 23.63 < 23.84 v | ^ OBV: 5412.437 (0.32%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:01:03 PM - DEBUG: 2021-04-22 15:00:00 | ETH-EUR (BULL) | 900 | Close: 2166.36 | ^ EMA12/26: 2139.2 > 2113.6 ^ | ^ MACD: 25.59 > 24.37 ^ | ^ OBV: 5882.792 (0.3%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:16:09 PM - DEBUG: * Candlestick Detected: Hammer ("Weak - Reversal - Bullish Signal - Up") 04/22/2021 05:16:09 PM - DEBUG: 2021-04-22 15:15:00 | ETH-EUR (BULL) | 900 | Close: 2155.4 | ^ EMA12/26: 2139.55 > 2115.58 ^ | *v MACD: 23.96 < 24.11 v* | ^ OBV: 6580.1885 (0.27%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:31:13 PM - DEBUG: 2021-04-22 15:30:00 | ETH-EUR (BULL) | 900 | Close: 2150.02 | ^ EMA12/26: 2141.01 > 2118.05 ^ | v MACD: 22.95 < 23.86 v | v OBV: 6049.6476 (-0.12%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 05:46:18 PM - DEBUG: 2021-04-22 15:45:00 | ETH-EUR (BULL) | 900 | Close: 2151.81 | ^ EMA12/26: 2143.8 > 2121.14 ^ | v MACD: 22.65 < 23.72 v | v OBV: 8130.2112 (-0.15%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 06:01:22 PM - DEBUG: 2021-04-22 16:00:00 | ETH-EUR (BULL) | 900 | Close: 2179.31 | ^ EMA12/26: 2152.15 > 2126.96 ^ | ^ MACD: 25.18 > 24.28 ^ | ^ OBV: 8842.0176 (1.07%) ^ | ERI: buy | WAIT | Last Action: SELL 04/22/2021 06:16:27 PM - DEBUG: 2021-04-22 16:15:00 | ETH-EUR (BULL) | 900 | Close: 2185.88 | ^ EMA12/26: 2157.34 > 2131.34 ^ | ^ MACD: 26.0 > 24.64 ^ | ^ OBV: 9031.6948 (0.51%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 06:31:31 PM - DEBUG: 2021-04-22 16:30:00 | ETH-EUR (BULL) | 900 | Close: 2198.56 | ^ EMA12/26: 2165.24 > 2137.14 ^ | ^ MACD: 28.09 > 25.49 ^ | ^ OBV: 10250.7585 (0.38%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 06:46:36 PM - DEBUG: 2021-04-22 16:45:00 | ETH-EUR (BULL) | 900 | Close: 2183.07 | ^ EMA12/26: 2166.05 > 2139.53 ^ | ^ MACD: 26.51 > 25.51 ^ | v OBV: 10543.4699 (-0.39%) v | ERI: sell | WAIT | Last Action: SELL 04/22/2021 07:01:41 PM - DEBUG: 2021-04-22 17:00:00 | ETH-EUR (BULL) | 900 | Close: 2183.77 | ^ EMA12/26: 2167.84 > 2142.32 ^ | ^ MACD: 25.52 > 25.42 ^ | ^ OBV: 10598.9797 (0.44%) ^ | ERI: sell | WAIT | Last Action: SELL 04/22/2021 07:16:52 PM - DEBUG: * Candlestick Detected: Three Black Crows ("Strong - Reversal - Bearish Pattern - Down") 04/22/2021 07:16:52 PM - DEBUG: 2021-04-22 17:15:00 | ETH-EUR (BULL) | 900 | Close: 2153.98 | ^ EMA12/26: 2162.73 > 2141.62 ^ | v MACD: 21.11 < 24.29 v | v OBV: 12285.6393 (-0.96%) v | ERI: sell | WAIT | Last Action: SELL
Hi Michael,
great job on the bot. Thanks.
My telegram client ID starts with a dash followed by digits. So it fails the regex in the PyCyrpoBot and Telegram models.
re.compile(r"^\d{7,10}$")
To make it work I changed to :
re.compile(r"^-\d{7,10}$")
I put the telegram bot in group with myself, perhaps this is the reason there is a dash at the beginning of the client id.
BR,
Adrian.
guess i enountered a small issue in the last running, last action was BUY as i had 0.0765 ETH, but on my wallet there was still 0.0973 USDT, in this case 0.09 USDT > 0.07 ETH and the script was going always in last action = SELL
python3 /root/cryptobinance/pycryptobot/pycryptobot.py --exchange binance --market ETHUSDT --live 1 --sellupperpcnt 2 --selllowerpcnt -2 --granularity 15m
base = ETH
quote = USDT
base = 0.0765
quote = 0.0973
| Python Crypto Bot |
| Bot Mode : LIVE - live trades using your funds! |
| Bot Started : 2021-04-13 04:01:27.560784 |
================================================================================
| Sell Upper : 2.0% |
| Sell Lower : -2.0% |
================================================================================
2021-04-13 02:00:00 | ETHUSDT (BEAR) | 15m | Close: 2167.17 | ^ EMA12/26: 2156.91 > 2151.02 ^ | ^ MACD: 5.89 > 4.38 ^ | ^ OBV: 79451.1662 (0.53%) ^ | ERI: sell | WAIT | Last Action: SELL
after this i added a small constriction to go over
if account.getBalance(app.getBaseCurrency()) < account.getBalance(app.getQuoteCurrency()) and account.getBalance(app.getQuoteCurrency()) > 50 :
last_action = 'SELL'
elif account.getBalance(app.getBaseCurrency()) > account.getBalance(app.getQuoteCurrency()) and account.getBalance(app.getQuoteCurrency()) < 1 :
last_action = 'BUY'
print(last_action)
just checked if my quote currency had more then 50 USDT in order to decide BUY/SELL
at the second run, infact, the script went over but it immediately sold the order, unfortunately i couldn't debug more on this
python3 /root/cryptobinance/pycryptobot/pycryptobot.py --exchange binance --market ETHUSDT --live 1 --sellupperpcnt 2 --selllowerpcnt -2 --granularity 15m
| Python Crypto Bot |
| Bot Mode : LIVE - live trades using your funds! |
| Bot Started : 2021-04-13 04:02:22.184992 |
================================================================================
| Sell Upper : 2.0% |
| Sell Lower : -2.0% |
================================================================================
! Profit Bank Triggered (> 2.0%)
2021-04-13 02:00:00 | ETHUSDT (BEAR) | 15m | Close: 2166.82 | ^ EMA12/26: 2156.82 > 2150.97 ^ | ^ MACD: 5.85 > 4.37 ^ | ^ OBV: 79702.5118 (0.85%) ^ | ERI: sell | SELL | Last Action: BUY | 99.41%
2021-04-13 02:00:00 | ETHUSDT 15m | Close: 2166.82 | SELL
Fibonacci Retracement Levels: {'ratio0_286': 2155.95, 'ratio0': 2193.9}
ETH balance before order: 0.0765
USDT balance before order: 0.0973
Order quantity after rounding and fees: 0.07646
ETH balance after order: 0.0001
USDT balance after order: 165.5494
Hi,
First, thank you for your amazing work !
i had an error this error today when the bot try to trade. did i do something wrong in the setup ?
2021-04-06 12:00:00 | ETH-DAI 900 | Close: 2122.94 | BUY
ETH balance before order: 0.0
DAI balance before order: 151.5603
error: POST (400) https://api.pro.coinbase.com/orders - funds is too accurate. Smallest unit is 0.01000000
ETH balance after order: 0.0
DAI balance after order: 151.5603
Also, i have an issue with the timestamps in every of my bots. Exemple :
2021-04-06 12:00:00 | XLM-USD (BULL) | 900 | Close: 0.53 | ^ EMA12/26: 0.52 > 0.5 ^ | ^ MACD: 0.01 > 0.01 ^ | v OBV: 0.0 (-3.58%) v | ERI: sell | WAIT
2021-04-06 12:30:00 | XLM-USD (BULL) | 900 | Close: 0.53 | ^ EMA12/26: 0.53 > 0.53 ^ | v MACD: 0.0 < 0.0 v | v OBV: 0.0 (-0.91%) v | ERI: buy | WAIT
2021-04-06 14:38:09 | XLM-USD (BULL) | 900 | Current Price: 0.541127
2021-04-06 14:43:10 | XLM-USD (BULL) | 900 | Current Price: 0.539793
2021-04-06 12:45:00 | XLM-USD (BULL) | 900 | Close: 0.54 | ^ EMA12/26: 0.54 > 0.53 ^ | v MACD: 0.0 < 0.0 v | ^ OBV: 0.0 (0.98%) ^ | ERI: buy | WAIT
2 hours offset when EMA,MACD...analysis. "Current Price" is accurate
don't know why ?
Ps: i'm in France
Thank you
Hi!
Here in my environment, the bot keeps running for a random time (something between 10 - 30 minutes), then suddenly it halts giving connection errors. Any ideas what is going on?
Here goes part of the error log:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1345, in getresponse
response.begin()
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 54] Connection reset by peer
Hi Michael!
I would like to run some simulations using the coinbasepro API and different temporal granularity, but it appears to be always 3600 even if I specify it differently. For instance, below is the (first part of the) output when I ask for 1 day granularity.
I don't know if it helps, but note also the warning in the first lines.
thanks a lot for your help and for this fantastic bot!
python3 pycryptobot.py --market BTC-GBP --granularity 86400 --sim fast --verbose 0
/Users/---------/opt/anaconda3/envs/py39/lib/python3.9/site-packages/statsmodels/tools/_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
import pandas.util.testing as tm
--------------------------------------------------------------------------------
| Python Crypto Bot |
--------------------------------------------------------------------------------
| Bot Mode : TEST - test trades using dummy funds :) |
| Bot Started : 2021-04-08 09:41:50.054804 |
================================================================================
| Sell At Loss : 0 |
================================================================================
* Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
2021-03-26 20:00:00 | BTC-GBP | 3600 | Close: 39216.07 | EMA12/26: 39216.07 = 39216.07 | MACD: 0.0 = 0.0 | OBV: 51.6704 (0.0%) | ERI: | WAIT
2021-03-26 21:00:00 | BTC-GBP | 3600 | Close: 39662.42 | *^ EMA12/26: 39284.73 > 39249.13 ^* | *^ MACD: 35.6 > 7.12 ^* | ^ OBV: 80.6316 (56.05%) ^ | ERI: buy | WAIT
2021-03-26 22:00:00 | BTC-GBP | 3600 | Close: 39525.07 | ^ EMA12/26: 39321.71 > 39269.57 ^ | ^ MACD: 52.14 > 16.12 ^ | v OBV: 44.8543 (-44.37%) v | ERI: buy | WAIT
2021-03-26 23:00:00 | BTC-GBP | 3600 | Close: 39958.29 | ^ EMA12/26: 39419.64 > 39320.58 ^ | ^ MACD: 99.05 > 32.71 ^ | ^ OBV: 86.557 (92.97%) ^ | ERI: buy | WAIT
* Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
%% SNIP %%
2021-04-08 06:00:00 | BTC-GBP (BEAR) | 3600 | Close: 41552.12 | v EMA12/26: 41266.36 < 41346.47 v | ^ MACD: -80.12 > -167.09 ^ | v OBV: -63.0605 (-15.9%) v | ERI: buy | WAIT | Last Action: BUY | -3.83%
! Ignore Sell Signal (No Sell At Loss)
2021-04-08 07:00:00 | BTC-GBP (BEAR) | 3600 | Close: 41520.1 | v EMA12/26: 41305.39 < 41359.33 v | ^ MACD: -53.94 > -144.46 ^ | ^ OBV: -73.1307 (15.97%) ^ | ERI: sell | WAIT | Last Action: BUY | -3.91%
Simulation Summary
Buy Count : 2
Sell Count : 2
Margin : -0.8%
** non-live simulation, assuming highest fees
(py39)
When I run the following command:
python pycryptobot.py --market BTCUSDT --granularity 1h --sim slow --verbose 0 --live 0 --graphs 1
The following is displayed once the simulation ends:
Simulation Summary
Buy Count : 1
Sell Count : 1
Margin : 0.03%
** non-live simulation, assuming highest fees
The graphs folder contain 2 png files. Both are same chart and does not indicate any trade. I have tested on different time frames, markets, and simulation speeds. For example, if there are 4 orders in the simulation, there will be 4 png files, but all are same chart with no trade displayed.
Hi,
Woud you consider adding a telegram notification when a buy or sell occurs ?
I'll quickly try and edit your code with these easy steps:
import telegram_send
...
if action == 'BUY':
telegram_send.send(messages=["BUY SIGNAL Market xxxxxxxx"])
...
# if a sell signal
elif action == 'SELL':
telegram_send.send(messages=["SEL SIGNAL Market xxxxx"])
Of course it requires setting your own bot before :
https://medium.com/@robertbracco1/how-to-write-a-telegram-bot-to-send-messages-with-python-bcdf45d0a580
Let me know whatyou think,
thanks
Logs are not available when using docker logs (docker logs -f btc-eur).
To fix it include the environment var "PYTHONUNBUFFERED"
image: ghcr.io/whittlem/pycryptobot/pycryptobot:latest
container_name: btc-eur
environment:
- PYTHONUNBUFFERED=1
Hey there, and thanks for making this awesome program available to everyone. I noticed that the default granularity is 3600 minutes, but shouldn't it be 60 minutes?
Thanks
Suppose I have 1000 USDT, I want to trade only 30% of this balance. How to define that?
Hi, I think I need some help here...
I keep getting this error whenever I try to go live (it happens after around 7 min I start the bot):
2021-04-27 15:35:00 | XRPUSDT (BEAR) | 5m | Close: 1.4 | ^ EMA12/26: 1.39 > 1.39 ^ | ^ MACD: 0.0 > -0.01 ^ | ^ OBV: 59019460.33 (3.66%) ^ | ERI: sell | WAIT | Last Action: BUY | 0% (delta: 1.41) 2021-04-27 15:40:00 | XRPUSDT (BEAR) | 5m | Close: 1.42 | ^ EMA12/26: 1.4 > 1.39 ^ | ^ MACD: 0.0 > -0.01 ^ | ^ OBV: 61230004.87 (7.12%) ^ | ERI: buy | WAIT | Last Action: BUY | 0% (delta: 1.42) Traceback (most recent call last): File "C:\Programs\Python\3.9\env\lib\site-packages\urllib3\connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "C:\Programs\Python\3.9\env\lib\site-packages\urllib3\connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "C:\Programs\Python\3.9\env\lib\site-packages\urllib3\connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "C:\Users\al\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1345, in getresponse response.begin() File "C:\Users\al\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 307, in begin version, status, reason = self._read_status() File "C:\Users\al\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 268, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Users\al\AppData\Local\Programs\Python\Python39\lib\socket.py", line 704, in readinto return self._sock.recv_into(b) File "C:\Users\al\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1241, in recv_into return self.read(nbytes, buffer) File "C:\Users\al\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1099, in read return self._sslobj.read(len, buffer) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Here is my config file:
{ "binance" : { "api_url" : "https://api.binance.com", "api_key" : "", "api_secret" : "", "config" : { "base_currency" : "XRP", "quote_currency" : "BRL", "granularity" : "15m", "live" : 1, "verbose" : 0 } }, "telegram" : { "token" : "", "client_id" : "" } }
I changed the quote_currenct to USDT but still got the same error.
During handling of the above exception, another exception occurred:
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'Varolan bir bağlantı uzaktaki bir ana bilgisayar tarafından zorla kapatıldı', None, 10054, None))
During handling of the above exception, another exception occurred:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(10054, 'Varolan bir bağlantı uzaktaki bir ana bilgisayar tarafından zorla kapatıldı', None, 10054, None))
Hello
i got an error message when attempting to buy Algo on binance this morning :
2021-04-25 08:00:00 | ALGOUSDT 1h | Close: 1.15 | BUY
ALGO balance before order: 0.0
USDT balance before order: 199.98
Order quantity after rounding and fees: 172.84
25-04-2021 10:47:14 Binance marketBuy APIError(code=-2010): Account has insufficient balance for requested action.
ALGO balance after order: 0.0
USDT balance after order: 199.98
as you can see, i had ~200 usdt in my acount
thanks
granularity option default for binance config is "1h"
will any other variables work such as 30m, 2h or 900?
With default "1h" it is displayed in app run as "Granularity : 1h seconds" which is a little confusing, but assuming its on the hour.
I tried simulator multiple times and whatever crypto-quotation combination I use, the bot only wait and wait.
It does not do buy.
It sold some of the coins but never buy back and I see many trends that are missed because of the wait time.
I tried live funds as well and my fund sits in USDT be it BTC/USDT, DOGE/USDT, or ETH/USDT for 3 days without any buy.
Could it be an issue?
When using coinbase config, pycryptobot.log is updating accordingly - i mapped the file on dockerhost and tailed it and it refreshes every 15 min.
In the case of binance config, the log stops updating after the initial 2 lines,
The bot is updating the log correctly if run from host - but when run from container, it stops - only if it is binance.
Sample log using binance config:
04/22/2021 06:55:28 PM - DEBUG: * Candlestick Detected: Inverted Hammer ("Weak - Continuation - Bullish Pattern - Up")
04/22/2021 06:55:28 PM - DEBUG: 2021-04-22 06:00:00 | BTCDAI (BEAR) | 1h | Close: 54468.32 | v EMA12/26: 54418.95 < 54822.4 v | v MACD: -403.45 < -388.41 v | ^ OBV: -102.0562 (3.79%) ^ | ERI: buy | WAIT | Last Action: SELL
04/22/2021 07:00:34 PM - DEBUG: 2021-04-22 07:00:00 | BTCDAI (BEAR) | 1h | Close: 54438.57 | v EMA12/26: 54415.5 < 54790.56 v | ^ MACD: -375.07 > -386.37 ^ | OBV: -98.9343 (0.0%) | ERI: buy | WAIT | Last Action: SELL
04/22/2021 08:19:30 PM - DEBUG: * Candlestick Detected: Three Black Crows ("Strong - Reversal - Bearish Pattern - Down")
between 7:00 and 8:19 there is nothing. at 8:19 it updated the log because I restarted the container.
I'm testing the bot and I'm seeing no buy or sell activity. in simulation mode for binance
Configuration:
{
"binance" : {
"api_url" : "https://api.binance.com",
"api_key" : "",
"api_secret" : "",
"config" : {
"base_currency" : "ETH",
"quote_currency" : "USDT",
"granularity" : "1h",
"live" : 0,
"verbose" : 0
}
}
}
what should I do?
thank you
Hey, I'm not sure whether this is a problem with my internet, but I'm often getting API exception, and it stops the bot, so maybe it'd be nice to have a retry on those cases so the bot doesn't "die". What do you think?
Hi
I'm getting this error "json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)"
in ETH-EUR / XLM-EUR and ADA-EUR
any idea ?
Thanks
great work and communication, thanks for that.
forgot to ask - is binance supporting a smart switching?
doesnt seem to be indicated in the documentation whether yes or no, just absent from config...
thanks
I swapped XLM-EUR for ADA-EUR yesterday. I've had this crash twice.
2021-04-16 11:46:53 | ADA-EUR (BULL) | 3600 | Current Price: 1.171
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 49 (char 48)
ADA-EUR %
Anyone else getting it as well? Or is it ADA specific?
I run the bot with the following command:
python pycryptobot.py --exchange binance --market ENJUSDT --granularity 1h --sim fast --verbose 0 --live 0 --smartswitch 1 --sellatloss 0 --sellupperpcnt 9
The sellupperpcnt is supposed to force sell when the margin reaches an upper limit of 9%, but based on the log, the sell happens when profit is less than 9%. (multiple examples attached)
Hi,
I keep getting this error message when trading ETH-DAI :
2021-04-10 16:00:00 | ETH-DAI 900 | Close: 2164.0 | BUY
ETH balance before order: 0.0001
DAI balance before order: 150.4926
error: POST (400) https://api.pro.coinbase.com/orders - funds is too accurate. Smallest unit is 0.01000000
ETH balance after order: 0.0001
DAI balance after order: 150.4926
In fact, i think the issue is that i can't trade 150.4926 but only 150.49.
When i do the trade manually on coinbasepro, that's the amount showing when "MAX" is selected.
I don't know if the problem is present with other currency, i will tryc with usdc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.