New paste Repaste Download
[gw2] darwin -- Python 3.12.12 /Users/cao/.pyenv/versions/3.12.12/bin/python3
tests/services/test_market_state_etf.py:1615: in test_reconcile_profit_take_km60_crest_down_sells
    r = mse.reconcile_profit_take(DAY.isoformat(), now=NOW)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rtrader/services/market_state_etf.py:5069: in reconcile_profit_take
    realized, exit_coid, exit_px, esym, esh = _close_held_leg(
rtrader/services/market_state_etf.py:1650: in _close_held_leg
    if not _submit_market_order(
rtrader/services/market_state_etf.py:2187: in _submit_market_order
    result = execlayer.submit(broker, req)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
rtrader/services/execution_layer.py:914: in submit
    _persist_event(result, mongo=mongo, db_factory=db_factory)
E   TypeError: wired.<locals>.<lambda>() got an unexpected keyword argument 'mongo'
Filename: None. Size: 873b. View raw, , hex, or download this file.

This paste expires on 2026-08-05 07:36:15.854422+00:00. Pasted through deprecated-web.