#๐Ÿ”’ Python mexc bot

15 messages ยท Page 1 of 1 (latest)

fathom oarBOT
#

@warped void

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

warped void
#

hey i created this code with python and basically what im trying to get out of this is it's a mexc trading bot that trades new tokens that launch on mexc the code basically runs through all mexc coins every 60 seconds and refreshes the list until it finds a newly added one which is the goal i want but im having difficulty because when i run the code it won't refresh it just outputs all these coins and it doesn't do anything after 60 seconds ive been running for an hour now it hasn't ran through anything

https://paste.pythondiscord.com/DG3Q

#

It's a long code not sure how to post it ๐Ÿ˜ฆ

tacit vessel
#

!paste

fathom oarBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

warped void
bold depot
#

Nothing immediately jumps out to me as a problem (without being able to run it).

What do you mean by "it won't refresh"?

warped void
bold depot
#

Are there definitely new tokens regularly returned by that api end point?

warped void
bold depot
#

Okay. I don't think I can spot the problem here.

My next step would be to do some print debugging or watch this with a debugger to examine the value of tickers/symbols/new_symbols etc.

Sorry.

warped void
bold depot
#

You can leave this thread open and hope for the best.

fathom oarBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.