Git Product home page Git Product logo

tradingviewalertstrader's Introduction

TradingView Alerts Trader

Description

This is a simple ASP.Net Core application to use any alerts from TradingView to create market buy/sell orders in Binance.

Simple buy/sells

Below is a screenshot of a TradingView alert. The alert needs to point to where the site will be hosted (The source code will need to be published to a host e.g. Azure). The URL will be the host site '/Trading' e.g. https:///Trading Screenshot

To initiate the trade, the alert message will need to contain details of the trade. This will be in the format: Step,Symbol,BUY/SELL,Amount

e.g. 1,BTCUSDT,BUY,0.1

Amount

The Amount can either be:

  • An amount of the asset being bought/sold
  • Dollar amount e.g. $500 (This will be based on USDT)
  • Percentage amount e.g. 10%. This will be the percentage of the total asset balance when being sold. When buying, will be a percentage of the asset balance of the asset being sold to buy the new asset.

Step

A step can also be provided to ensure previous alerts are triggered before the current alert is processed to allow more complex alerts. If the step is '1' then the alert will always be processed. If it is e.g. '5', then '4' will have to be triggered first. If '5' is triggered, '6' will be triggered next. Any other number except '1' won't be triggered.

Step example

Below shows where a market has a false breakdown. The market wicks down - if a trade had it's stop loss around here it would have been triggered. Afterwards, the market rises back to it's previous range. Screenshot

What would be better would be to have a way of detecting a breakdown, a pullback to resistance (Which was previous support) then a further drop such as this: Screenshot

This can be done using steps such as this: Screenshot

In this example the alerts would be (In order from top to bottom): 1,BTCUSDT 2,BTCUSDT 3,BTCUSDT,SELL,100%

Note that the alert doesn't need to have a buy/sell event, it can just be a step and a market. When setting these alerts up consider carefully how they are setup, e.g. should they trigger just once, on prices moving up, down, etc. Alerts in TradingView can be triggered multiple times - this application can't distinguish between them so could cause the same event to happen multiple times.

Disclaimer

This project is a work in progress and experimental. If you use this, use it casefully. I can not be held responsible for any bugs or mistakes when using it or any losses that an occur.

tradingviewalertstrader's People

Contributors

hallupa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tradingviewalertstrader's Issues

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.