Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Coin Choice #6

Open
GlacialBlaze opened this issue Apr 21, 2021 · 2 comments
Open

Automatic Coin Choice #6

GlacialBlaze opened this issue Apr 21, 2021 · 2 comments

Comments

@GlacialBlaze
Copy link

The current implementation requires the user to change SOCKET if TRADE_SYMBOL changes:

image

Is it possible to make the coin parameter in the link of SOCKET automatically adjust to the coin desired by the user in TRADE_SYMBOL?

@ghost
Copy link

ghost commented May 13, 2021

replace ethusdt with this: " + TRADE_SYMBOL + "

@vinhvudev
Copy link

changed to

TRADE_SYMBOL = 'ethusdt' TRADE_QUANTITY = 0.05 SOCKET = "wss://stream.binance.com:9443/ws/" + TRADE_SYMBOL + "@kline_1m"

however the app just run and shutdown, anyway to keep ws live? I havn't ever seen the 'opened connection' in the console when I run bot.py
@hackingthemarkets @LLemon199 @GlacialBlaze

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants