예제 #1
0
 def __init__(self, db_storages):
     """
     Constructor
     :param db_storage: Database storage
     """
     ExchangeGateway.__init__(self, ExchGwApiGdaxTrades(), db_storages)
     self.api_socket2 = ExchGwApiGdaxOrderBook()
예제 #2
0
 def __init__(self, db_storages):
     """
     Constructor
     :param db_storage: Database storage
     """
     ExchangeGateway.__init__(self, ExchGwApiLuno(), db_storages)
     self.order_book = None
예제 #3
0
 def __init__(self, db_storages):
     """
     Constructor
     :param db_storage: Database storage
     """
     ExchangeGateway.__init__(self, ExchGwApiPoloniex(), db_storages)
예제 #4
0
 def __init__(self, db_storages):
     """
     Constructor
     :param db_storage: Database storage
     """
     ExchangeGateway.__init__(self, BinanceBroker(), db_storages)
예제 #5
0
 def __init__(self, db_storages):
     """
     Constructor
     :param db_storage: Database storage
     """
     ExchangeGateway.__init__(self, ExchGwKrakenRestfulApi(), db_storages)
예제 #6
0
 def __init__(self, db_storages):
     """
     Constructor
     :param db_storage: Database storage
     """
     ExchangeGateway.__init__(self, ExchGwBitmexWs(), db_storages)