Skip to content

Broker to communicate to crypto exchanges via Telegram

Notifications You must be signed in to change notification settings

evzpav/crypto-broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Broker

It receives commands from Telegram and integrates to crypto exchanges create/cancel an order or to retrieve some information. To get ticker from crypto exchanges, for example, a "/ticker" command will make a request to the exchange selected and retrieve the data and send it to Telegram.

Pre-requisites:

Get Started

# Clone repository

# Create config.yaml based on the example
make config
# Create a bot on Telegram via @botfather and take note of the token
# Fill the Telegram bot token and exchanges api key and secret

# Run project locally (must have Go installed)
make run

# Or run it on Docker
make run-docker 

Available commands (to be used on the Telegram bot):

  # Set the exchange to be used for all the commands (default is bitfinex.com), which show be the same name as specified on config.yaml
  /exchange <exchangeName>

  # Ticker: pair param should be in the format ETH/USD (default is BTC/USD)
  /ticker <cryptopair>

  # Account info (needs api key and secret on config.yaml)
  /balance

Available exchanges

This is easily expandable due to use of lib goex which supports multiple exchanges

  • bitfinex.com
  • binance.com

About

Broker to communicate to crypto exchanges via Telegram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published