Coder Social home page Coder Social logo

tradebot_framework's Introduction

tradebot_framework

A framework for bitcoin trading bots

AS OF RIGHT NOW ONLY BFX AND BITMEX FUNCTIONALITY IS IMPLEMENTED

USE AT YOUR OWN RISK

Requirements:

  • Python 2
  • ccxt
  • twilio
  • requests
  • numpy
  • tulipy

Sample Trade Bot

THIS BOT IMPLEMENTS A SIMPLE M15 KVO / SIGNAL STRATEGY THAT WILL PROBABLY LOSE MONEY! USE AT YOUR OWN RISK

To use the sample trade bot, copy config.py.example to config.py and put in your BitMEX credentials. If you use testnet credentials make sure to set the bitmex test setting to "True".

You should set stoplosses in the config file as a percentage and the bot will bracket your trade with a stop market / limit order stoplooss / take profit bracket, which will be updated based on entry price automatically.

Finally, you can add Twilio credentials to have the bot text you when it trades.

I recommend running the bot in screen like ./tradebot.py. It will output info to the console, and will log extensive debug information in full.log, and log trades in trades.log.

tradebot_framework's People

Contributors

notsurebtc avatar kamkardootsian 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.