コード例 #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)