Skip to content

Commit

Permalink
feat: add status endpoint for tradingview
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisleekr committed Nov 4, 2024
1 parent a9e50e8 commit a195bdb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tradingview/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def index():
logger.info("Response: "+str(response))
return jsonify(response)

@app.route('/status', methods=['GET'])
def status():
return jsonify({'status': 'ok'})

if __name__ == "__main__":
from waitress import serve
Expand Down

0 comments on commit a195bdb

Please sign in to comment.