StateStore# tradeexecutor.state.store.StateStore class. class StateStore[source]# Bases: ABC Backend to manage the trade exeuction persistent state. __init__()# Methods __init__() create() Create a new state storage. is_empty() State has not been written yet. load() Load the state from the storage. sync(state) Save the state to the storage. abstract is_empty()[source]# State has not been written yet. Return type bool abstract load()[source]# Load the state from the storage. Return type State abstract sync(state)[source]# Save the state to the storage. Parameters state (State) – abstract create()[source]# Create a new state storage. Return type State