Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

lemon-markets/content-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 lemon.markets Telegram Bot

Note: This is not an official lemon.markets bot. Please only use this as a starting point or reference for your own projects.

🚀 What can it do?

This Telegram bot is provided by lemon.markets to showcase one of the many use-cases of the API. This bot can be used to place trades on your own lemon.markets account and gain an overview of your portfolio. The available commands are: /start, /trade, /quicktrade, /portfolio and /moon.

If you'd like a step-by-step tutorial on this project, check out our YouTube video here and our blog-post here.

🛠️ Getting Set-Up

This repository requires the creation of an .env file with the following variables to communicate with the lemon.markets API and the Telegram API:

ENV Variable Explanation
DATA_API_KEY Your market data API key
TRADING_API_KEY Your paper/money trading API key
MIC Market Identifier Code of Trading Venue
BOT_TOKEN Your Telegram bot token

🍋 lemon.markets

There are two lemon.markets API URLs, one for trading and the other for market data. Please refer to the documentation to learn more and find the appropriate URLs.

📞 Telegram

To connect to the Telegram API, you must obtain an access token by setting up a new bot via @BotFather. Read this guide to find out how.

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin new-feature)
  5. Create a new Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2021 Joanne Snel

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published