def __init__(self): self.trader = BTCChina(API_ACCESS, API_SECRET) self.portfolio = [] self.profit = 0