Beispiel #1
0
 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))
Beispiel #2
0
 def GetUserCancelledOrders(self):
     faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserCancelledOrders.log", json.dumps(self._exmo.GetUserCancelledOrders(), indent=4))
Beispiel #3
0
 def GetUserDeals(self):
     faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserDeals-USDT_RUB.log", json.dumps(self._exmo.GetUserDeals("ETH_USD"), indent=4))
Beispiel #4
0
 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))
Beispiel #5
0
 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))
Beispiel #6
0
 def GetUserInfo(self):
     faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetUserInfo.log", json.dumps(self._exmo.GetUserInfo(), indent=4))
Beispiel #7
0
 def GetCurrencyList():
     faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetCurrencyList.log", json.dumps(Exmo.GetCurrencyList(), indent=4))
Beispiel #8
0
 def GetPairSettings():
     faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetPairSettings.log", json.dumps(Exmo.GetPairSettings(), indent=4))
Beispiel #9
0
 def GetTicker():
     faf.SaveContentToFile2(faf.SplitPath1(sys.argv[0]), "GetTicker.log", json.dumps(Exmo.GetTicker(), indent=4))
Beispiel #10
0
 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))