Crypto_analysis
Discription:
simple streamlit(screener) app to make MMA and OSC analysis for cyrpto-currenices, and gives resaults for which coins are best to buy or sell depending on the interval you using.
https://pypi.org/project/tradingview-ta/
More about tradingview :Stage 0: get a list of lastest active coins in the market (coinmarketcap)
Stage 1: (tradingView analysis)MA analysis that they have been > 0 the last 1 hour , 24 hours and 7 days and output:
- strong_buy
- buy
- sell
- strong_sell
Stage 2: OSC analysis on the "strong_buy list" that we got from the analysis in earlier stage and generate:
- recommanded_list
Stage 1 and 2 can be done in different time intervals:
- 1 minute
- 5 minutes
- 15 minutes
- 1 hour
- 4 hours
- 1 day
- 1 week
- 1 month
Stage 3: save the generated Coin_list
Setup:
1.install requierments:
pip install -r requirements.txt
- Coinmarketcap API-key
Docs: https://coinmarketcap.com/api/documentation/v1/
paste your key in main.py -> :
def get_marketCap(self):
url = 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest'
parameters = {
'start':'1',
'limit':'100', # how many coins to analysis : first 100
'convert':'USDT' #change the bridge to see other values like BUSD
}
headers = {
'Accepts': 'application/json',
'X-CMC_PRO_API_KEY': 'add your key in here',
}
- run the program
streamlit run main.py
======= Stage 1,2 can be done in different time intervals: 1 minute 5 minutes 15 minutes 1 hour 4 hours 1 day 1 week 1 month Stage 3: save the generated Coin_list
setup:
1- install requierments:
pip install -r requirements.txt
2- coinmarketcap API-key
docs: https://coinmarketcap.com/api/documentation/v1/
paste your key in main.py -> :
def get_marketCap(self):
url = 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest'
parameters = {
'start':'1',
'limit':'100', # how many coins to analysis : first 100
'convert':'USDT' #change the bridge to see other values like BUSD
}
headers = {
'Accepts': 'application/json',
'X-CMC_PRO_API_KEY': 'add your key in here',
}
3- run the program
streamlit run main.py