class PriceChecker():
def __init__(self):
  self.levelsList = []
  self.currentPrice  = 0.0
 self.BitmexClient = bitmex.bitmex(test=False)
@property
 def levelsList(self):
 return self.__levelsList
@levelsList.setter
def levelsList(self, newValue):
self.__levelsList = newValue
@property
def currentPrice(self):
 ...       Â
@currentPrice.setter
 def currentPrice(self, newValue):
 ...
class PriceChecker():
  def __init__(self):
    self.levelsList = []
    self.currentPrice = 0.0
    self.BitmexClient = bitmex.bitmex(test=False)
  @property
  def levelsList(self):
    return self.__levelsList
  @levelsList.setter
  def levelsList(self, newValue):
    self.__levelsList = newValue
  @property
  #Answering the question by completing a part of the class marked by Ellipsis
  def currentPrice(self):
    return self.__currentPrice
  #Answering the question by completing a part of the class marked by Ellipsis
  @currentPrice.setter
  def currentPrice(self, newValue):
    self.__currentPrice = newValue
Comments
Leave a comment