btc-bot
is a GoogleScripts system for auto-updating google sheets with BTC historical data. The system produces charts that look something like this:
The charts are auto-updated on a monthly basis and the results are shared via email. If you would like to be added to the distribution list please send me a note at tjk213@gmail.com.
btc-bot
can be built with the following:
% pip install -r requirements.txt # Install python dependencies
% make # Build btc-bot
The build system's primary function is to inline all CSS into embedded HTML style tags in preparation for emailing. For more information on why this is necessary, see HTML Compilation Notes.
Once built, btc-bot
is ready for deployment to the GoogleScripts system, which is managed through Clasp.
Contributions are welcome. If you would like to contribute or make a request please feel free to open an issue, PR, or contact me via email.
If you have issues with clasp connecting to google, it may be a known issue. A few quick things to try:
- Enable Google Apps Script API (follow instructions here)
- Downgrade to clasp v2.3.1 (see this issue)
- Run:
npm install -g @google/clasp@2.3.1
- Run: