#๐ Python mexc bot
15 messages ยท Page 1 of 1 (latest)
@warped void
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.
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
It's a long code not sure how to post it ๐ฆ
!paste
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.
thank you !!
Nothing immediately jumps out to me as a problem (without being able to run it).
What do you mean by "it won't refresh"?
Basically when i run the code it doesn't refresh the new tokens in the list once i run it it just gives me like these tokens but doesn't actually find or search the new tokens in the system
Are there definitely new tokens regularly returned by that api end point?
Yes I'm prettty sure the mexc api endpoint returns information about all trading pairs currently available on the exchange
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.
It's ok I appreciate you're support do you know anyone that is a bit experienced in this field???
You can leave this thread open and hope for the best.
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.