Skip to content

A Telegram bot for interacting with bitcoin/crypto exchanges

Notifications You must be signed in to change notification settings

mikeyQuantR/Napoleon

 
 

Repository files navigation

Napoleon Bitcoin/Crypto telegram

bot by @whalepoolbtc - https://whalepool.io

This bot allows you to view your balance, place orders etc on various bitcoin/crypto exchanges from telegram.

Currently supported exchanges:

Install

git clone https://github.com/Whalepool/Napoleon.git napoleon  
pip install -r requirements.txt

Setup config

cp config.sample.yaml config.yaml

Run

python3.6 napoleon.py

For more info join @whalepoolbtc on telegram

Profile pic

General commands

Command Action
User
/id get your telegram userid
/debug output telegram bot variables to console

1Broker commands

Command Action
/onebroker_gettxlog last 10 transactions
/onebroker_getbalances summary of balances
/onebroker_getpositions summary of positions
Orders
/onebroker_openorders list open orders
/onebroker_createposition open a long/short [args]
/onebroker_cancelorder cancel an order
Position
/onebroker_openpositions list open positions
/onebroker_editposition edit a position [args]
/onebroker_closeposition close a position [args]
/onebroker_cancelcloseposition cancel a position trying to close [args]
/onebroker_positionhistory historic positions sorted by closing date
Market
/onebroker_marketcategories list market categories
/onebroker_marketlist list markets for category [args]
/onebroker_marketdetails details of the market [args]

Bitmex commands

Command Action
/bitmex_fullorder make full order [args]
/bitmex_order make order [args]
/bitmex_getbalance get bitmex account balance
/bitmex_listorders get bitmex open order list
/bitmex_positionlist get bitmex open position list
/bitmex_cancelorders cancel all open bitmex orders for a symbol
/bitmex_cancelorder cancel one open bitmex order, give orderID
/bitmex_tradehistory get bitmex last 5 executions

About

A Telegram bot for interacting with bitcoin/crypto exchanges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.7%
  • Shell 1.3%