def setUp(self) -> None: """ Sets up a backtester object. """ self.trader = Trader(symbol="BTCUSDT", precision=2, startingBalance=1000)
def get_trader_object() -> Trader: """ Get a trader object. :return: Trader """ return Trader(symbol="BTCUSDT", precision=2, startingBalance=1000)