market.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:crypto-arbitrager 作者: artooze 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号