MATIC Level crush beta
MATIC price breakout strategy
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 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 2
Task queue depth is 2
Task queue depth is 3
Task queue depth is 3
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
Task queue depth is 3
Task queue depth is 2
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 2
Task queue depth is 1
Task queue depth is 1
Task queue depth is 2
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 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 2
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
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 3
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
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 1
Task queue depth is 2
Task queue depth is 1
Web server returned an error: 501 {'detail': 'Not implemented. Unknown source None'}
Task queue depth is 2
Task queue depth is 1
Task queue depth is 1
Task queue depth is 3
Task queue depth is 3
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
Web server returned an error: 501 {'detail': 'Not implemented. Unknown chart type None'}
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.'}
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
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
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.'}
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
Main loop terminated. Entering to the web server wait mode. Run-time version was:
Trade-executor Docker version: v836
Commit hash: 00823e1da134ac5644b6ab8ac34716301eaa5a18
Commit message: Better print on frozen positions
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 558, in start loop.run_with_state(state) File "/usr/src/trade-executor/tradeexecutor/cli/loop.py", line 1455, in run_with_state return self.run_live(state) ^^^^^^^^^^^^^^^^^^^^ File "/usr/src/trade-executor/tradeexecutor/cli/loop.py", line 1085, in run_live self.runner.check_accounts( File "/usr/src/trade-executor/tradeexecutor/strategy/runner.py", line 1049, 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-polygon-matic-usdc execution loop crashed
Aborting execution as we cannot reliable trade with incorrect balances.
Accounting differences detected for: 0x8b6a97D4e4F16f79D8A59B36DD57F33ac3B686bD at block <latest>, cycle None
Differences are:
Address Position Actual amount Expected amount Diff Dusty Mismatch Dust epsilon Relative epsilon
WMATIC 0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270 WMATIC-USDC 0 2536.251238970045051507 -2536.251238970045051507 N -100.00% 0.000100000000000000004792173602385929598312941379845142364501953125 0.0005
USDC 0x2791bca1f2de4661ed88a30c99a7a9449aa84174 Reserves 1171.717557 23.979580426610405564133541 1147.737976573389594435866459 N 4786.31% 0.1000000000000000055511151231257827021181583404541015625 0.0050
The execution state was last saved 2024-11-18 18:09:03
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']