mehtadone / CryptoGramBot

A simple telegram bot that sends your balance updates from coinigy, send trade notifications from Poloniex and Bittrex and creates you a trade export for your own spreadsheet magicary.
MIT License
105 stars 41 forks source link

THIS PROJECT IS NO LONGER MAINTAINED - CryptoGramBot

A telegram bot that sends your balance updates from coinigy, send trade notifications from Poloniex and Bittrex and creates you a trade export for your own spreadsheet magicary.

Donations Welcome

Installation

  1. Get your Bot ID, you need to chat to the BotFather. See here and here

  2. Open a new chat to your bot and talk to him. Say hi. He won't respond just yet.

  3. If you would like to add commands, do this now. See Bot Commands below. Note they will only show on a new chat with the bot or by clearing history and clicking "/start"

  4. Open a chat to this bot. This should show you your chat id.

  5. Download the lastest version of the zip from here and unzip to a folder. Download CryptoGramBot.zip and not the source files if you want to run without building.

  6. Fill in your config in appsettings.json. Bot ID is WITHOUT Bot and choose whether you want enable each service (true or false). NOTE: Create a new API key at your exchange, do not use an existing API key.

  7. Give CryptoGramBot the correct execute permissions via chmod if on linux

  8. Start on command line with "dotnet CryptoGramBot.dll"

Bot Commands

To add bot commands so they pop up when you type /, you need to let the BotFather know of the commands. You will need to make sure the commands correspond with what you have enabled on the appsettings.json file as clicking "/total_coinigy" when you do not have coinigy enabled will not do anything.

  1. Open a chat to the BotFather again
  2. Type /mybots
  3. Click the bot you created for CryptoGramBag
  4. Click "Edit Bot"
  5. Click "Edit Commands"
  6. Paste a selection from the following below you want commands for:
trade_export - an excel export of all trades
profit - profit information for pair

list_coinigy_accounts - list coinigy account names
total_coinigy - total balance from all acounts

upload_bittrex_trades - upload bittrex order export
trex_balance - bittrex account summary

polo_balance - poloniex account summary
polo_reset_trades - reset trades database from poloniex
  1. Clear history on your telegram bot to pick up the commands

Upgrade

Usage

Tips

This app needs to be run all the time to have the bot running. I might look at creating a windows service for this for windows users. For linux, there are a couple of options.

Done

Todo

Support

Screenshots

Screenshot 1 Screenshot 1