Coder Social home page Coder Social logo

anniversary_release_ig_bot's Introduction

It’s been a year since I embarked on this journey, I remember sat here the same time last year just starting this. It’s been a while ride for me the last year both personally and professionally. I have learned a hell of a lot. I have met some great people who have aided in the development of this. Kudos to them. You know who you are. Some great work went into this. I’ve had to deal with threats from the community, Idiots, general backlash. But your getting the base of a free automated trading system so stop complaining.

For the anniversary edition, Not much will change. The only thing is left to do is “tweaks” to get the best out of it. But the default settings work great. I always had a vision, This code is NOT a “get rich quick” scheme however It has been ultimately profitable for me and others.

  • Use of Masked arrays and masked functions such as mstats.theilslopes to take account of any corrupt data returned from the API, Not that this happens just a nice to have.

  • IQR vs MAD function, You decide which is best. Please test and report your findings.

  • Pull epic's directly from IG rather than relying on external files, This allows for greater trade opportunities across ALL major and minor markets. You pick the markets you want to trade. More trading opportunities.

  • Completely self contained, Not reliant on external files, cron jobs or any external programs other than python libraries used.

  • Default looks back 28 weeks, This prevents "Whipsaw trading"

  • Much cleaner code base

You will need …

  • An active IG account, Demo/Live supported.

  • Something to run this on, RPi will work fine but a lot of people run this on a lowend VPS, Think Linode. It will also run on a Windows machine but the idea is that you leave it on 24/5.

  • Keen Interest in Python/Stock trading.

Whilst this code is fully automated and will run on anything from a Raspberry Pi to a Supercomputer, I have not managed to get it running on a washing machine yet.

Please feel free to put your own ideas in, fork it, share it. If you sell it I wills sue your arse.

There is a discord.

I have created a twitter account which tweets all my trades.

Usage:

This will run giving it a highest CPU priority and generate a log file stored in the logs folder. You can then view this with tail -f. nohup keeps it running when you have exited your terminal session.

nice -n -20 nohup python3 -u trading_bot.py > logs/stocks_live.log &
nice -n -20 nohup python3 -u trading_bot.py > logs/stocks_demo.log &

anniversary_release_ig_bot's People

Contributors

tg12 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.