MATIC Level crush betaarchived
MATIC price breakout strategy
Strategy Logs
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.'}
Task queue depth is 1
Task queue depth is 1
Task queue depth is 2
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 3
Task queue depth is 2
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
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 2
Task queue depth is 1
Task queue depth is 1
Task queue depth is 1
Task queue depth is 2
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
Main loop terminated. Entering to the web server wait mode. Run-time version was:
Trade-executor Docker version: v897
Commit hash: 7f20861d410be82a595ea958816185a9dcb30222
Commit message: Deal with problematic RPC
RuntimeError('Failed to do an API call, using API key secret-token...')
Traceback (most recent call last): (18 lines)
File "/usr/src/trade-executor/deps/trading-strategy/tradingstrategy/transport/progress_enabled_download.py", line 33, in download_with_tqdm_progress_bar r.raise_for_status() # Will only raise for 4xx codes, so... ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://tradingstrategy.ai/api/exchange-universe The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/trade-executor/tradeexecutor/cli/commands/start.py", line 590, in start loop.run_with_state(state) File "/usr/src/trade-executor/tradeexecutor/cli/loop.py", line 1462, in run_with_state return self.run_live(state) ^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/cli/loop.py", line 1071, in run_live universe = self.warm_up_live_trading() ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/cli/loop.py", line 719, in warm_up_live_trading universe = self.universe_model.preload_universe(self.universe_options, self.execution_context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/strategy/trading_strategy_universe.py", line 1734, in preload_universe return preload_data( ^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/backtest/data_preload.py", line 54, in preload_data return create_trading_universe( ^^^^^^^^^^^^^^^^^^^^^^^^ File "strategy/enzyme-polygon-matic-usdc.py", line 241, in create_trading_universe dataset = load_partial_data( ^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/strategy/trading_strategy_universe.py", line 2298, in load_partial_data exchange_universe = client.fetch_exchange_universe() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/trading-strategy/tradingstrategy/client.py", line 197, in fetch_exchange_universe path = self.transport.fetch_exchange_universe() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/deps/trading-strategy/tradingstrategy/transport/cache.py", line 444, in fetch_exchange_universe self.save_response(path, "exchange-universe", human_readable_hint="Downloading exchange dataset") File "/usr/src/trade-executor/deps/trading-strategy/tradingstrategy/transport/cache.py", line 349, in save_response self.download_func(self.requests, fpath, url, params, self.timeout, human_readable_hint) File "/usr/src/trade-executor/deps/trading-strategy/tradingstrategy/transport/progress_enabled_download.py", line 38, in download_with_tqdm_progress_bar raise RuntimeError(f"Failed to do an API call, using API key {auth_key}...") from e RuntimeError: Failed to do an API call, using API key secret-token...trade-executor enzyme-polygon-matic-usdc execution loop crashed
The execution state was last saved 2024-11-25 12:02:22
Starting with strategy parameters:
Parameter Value
----------------------------------- ----------------------
allocation 0.98
backtest_end 2024-04-15 00:00:00
backtest_start 2021-09-01 00:00:00
backtest_trading_fee 0.0005
bollinger_bands_ma_length 19
chain_id 137
clock_shift_bars 0
cycle_duration CycleDuration.cycle_1h
id matic-breakout
initial_cash 10000
required_history_period 1 day, 14:00:00
routing TradeRouting.default
rsi_bars 14
rsi_entry 50
source_time_bucket TimeBucket.h1
std_dev 2.8
stop_loss 0.98
stop_loss_time_bucket TimeBucket.m15
target_time_bucket TimeBucket.h1
trailing_stop_loss 0.98
trailing_stop_loss_activation_level 1.05
grid_search False
MATIC Level crush (enzyme-polygon-matic-usdc): trade execution starting
Parameters.slippage_tolerance missing - needed for live trading. Please add.
Connected to chain: polygon, gas pricing method: london, providers ['polygon-mainnet.g.alchemy.com', 'lb.drpc.org', 'proud-small-resonance.matic.quiknode.pro']