TradingViewCAT is a flask application designed as a way to take a tradingview alert and using the ccxt library and send an order to an exchange. Using this application you can create triggers for placing orders, stop loss, scaled orders and use TradingView alert system to even create complex strategies.
Now the one thing this will not do is take a TradingView strategy and utilize it as an alert because they do not have alerts built in. If you have access to the underlying strategies script sometimes you can take the signal used such EMA crossovers and set an alertcondition on the crossover but this is beyond the scope of this README.
You will either need to have firewall settings that allow the webhook to be sent the host or use ngrok. If you have a VPS this can also run on AWS free tier just make sure to have your firewall configured to allow it to receive the TV webhooks. Otherwise please download ngrok. You can also run this on your PC but again, you will have to configure your router/firewall to allow access this application.
pip install pipenv
pipenv install
Ngrok Signup: https://dashboard.ngrok.com/signup Ngrok is free and does not require an account to but you will be disconnected every 8 hours so please register. You can also spin up a Ubuntu VPS on AWS free tier and run this on that host and send to that http://that.host/webhook, just make sure the firewall is configured correctly.
Trade on the following exchanges, these have all been tested with ccxt to work:
The following exchange will soon work but currently only works with a patched version of bybit-exchange/ccxt:[https://github.com/bybit-exchange/ccxt] otherwise it will work with the next commit of ccxt (12-26-19)
Join Top Hat Crypto on Telegram!
Donations: BTC: bc1ql2mch3syhltfegn9n4uszufvaetlrr5j8hnl36