whittlem / pycryptobot

Python Crypto Bot (PyCryptoBot)
Apache License 2.0
1.97k stars 741 forks source link

New screener #604

Closed notoriousBLP closed 2 years ago

notoriousBLP commented 2 years ago

Description

New drop in replacement screener. Leverages TradingView public (though undocumented) screener api instead of performing native TA. This allows us to retrieve relevant indicators/recommendations for all pairs in a few seconds. Also, volatility is now based off of bollinger bands as I feel it is a better indicator of volatility. Rudimentary scoring system is implemented where certain indicators can be weighted more than others, and min. score is needed. Currently that is coded to be 10/10 according to the indicators present. This, and the indicators, can be easily configured w/minor changes to the code when/if it is deemed necessary by the community. Thresholds for given indicators and granularity are configurable via scanner.json.

Also throwing in a config permutation generator to assist others with their sim testing.

Fixes Telegram scanner crashing when the _output.json file is missing or empty. Future-proofing market pair regex as these symbols just keep growing!

Type of change

Please make your selection.

How Has This Been Tested?

Extensively tested by the myself and the community...even doing well in this bear market, considering.

Checklist: