def GetOrderDeals(self): self.assertRaises(c_errors.OrderIsNotFoundByID, self._exmo.GetOrderDeals, "44333222111") faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetOrderDeals.log", json.dumps(self._exmo.GetOrderDeals("12591381569"), indent=4))
def GetUserCancelledOrders(self): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserCancelledOrders.log", json.dumps(self._exmo.GetUserCancelledOrders(), indent=4))
def GetUserDeals(self): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserDeals-USDT_RUB.log", json.dumps(self._exmo.GetUserDeals("ETH_USD"), indent=4))
def GetCommissionForPair(self): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetTakerCommission-BTC_USD.log", json.dumps(self._exmo.GetTakerCommission("BTC_USD"), indent=4)) faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetMakerCommission-BTC_USD.log", json.dumps(self._exmo.GetMakerCommission("BTC_USD"), indent=4))
def GetUserBalance(self): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserBalance-RUB.log", json.dumps(self._exmo.GetUserBalance("RUB"), indent=4)) faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserBalance-USDT.log", json.dumps(self._exmo.GetUserBalance("USDT"), indent=4))
def GetUserInfo(self): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserInfo.log", json.dumps(self._exmo.GetUserInfo(), indent=4))
def GetCurrencyList(): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetCurrencyList.log", json.dumps(Exmo.GetCurrencyList(), indent=4))
def GetPairSettings(): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetPairSettings.log", json.dumps(Exmo.GetPairSettings(), indent=4))
def GetTicker(): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetTicker.log", json.dumps(Exmo.GetTicker(), indent=4))
def GetOrderBook(): faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetOrderBook-BTC_USD.log", json.dumps(Exmo.GetOrderBook(pair="BTC_USD"), indent=4)) faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetOrderBook-USDT_RUB.log", json.dumps(Exmo.GetOrderBook(pair="USDT_RUB"), indent=4))