Ejemplo n.º 1
0
    def on_update(self, bin_size, strategy):
        """
        戦略の関数を登録する。
        :param strategy:
        """
        self.__load_ohlcv(bin_size)

        BitMexStub.on_update(self, bin_size, strategy)
        self.__crawler_run()
Ejemplo n.º 2
0
    def on_update(self, bin_size, strategy):
        """
        Register the strategy function.
        :param strategy:
        """
        self.__load_ohlcv(bin_size)

        BitMexStub.on_update(self, bin_size, strategy)
        self.__crawler_run()