dummy_wallet#

API documentation for tradeexecutor.testing.dummy_wallet Python module in Trading Strategy.

Module description#

Synchrone deposits/withdrawals of the portfolio.

Syncs the external portfolio changes from a (blockchain) source. See ethereum/hotwallet_sync.py for details.

Classes#

DummyWalletSyncer

Simulate a wallet events with a fixed balance set in the beginning.

Functions#

apply_sync_events(state, new_reserves[, ...])

Apply deposit and withdraws on reserves in the portfolio.