Giter VIP home page Giter VIP logo

Comments (4)

petekblaz avatar petekblaz commented on May 29, 2024

It seems like only new smart trade isnt working. Anyone has any clue as to why?

from py3cw.

bogdanteodoru avatar bogdanteodoru commented on May 29, 2024

@petekblaz no idea why. Could you please check if you have enough balance? Another person who has the exact same error didn't have any positive balance.

from py3cw.

daniel100000 avatar daniel100000 commented on May 29, 2024

I had the same issue. It actually apperas if the request was invalid, but we want to see the real error message from 3commas:
{"error":"record_invalid","error_description":"Invalid parameters","error_attributes":{"total":["must be greater than or equal to 10.0"]}}
which I can see by inserting print(response.text) in request.py. (An invalid transaction can easily be provoked for testing with a "dust trade" with a value <10$. I did it with a small add_funds in a Smart Trade.)

Now your library always returns
{'error': True, 'msg': "Other error occurred: 'str' object has no attribute 'get'"}
at the end, and I think this should be fixed.

By the way, thank you for work, it helped me a lot!!

from py3cw.

bogdanteodoru avatar bogdanteodoru commented on May 29, 2024

Better error handling will be fixed with #13

from py3cw.

Related Issues (20)

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.