Ejemplo n.º 1
0
    def __init__(self, symbol):
        self.symbol = symbol
        if Mt5.market_book_add(self.symbol):
            print(
                f'The symbol {self.symbol} was successfully added to market book.'
            )

        else:
            print(
                f'Some thing happened adding {self.symbol} to market book, error: {Mt5.last_error()}'
            )