Giter VIP home page Giter VIP logo

swingtrade's Introduction

SwingTrade

About

A Crypto trading tool to calculate optimal buy/sell positions and records day-to-day profits.

Getting Started

This program utilizes Python3 and some common libraries/frameworks.

Packages/frameworks needed to run on local machine:

- numpy
- pandas

Installing

If you already have the packages mentioned above, you can skip this section.

I use a Mac so the following resources for installation will be Mac specific but the same idea can be applied for Windows.

1. Install PIP

To get Python libraries, first install pip or pip3 for Python3. For new users with Macs, this article does a good job of explaining how this is done, as well as other useful tools.

Type following into terminal:

$ curl -O http://python-distribute.org/distribute_setup.py
$ python distribute_setup.py
$ curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
$ python get-pip.py

2. Install Libraries

To install Python libraries, pip (or pip3 for Python3) will be used.

Type the following into terminal:

pip install numpy

You can substitute the name of the specific library with each one mentioned earlier until completed.

Set Up

CSV Files Needed:

price.csv #Enter the current price values
profits.csv #Current profits

Deployment

Run the refactored file:

Type the following into your terminal.

python3 swingtrade_rfctr.py

Follow terminal commands and you are set.

Future Implementations

Some future implementations for this project in the works:

1. API Integration to get data from exchanges
2. Auto-Trading
3. More sophisticated trading algorithms

Acknowledgments

I must tip my hat off to owners of any code, frameworks, media used that I do not own.

swingtrade's People

Contributors

justjoshtings avatar

Stargazers

 avatar  avatar

Watchers

 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.