GithubHelp home page GithubHelp logo

webclinic017 / bybit-auto-trading-bot-ordes-placed-via-tradingview-webhook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mtemi/bybit-trading-bot-integrated-with-tradingview-webhook-alerts

1.0 0.0 0.0 34 KB

Python PHP based Bybit.com Trading Bot using TradingView.com alerts via webhooks as a trigger to buy/sell/close/manage positions

Python 100.00%

bybit-auto-trading-bot-ordes-placed-via-tradingview-webhook's Introduction

Bybit-Auto-Trading-Bot-Ordes-placed-via-TradingView-Webhook

Python PHP based Bybit.com Trading Bot using TradingView.com alerts via webhooks as a trigger to buy/sell/close/manage positions

User is able to set TradingView alerts and decide what will happen when each one fires.

Options available are as follows

For opening a trade :

Provided

side - Buy, Sell qty - Which will be the number of contracts - Ideally the user could set a percentage. eg. 10 would mean it would calculate how many contracts 10% of the users balance can get at the current leverage. symbol - BTCUSD, ETHUSD, XRPUSD, EOSUSD

Others that can be added/ Some like SL/TS are available:

take profit stop loss / trailing stop

Before opening a trade it checks to see if the trader is already in a position.

If trader is already in a trade of the same direction it will add to the position automatically.

If trader is in a trade of the opposite direction it automatically closes that position before opening the new one.

For closing a position the bot provides an option to either exit a certain amount of contracts to take partial profits or the close whole position.

In terms of giving these commands/variables that decide what action to take,the botgoes into two routes.

  1. Trading Variables are added inside the webhook as a message that is sent from TradingView. JSON message.

  2. As a trader, you addd the variables to the end of the URL that points to our script and use that as the URL for the webhook to be sent to.

bybit-auto-trading-bot-ordes-placed-via-tradingview-webhook's People

Contributors

mtemi avatar

Stargazers

 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.