def sell_maker(self, amount, price):
"""Orders are always priced in CNY"""
local_currency_price = self.fc.convert(price, "CNY", self.currency)
local_currency_price = int(local_currency_price)
logging.verbose("Sell maker %f BTC at %d %s (%d CNY) @%s" % (amount,
local_currency_price, self.currency, price, self.name))
return self._sell_maker(amount, local_currency_price)
评论列表
文章目录