Skip to content

Commit

Permalink
Tests bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
petioptrv committed Aug 23, 2020
1 parent 04d35d2 commit c11f3af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ def sim_broker_runner_and_streamer_15m():
sim_streamer = SimulationDataStreamer(
historical_retriever=HistoricalRetriever(hist_data_dir=TEST_DATA_DIR),
)
sim_runner = SimulationBroker(
sim_broker = SimulationBroker(
sim_streamer=sim_streamer,
starting_funds={Currency.USD: 1_000},
transaction_cost=1,
)
sim_runner = SimulationRunner(
sim_clock=sim_clock,
data_providers=[sim_streamer],
data_consumers=[sim_runner],
data_consumers=[sim_broker],
)
return sim_runner, sim_runner, sim_streamer
return sim_broker, sim_runner, sim_streamer


def can_test_ib() -> bool:
Expand Down

0 comments on commit c11f3af

Please sign in to comment.