Skip to content

Pg19g/wbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhook to Whitebit Flask App

This Flask application listens for TradingView webhooks on /webhook. When a JSON payload is received it forwards the order to the Whitebit API using credentials from the environment (WHITEBIT_API_KEY and WHITEBIT_API_SECRET).

All requests and responses are logged to logs.txt with a UTC timestamp.

To run locally:

pip install -r requirements.txt
export WHITEBIT_API_KEY=your_key
export WHITEBIT_API_SECRET=your_secret
python app.py

Deploy the same code on PythonAnywhere using a WSGI configuration pointing to app:app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages