Code Monkey home page Code Monkey logo

napoleon's Introduction

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

napoleon's People

Contributors

shic1983 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.