https://github.com/pawiromitchel/simplefx-api-telegram
Telegram message into SimpleFX trade orders
https://github.com/pawiromitchel/simplefx-api-telegram
api bot simplefx telegram trading
Last synced: about 1 year ago
JSON representation
Telegram message into SimpleFX trade orders
- Host: GitHub
- URL: https://github.com/pawiromitchel/simplefx-api-telegram
- Owner: pawiromitchel
- Created: 2021-05-03T10:46:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T08:55:14.000Z (almost 4 years ago)
- Last Synced: 2023-03-04T01:28:57.475Z (over 3 years ago)
- Topics: api, bot, simplefx, telegram, trading
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Telegram messages into SimpleFX orders
I decided to make this repo public for whoever want to use m code as a referance, I haven't used this in a while so I might be outdated.
# Usage
1. create a telegram bot by connecting with the [BotFather](https://telegram.me/BotFather), start the bot, click /newbot, give your bot a name and you have yourself a bot. KEEP THE API TOKEN SAFE!
2. Make an account on [SimpleFX](https://simplefx.com/n/_23326), go to the [API Client](https://app.simplefx.com/api-client) and create a API key
3. Edit the config.js file and add the required values
4. Start the bot with `node telegram-bot.js`
5. Interact with your bot by chatting with it
## A sample order would be
```
BUY AUDJPY
sl 12.001
tp 15.500
```