ADD more indictaors, BB,RSI and Z-score

This commit is contained in:
2026-02-07 10:13:41 +08:00
parent 4e69acb3b5
commit e3f089dd1d
6 changed files with 134 additions and 40 deletions
+5
View File
@@ -12,6 +12,11 @@ app = Flask(__name__)
cache = Cache(app, config={'CACHE_TYPE': 'SimpleCache'})
# The CSV is in the root directory (same level as app.py)
CSV_PATH = os.path.join(os.path.dirname(__file__), 'instruments.csv')
# This tells Flask it is behind a proxy and to trust the HTTPS headers from Synology
@app.before_request
def before_request():
if request.headers.get('X-Forwarded-Proto') == 'https':
request.environ['wsgi.url_scheme'] = 'https'
@app.route('/settings')
def settings():