yahoo stock download url https://finance.yahoo.com/quote/0388.HK/history?period1=1421539200&period2=1579305600&interval=1d&filter=history&frequency=1d hk morningsar market indice performance https://www.morningstar.co.uk/uk/tools/indexoverview.aspx aastocks - sector view http://www.aastocks.com/tc/stocks/market/industry/industry-performance.aspx?&s=4&o=0 hollow candlie chart - red : price go down - green : price go up - close < open : solid - close > open : hollow If Close is greater than previous close, the bar is outlined in green. If Close is less than previous close, the bar is outlined in red. When close is above the open price, the candle is hollow. When close is below the open price, the candle is filled. ---------------------------------------------------------------------------------------------------------------------------------------------------------- flask-vuejs-tutorial Problem python3 -m venv venv Error: Command '['/some/directories/bin/python3.4', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1 Solution https://askubuntu.com/questions/488529/pyvenv-3-4-error-returned-non-zero-exit-status-1 cd ~/dev/www/stock/flask-vuejs-tutorial source venv/bin/activate deactivate python3 -m venv venv --without-pip source venv/bin/activate curl https://bootstrap.pypa.io/get-pip.py | python deactivate source venv/bin/activate cd ~/dev/www/stock/flask-vuejs-tutorial source venv/bin/activate export FLASK_APP=wsgi:app flask run --host=0.0.0.0 cd ~/dev/flask-app source venv/bin/activate export FLASK_APP=wsgi:app flask run --host=0.0.0.0 http://192.168.0.142:5000/example http://192.168.0.142:5000/views/sample cd ~/dev/flask-app source venv/bin/activate ---------------------------------------------------------------------------------------------------------------------------------------------------------- /etc/init.d/apache2 restart ----------------------------------------------------------------------------------------------------------------------------------------------------------