Evaluates pending trades for an experiment at the specified simulation time. Trades are executed, cancelled, or left pending as appropriate.


api_key : str

  • a valid API key

current_date: datetime

  • the simulation datetime at which the pending trades will be evaluated with respect to whether they can be completed

base_symbol: str

  • the account currency

symbol_discovery: str

  • symbol discovery to use. 'BINANCE' or 'IB'.

experiment_id: str

  • the ID of the experiment to manage

Simple Example

Simple Example Output

Failure Examples

Failure Examples Output

Three Examples

Three Examples Output