Click here to Skip to main content
15,944,835 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have bot when i start in my local computer is work fine but when i try in ubuntu server i have this error :

AttributeError: 'binanceusdm' object has no attribute 'fapiPrivate_post_leverage'

so i need to solve this error in my code

What I have tried:

first i thought is error in ccxt library but i upgrade everything in the server and the error still in the code .
Updated 18-Jun-23 4:20am

The message is clear, the object binanceusdm does not have an attribute with the name fapiPrivate_post_leverage. So you need to go back to where the object is created and check its properties, or those of the class used to create it. And since we cannot see your code we cannot guess for you.
Share this answer
It seems to be a library problem: fapiPrivate_post_leverage - Google Search[^] - you will probably have to talk to the API creators on GitHub
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900