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

[Possible Feature] Multiplying Volume to the Pumps and Dumps #29

Open
patbaumgartner opened this issue Aug 5, 2021 · 4 comments
Open
Labels
discussion Open to discussions enhancement New feature or request

Comments

@patbaumgartner
Copy link
Contributor

Usually when bigger moves on the charts are starting, there is already quite a lot of volume. Maybe it's a good idea to add volume to the game. Maybe using it as a multiplier ....

Hope we can discuss this topic here.

@brianleect brianleect added discussion Open to discussions enhancement New feature or request labels Aug 5, 2021
@brianleect
Copy link
Owner

brianleect commented Aug 5, 2021

Previously mentioned threads regarding volume implementation, #24 #10 #12

Volume is definitely a good indicator of big moves in crypto. However, there are some limitations regarding the current way the program is structured.

Assuming we transit to the 24h ticker endpoint as an option we will face some issues,

  1. Weight Limits [Bug] [Test Vol] 100054 Error #12 [FEATURE] Add USDT Volume to the alert (Optional) #10
  2. 24h rolling volume does not show clear representation of volume [FEATURE] Add USDT Volume to the alert (Optional) #10

I'm currently unaware of any other REST endpoints that may provide the volume information required.

Another endpoint which provides volume would be https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data but it only allows one symbol to be checked at once. To check on the current scale, we would most definitely overshoot the rate limit.

Potential Solution

  1. Usage of websockets instead of REST API
    1a. With websocket which send trades real-time, we theoretically would be able to get any changes in volume.

Reference: https://github.com/binance/binance-spot-api-docs/blob/master/web-socket-streams.md#aggregate-trade-streams

However, I'm not familiar with the usage of binance websocket. To my knowledge, there would be a need to have the websocket setup to connect to all pairs on Binance and process the information simultaneously to have a similar effect to what we have with a REST API implementation.

@patbaumgartner
Copy link
Contributor Author

patbaumgartner commented Aug 5, 2021

I see your point and totally agree with the limitations. Thanks for your detailed explanation.

When sticking the rest API (which currently uses no API Keys), there may be needs a two-step approach. But even when you filter most of the pairs, you still have plenty of calls to retrieve the volume.

Needs more thinking, I guess.

@patbaumgartner
Copy link
Contributor Author

Closed accidentially. Keep it open.

@patbaumgartner patbaumgartner reopened this Aug 5, 2021
@brianleect
Copy link
Owner

I see your point and totally agree with the limitations. Thanks for your detailed explanation.

When sticking the rest API (which currently uses no API Keys), there may be needs a two-step approach. But even when you filter most of the pairs, you still have plenty of calls to retrieve the volume.

Needs more thinking, I guess.

Yep at 1200 requests / minute you have quite a decent amount of room to play with. Assuming we look at purely USDT pairs, we have around 260 of them. Assuming each "volume call" has a weight of 1, you can call each pair around 4-5 times per minute. So it would theoretically work with '15s' interval.

However, if you were looking to monitor all pairs on the exchange it would be close to >2k pairs which would limit it even further.

We would unlikely be able to maintain the extraction frequency of '1s' unless the number of pairs being monitored is heavily cut down.

@brianleect brianleect changed the title [Feature Request] Multiplying Volume to the Pumps and Dumps [Possible Feature] Multiplying Volume to the Pumps and Dumps Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Open to discussions enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants