Code Monkey home page Code Monkey logo

titan's Introduction

Titan

STATUS UPDATE

Development of the Titan Project by its founders is being put on hold because Denton has started a role at a company providing a trading platform solution similar to Titan (Omega One). Therefore due to legal reasons its probably not advisable to continue...

HOWEVER

There is plenty of interest in this project and I encourage anyone interested in crypto trading to take a look at the codebase and see what our implementation was. For someone new to Python and TA this would be an interesting project to take a look at. The codebase is not so big and complex that it can't be tackled by a determined beginner. If someone wanted to fork the project and advance its development and then take ownership that would be OK as long as the license is respected and the code is made available to the public.

Alt Text

Titan is a totally free cryptocurrency automated trading framework for traders of all skill levels. Built on top of the ccxt API library, it works out of the box with any exchange and trading pair. We believe in decentralizing trading strategies and providing everyone access to building advanced crypto portfolios. The future of algorithmic trading is here!

The base framework comes with a set of methods that allow you to program trading logic and write data to your own database with ease. A sample strategy based on moving average crossovers is provided out of the box to experiment as well as a full simulation suite where one can trade fake BTC against real market prices. The original objective of the project was to write a cryptocurrency trading bot in a framework that allows for the implementation of various machine learning algorithms to determine trade behavior.

FAQ

Spare me the mumbo-jumbo! What's this all about?

IT PRINTS MONEY

But wait, why would you ever release this for free??? hurr-durr profits

Ah yes, I see you've taken a basic microeconomics course before. Truth is, this is mainly a project to encourage people to write their own strategies and have a way to test them out. We want to lower the bar to algorithmic cryptocurrency trading to those who are interested but don't know where to start.

This sounds cool, I want to get involved!

Great, there's tons of cool stuff you can work on. Beginners welcome. Check out our discord here!

What's with the name Titan anyway?

Sounds cool as heck, think about it. "Yeah made 5 BTC using that Titan trading system" - it has a certain ring to it. Plus it makes us feel important, ok?

Getting Started

Alt Text

Is this your face right now? Don't worry!

First thing is make sure you have a recent version of Python on your computer, as well as Git (I recommend GitHub Desktop if you're a new user). You can download Python from the website here and go for the 3.6+ version for your OS. From there, make a new virtual environment as follows:

python -m venv /path/to/new/virtual/titanenv
(Mac) $ source titanenv/bin/activate 
(Windows) C:\> titanenv\Scripts\activate.bat 

Once you're squared away with a squeaky clean new virtual environment you should proceed to install all the dependencies required for the program to run. You should have (titanenv) on the side of your console window now.

mkdir Titan
cd Titan
git clone https://github.com/Denton24646/Titan.git
python pip install -r requirements.txt 

Now you're all set to go - what to do next? Well, Titan is currently a Flask application that runs in your web browser. So the UI that you will interact with will be inside your Chrome or Firefox browser running on your local machine. Make sure you're in the main Titan directory and run the following:

python titan_app.py

You should get an indication that the app is running on port 5555 on your local machine. If you see that message, open up your browser and navigate to http://127.0.0.1:5555 to start using the app!

Getting Started With Docker

./build.sh
./run.sh

This should start up the app the same as above, only in a container.

Using Titan

At first it's recommended to trade only simulation currency and familiarize yourself with the behavior of the program. A detailed wiki explains the core components underlying Titan.

Live Trading

You better know what you're getting yourself into!

titan's People

Contributors

cpmcgee avatar exdx avatar justinhop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

titan's Issues

ImportError: cannot import name 'pub'

D:\Anaconda3\python.exe D:/mypython/mys/titan/titan_app.py
Traceback (most recent call last):
File "D:/mypython/mys/titan/titan_app.py", line 5, in
from core import titan_main
File "D:\mypython\mys\titan\core\titan_main.py", line 2, in
from strategies import poc_strategy
File "D:\mypython\mys\titan\strategies\poc_strategy.py", line 2, in
from strategies.base_strategy import BaseStrategy
File "D:\mypython\mys\titan\strategies\base_strategy.py", line 1, in
from core.markets import market_watcher
File "D:\mypython\mys\titan\core\markets\market_watcher.py", line 5, in
from core.markets import ticker
File "D:\mypython\mys\titan\core\markets\ticker.py", line 2, in
from pubsub import pub
ImportError: cannot import name 'pub'

Cannot build docker image

Problem
psycopg2 fails to install

Repro steps

  1. Clone repo
  2. ./build.sh

Output:

Collecting psycopg2 (from -r requirements.txt (line 37))
  Downloading psycopg2-2.7.4.tar.gz (425kB)
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    
    Error: pg_config executable not found.
    
    pg_config is required to build psycopg2 from source.  Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:
    
        python setup.py build_ext --pg-config /path/to/pg_config build ...
    
    or with the pg_config option in 'setup.cfg'.
    
    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.
    
    For further information please check the 'doc/src/install.rst' file (also at
    <http://initd.org/psycopg/docs/install.html>).
    
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-17qop12v/psycopg2/
The command '/bin/sh -c source /titan/bin/activate && pip install -r requirements.txt && pip install Flask-SQLAlchemy' returned a non-zero code: 1

Additonal notes

docker-compose up craps out in the same spot

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.