Git Product home page Git Product logo

ftx-bot-public's People

Contributors

akkarawat-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ftx-bot-public's Issues

Error

Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\ccxt\base\exchange.py", line 585, in fetch
response.raise_for_status()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\requests\models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: BAD REQUEST for url: https://ft
x.com/api/orders

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "mean_revised.py", line 217, in
checkBuycondition()
File "mean_revised.py", line 171, in checkBuycondition
sendBuy()
File "mean_revised.py", line 125, in sendBuy
exchange.create_order(pair, types , side, size_order, price)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\ccxt\ftx.py", line 1004, in create_order
response = getattr(self, method)(self.extend(request, params))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\ccxt\base\exchange.py", line 465, in inner
return entry(_self, **inner_kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\ccxt\base\exchange.py", line 490, in request
return self.fetch2(path, api, method, params, headers, body)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\ccxt\base\exchange.py", line 486, in fetch2
return self.fetch(request['url'], request['method'], request['headers'], req
uest['body'])
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-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 "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\ccxt\ftx.py", line 1506, in handle_errors
self.throw_exactly_matched_exception(self.exceptions['exact'], error, feedba
ck)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\sit
e-packages\ccxt\base\exchange.py", line 504, in throw_exactly_matched_exception
raise exactstring
ccxt.base.errors.InvalidOrder: ftx {"error":"Size too small","success":false}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.