def assertMyTradeIsValid(self, my_trade, testing_symbol_or_symbols=None): if not testing_symbol_or_symbols: testing_symbol_or_symbols = self.testing_symbol AssertUtil.assertMyTradeIsValid(self, my_trade, testing_symbol_or_symbols, self.platform_id)
def assertOrderBookDiffIsValid(self, order_book, testing_symbol_or_symbols=None): if not testing_symbol_or_symbols: testing_symbol_or_symbols = self.testing_symbol AssertUtil.assertOrderBookDiffIsValid(self, order_book, testing_symbol_or_symbols, self.platform_id)
def assertAccountIsValid(self, account): AssertUtil.assertAccountIsValid(self, account, self.platform_id)
def assertTickerIsValid(self, ticker, testing_symbol_or_symbols=None): # if not testing_symbol_or_symbols: # testing_symbol_or_symbols = self.testing_symbol AssertUtil.assertTickerIsValid(self, ticker, testing_symbol_or_symbols, self.platform_id)
def assertCandleIsValid(self, candle, testing_symbol_or_symbols=None): if not testing_symbol_or_symbols: testing_symbol_or_symbols = self.testing_symbol AssertUtil.assertCandleIsValid(self, candle, testing_symbol_or_symbols, self.platform_id)