/bitcoinBuyer8-pythonFlask

Python Flask bitcoin calculator; SQLAlchemy-sqlite; request oauth registration; Jinja2-UI;

Primary LanguageJupyter Notebook

Armchair Bitcoinist

Python Flask Application

Thomas Maestas

''' flask create_tables sqlite3 enva_bitcoinBuyer/db.sqlite3

.tables # coinInquire user '''

Directive #1 BITCOIN LEVERAGE

>8.4k... BULLISH

<7.7k... BEARISH

***Price tells us: What is happening;

***Volume tells us: How it is happening;

*** Wide-range igniting bar= low green;smaller low red; high green

*** Narrow-range resting bar= low green;smaller low red;'

smallerer low green; high green; Continuation bar=tall,long red; tall,short green; lower red**Bollinger Band

  • 1-week moving average: most important to keep as average. 8300 needed by sun 9/29--closed at*

  • 100-Day - set to NULL

  • 50-Day - NULL

  • 200-daily-moving-average -always well below since April- crossed below on 9/26.*

  • Weekly EMA Ribbon - very powerful: 9/30:: 7.7! is low; 8.6 is high. *

  • VPVR - do notice; not in formula; still holding Volume-per-Volume range: bottom support is 7.7k, next support is @5k.

Only Indicator!! Discard others for BTC, not EETH

Stochastic RSI Relative Strength Indicator (momentum in bull market): had a cross on the way down: if goes down below 70, big trouble

  • Fibonacci Retracement Levels: tells what level at. ... Once we break a level (broke .38) likely will jump to next level. Right now, just below .5. If end of Sept, below 8.3k, then likely 7.3k. [14k, could not break a fib level. On way down, 10k is next level. If we break 21-wk moving average, then Next level is 6.3k ...(yet strong support between 7.3->6.3.]

  • Oscillators Awesome Oscillators **Com Channel Index

Next bar is the narrow, resting upper 50%; equal high as 1st; (put stop loss a few pennies under 2nd bar low; 3rd-bar breaks high of 1st and 2nd bar
#A : 4-bar (same, yet has two narrow, resting bars) whichever of 2 resting's low is a stop loss. 
Fx Tools URLS
LIB Flask (WerkZeug Toolkit) Flask
UI JINJA2 template engine Jinja2
DATAVIZ Matplotlib (low-level) Matplotlib
DATAVIZ Seaborn (high-level) Seaborn
DATA NumPy NumPy
DATA Pandas Pandas
DATA-AUTH requests oath library requests:oathlib
DATA-UTIL requests requests
DATA-SCRAPERS beautiful soup bs4
CLI-SDK boto3 (AWS) AWS SDK
Instructions:
$ set FLASK_APP=enva_bitcoinBuyer
$ flask run
DB:
>> from _init_ import db
>> db.create_all()
Libraries:
  • beautifulsoup4 4.8.0
  • boto3 1.9.233
  • botocore 1.12.233
  • bs4 0.0.1
  • certifi 2019.3.9
  • chardet 3.0.4
  • Click 7.0
  • cycler 0.10.0
  • Cython 0.29.13
  • docutils 0.15.2
  • Flask 1.0.3
  • Flask-SQLAlchemy 2.4.1
  • idna 2.8
  • itsdangerous 1.1.0
  • Jinja2 2.10.1
  • jmespath 0.9.4
  • kiwisolver 1.1.0
  • MarkupSafe 1.1.1
  • matplotlib 3.1.1
  • mysqlclient 1.3.12
  • numpy 1.17.0
  • oauthlib 3.0.1
  • pandas 0.25.0
  • pip 19.1.1
  • pyparsing 2.4.2
  • python-dateutil 2.8.0
  • pytz 2019.2
  • requests 2.22.0
  • requests-oauthlib 1.2.0
  • s3transfer 0.2.1
  • scipy 1.3.0
  • seaborn 0.9.0
  • setuptools 41.0.1
  • six 1.12.0
  • soupsieve 1.9.3
  • SQLAlchemy 1.3.8
  • sqlparse 0.3.0
  • sqlparse 0.3.0
  • twython 3.7.0
  • urllib3 1.25.3
  • Werkzeug 0.15.4
  • wheel 0.33.4
  • zope.interface 4.6.0 '''

Todos

  • Too much to count!!

License

MIT

** Software, :-)**