Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Selling gives me ‘Insufficient balance’ error
Post: RE: Selling gives me ‘Insufficient balance’ error

(Aug-03-2022, 06:40 PM)woooee Wrote: Too little code to help. Check the get_asset_balance function What happens to precision when f['filterType'] does not equal 'LOT_SIZE': How do you expect to ...
gerald General Coding Help 3 1,586 Aug-04-2022, 07:29 AM
    Thread: Selling gives me ‘Insufficient balance’ error
Post: Selling gives me ‘Insufficient balance’ error

Hi everyone, When I try to sell it gives me error: APIError(code=-2010): Account has insufficient balance for requested action. Even though I should have enough balance left to pay for the fees. What...
gerald General Coding Help 3 1,586 Aug-03-2022, 04:45 AM
    Thread: client.get_all_tickers() Doesn't work
Post: RE: client.get_all_tickers() Doesn't work

(Jun-16-2022, 07:50 AM)Muskorvsky Wrote: Hi, I need help to a code that runs if something else something, tks. If you don't have an answer please don't reply with nonsense responses.
gerald General Coding Help 2 1,740 Jun-16-2022, 07:59 AM
    Thread: client.get_all_tickers() Doesn't work
Post: client.get_all_tickers() Doesn't work

Hi everyone, This line used to work without any problems: client.get_all_tickers() But now all of a sudden it gives a Timeout exception. Now I read that the ticker info for all symbol is also on he...
gerald General Coding Help 2 1,740 Jun-16-2022, 07:44 AM
    Thread: Can't write to .txt after opening websocket
Post: RE: Can't write to .txt after opening websocket

file1=open("Slist.txt","a") gives me: TypeError: 'str' object is not callable
gerald General Coding Help 5 1,609 May-03-2022, 09:04 AM
    Thread: Can't write to .txt after opening websocket
Post: RE: Can't write to .txt after opening websocket

(May-03-2022, 04:04 AM)bowlofred Wrote: The only thing it says is "type error"? No traceback? What's the point of the except section in your code? Except is to catch the error: This is my console ...
gerald General Coding Help 5 1,609 May-03-2022, 04:57 AM
    Thread: Can't write to .txt after opening websocket
Post: Can't write to .txt after opening websocket

Hi everyone, When I write to a txt file with this code i get no errors. However after I open a websocket I get a 'type error' The code I use is: def EdtSlist(self): try: file1 = open...
gerald General Coding Help 5 1,609 May-03-2022, 03:40 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020