def _sell(self, amount, price):
"""Create a sell limit order"""
params = {"amount": amount, "price": price}
response = self._send_request(self.sell_url, params)
if "error" in response:
raise TradeException(response["error"])
评论列表
文章目录