Пример #1
0
 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)
Пример #2
0
 def decode_trading_pair(pair_string):
     not_implemented()
Пример #3
0
 def encode_trading_pair(pair):
     not_implemented()
Пример #4
0
 def get_open_positions(self):
     not_implemented()
Пример #5
0
 def cancel_order(self, order_id):
     not_implemented()
Пример #6
0
 def get_warmup_data(self, pairs, duration, resolution):
     not_implemented()