コード例 #1
0
ファイル: test_init.py プロジェクト: triest/PythonJunior
    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)
コード例 #2
0
ファイル: test_init.py プロジェクト: triest/PythonJunior
    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)
コード例 #3
0
ファイル: test_init.py プロジェクト: triest/PythonJunior
 def assertAccountIsValid(self, account):
     AssertUtil.assertAccountIsValid(self, account, self.platform_id)
コード例 #4
0
ファイル: test_init.py プロジェクト: triest/PythonJunior
    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)
コード例 #5
0
ファイル: test_init.py プロジェクト: triest/PythonJunior
    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)