ccxt: ccxt.base.errors.InvalidOrder: liquid {"errors":{"price":["must_be_positive"]}}

MUST READ THIS BEFORE SUBMITTING ISSUES (read the links, then delete this message before submitting):

Make sure your local version of CCXT is up to date. Check by comparing the output of ccxt.version to https://github.com/ccxt/ccxt/blob/master/package.json#L3

  • OS: Windows 10
  • Programming Language version: python 3.8
  • CCXT version: ccxt-1.33.61
   order = exchange_to_buy.create_limit_buy_order(
            'EWT/BTC',
            23.0,
            0.00108999)
  File "main.py", line 173, in buy
    order = exchange_to_buy.create_limit_buy_order(
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/base/exchange.py", line 1801, in create_limit_buy_order
    return self.create_order(symbol, 'limit', 'buy', *args)
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/liquid.py", line 652, in create_order
    response = self.privatePostOrders(self.extend(request, params))
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/base/exchange.py", line 465, in inner
    return entry(_self, **inner_kwargs)
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/base/exchange.py", line 490, in request
    return self.fetch2(path, api, method, params, headers, body)
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/base/exchange.py", line 486, in fetch2
    return self.fetch(request['url'], request['method'], request['headers'], request['body'])
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/base/exchange.py", line 597, in fetch
    self.handle_errors(http_status_code, http_status_text, url, method, headers, http_response, json_response, request_headers, request_body)
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/liquid.py", line 1059, in handle_errors
    self.throw_exactly_matched_exception(self.exceptions, message, feedback)
  File "/mnt/c/Projects/arbitrage/venv/lib/python3.8/site-packages/ccxt/base/exchange.py", line 504, in throw_exactly_matched_exception
    raise exact[string](message)
ccxt.base.errors.InvalidOrder: liquid {"errors":{"price":["must_be_positive"]}}

I would also add, from 1 or 2 week i got lot of exceptions on Liquid exchange. I don’t know what change because 1 month ago i didn’t get any trouble with Liquid.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Yes sorry for waste of time. thank for the support