def __init__(self, thread_manager): assert not Kraken.__instance_exists Kraken.__instance_exists = True not_implemented() super().__init__(thread_manager) self.__kraken = krakenex.API() # self.__kraken.load_key('secret.key') self.__translate = { BTC_USD: "XXBTZUSD", ETH_USD: "XETHZUSD", XRP_USD: "XXRPZUSD" } self.__fees = {"maker": 0.0016, "taker": 0.0026} self.__balances = defaultdict(float)
def decode_trading_pair(pair_string): not_implemented()
def encode_trading_pair(pair): not_implemented()
def get_open_positions(self): not_implemented()
def cancel_order(self, order_id): not_implemented()
def get_warmup_data(self, pairs, duration, resolution): not_implemented()