@@ -345,6 +345,7 @@ class FakeEntrypoint:
345345 def evaluate (self , ctx ):
346346 captured ["market_data" ] = dict (ctx .market_data )
347347 captured ["portfolio" ] = ctx .portfolio
348+ captured ["runtime_config" ] = dict (ctx .runtime_config )
348349 return StrategyDecision (
349350 positions = (
350351 PositionTarget (symbol = "SOXL" , target_value = 30000.0 ),
@@ -385,6 +386,7 @@ def fake_loader(_ib, symbol, duration="2 Y", bar_size="1 day"):
385386 assert captured ["market_data" ]["derived_indicators" ]["soxl" ]["ma_trend" ] == 100.0
386387 assert captured ["market_data" ]["derived_indicators" ]["soxx" ]["price" ] == 200.0
387388 assert captured ["portfolio" ] is portfolio_snapshot
389+ assert "pacing_sec" not in captured ["runtime_config" ]
388390 assert result .metadata ["portfolio_total_equity" ] == 50000.0
389391 assert result .metadata ["managed_symbols" ] == ("SOXL" , "SOXX" , "QQQI" , "SPYI" , "BOXX" )
390392
@@ -408,6 +410,7 @@ class FakeEntrypoint:
408410 def evaluate (self , ctx ):
409411 captured ["market_data" ] = dict (ctx .market_data )
410412 captured ["portfolio" ] = ctx .portfolio
413+ captured ["runtime_config" ] = dict (ctx .runtime_config )
411414 return StrategyDecision (
412415 positions = (
413416 PositionTarget (symbol = "TQQQ" , target_value = 30000.0 ),
@@ -457,6 +460,7 @@ def fake_candle_loader(_ib, symbol, duration="2 Y", bar_size="1 day"):
457460 assert len (captured ["market_data" ]["benchmark_history" ]) == 220
458461 assert captured ["market_data" ]["benchmark_history" ][0 ]["high" ] == 101.0
459462 assert captured ["portfolio" ] is portfolio_snapshot
463+ assert "pacing_sec" not in captured ["runtime_config" ]
460464 assert result .metadata ["portfolio_total_equity" ] == 50000.0
461465 assert result .metadata ["benchmark_symbol" ] == "QQQ"
462466 assert result .metadata ["managed_symbols" ] == ("TQQQ" , "BOXX" , "SPYI" , "QQQI" )
0 commit comments