Giter Club home page Giter Club logo

cypto-tradingview-webhook's Introduction

Cypto-TradingView-Webhook

A Cypto Trading Frame With TradingView's webhook alerts

Warning

This is an UNOFFICIAL trading Frame for TradingView's webhook alerts written in Python 3.7

The library can be used to to place trades with Tradingview's webhook alerts

USE THIS FRAME AT YOUR OWN RISK, I WILL NOT CORRESPOND TO ANY LOSES

Features

  • Get Sigal from Trading and place order on FTX exchange (Only for market order)

Donate

If useful, buy me a coffee?

  • ETH: 0xA9D89A5CAf6480496ACC8F4096fE254F24329ef0

Installation

$ git clone https://github.com/LeeChunHao2000/Cypto-TradingView-Webhook.git
  • This trading frame depends on several package, so you need to install them first!

    $ pip install -r requirements.txt

Requirement

  1. Register an account with FTX exchange (referral link)
  2. Generate API key and secret, assign relevant permissions to it
  3. Set up your own signal with webhook on TradingView
  4. Clone this repository, and put in the key and secret
  5. Enjoy your own tradingView Trading Bot

Quickstart

This is an introduction on how to set up your own Trading Bot.

First, we need to start the server that will listen for tradingview's webhooks.

If you have no sever, heroku could helps you set up your own sever.

Second, configure your api key in config.py:

API_KEY     = 'PUY_MY_API_KEY_HERE'
API_SECRET  = 'PUY_MY_API_SECRET_HERE'

Last, set up your the webhook format on TradingView, it will look like json, here is an example:

{"pair": "BTC-PERP", "side": "buy", "size": "0.01"}

Please make sure everthing is RIGHT, or you may lose your money!

Other than that, it should be good to go! If you have any questions just ask or create an issue on github!

Version Logs

2020-12-25

  • Birth!

cypto-tradingview-webhook's People

Contributors

leechunhao2000 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.