Skip to content

This Twitter bot aggregates information on the daily holdings of various ETFs

License

Notifications You must be signed in to change notification settings

nando-nando-nando/ETFBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETFBot

This Twitter bot aggregates information on the daily holdings of various ETFs

AdvisorShares ETFs logo

$MSOS $YOLO


 

Amplify ETFs logo

$CNBS


Global X ETFs logo

$POTX


Usage: main.py [-t --ticker ] [-i --nointeract] [-p --prod] [-v --verbose])
--ticker, -t: ETF ticker symbol. If not present will run for all tickers
--nointeract, -i: Non-interactive run (tweets without prompt)
--prod, -p: Run using production Twitter credentials
--verbose, -v: Debug output





You need to have a settings.py file under /modules that looks like this:

# Test Credentials
api_key=''
api_secret=''
access_token=''
access_secret=''

# Prod Credentials
api_key_prod=''
api_secret_prod=''
access_token_prod=''
access_secret_prod=''

# Copy this verbatim if you don't know how to use it
common_date_format = "%m-%d-%y"
logFormat = '%(asctime)s | %(module)s | %(name)s | %(levelname)s: %(message)s'
streamFormat = '%(asctime)s | %(module)s | %(levelname)s: %(message)s'
logDateFormat = '%m/%d/%Y %I:%M:%S %p'
streamDateFormat = '%I:%M:%S %p'
logDebugFile = 'logs/DEBUG.log'
logInfoFile = 'logs/INFO.log'

About

This Twitter bot aggregates information on the daily holdings of various ETFs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages