Example #1
0
	def __init__(self):
		Params.__init__(self)
		self.PrivateUrl = "https://poloniex.com/tradingApi" #base url for private API methods
		self.nonce = None
		self.repeat = False #if it is true: the downloading cycle repeates, it is meant for requests with erros
		self.numberOfRepeats = 0 
		self.maxNumberOfRepeats = 10 #max number of attemps of same reuests
Example #2
0
 def __init__(self):
     Params.__init__(self)
     self.number_of_pairs = len(self.currencyPairs)
     # self.Spred = None unesessary?
     self.epochCounter = 0  #counts for tensorboard
     self.logs_path = 'tensorboard/' + strftime("%Y_%m_%d_%H_%M_%S",
                                                gmtime())
Example #3
0
 def __init__(self):
     Params.__init__(self)
Example #4
0
 def __init__(self):
     Params.__init__(self)
     self.number_of_pairs = len(self.currencyPairs)
     self.epochCounter = 0  #counts for tensorboard
     self.logs_path = 'tensorboard/' + strftime(
         "%Y_%m_%d_%H_%M_%S", gmtime())  #filename for tensorboard