Git Product home page Git Product logo

tradebot's Introduction

TradeBot

Place trade orders based on calls given in Telegram channel on Paytm Money.

This code uses telethon lib for telegram API access and
pyPMClient by paytm money as broker platform.


This code is written for calls given in this format-
BANKNIFTY 44000 CE CMP 100 add till 90 SL 68 Target 140-160-200
Change the parsing logic as per your requirement.


Go to developer.paytmmoney.com to generate your Paytm Money API key and API secret.
Login to this URL to get your request-token
https://login.paytmmoney.com/merchant-login?apiKey={api_key}&state={state_key}
Replace {api_key} with your API key and {state_key} with tradeBot.


Follow this link to generate TELEGRAM_API_ID and TELEGRAM_API_HASH.


Once you have all the above, replace the constants in config-repo.py and rename it to config.py and run the code using

python3 controller.py

You need to download and unzip the pyPMClient repo to this same directory.
Else, resolve the import errors you might face.


If you face any difficulties, report an issue.

tradebot's People

Contributors

akummur avatar

Watchers

 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.