Skip to main content

Kryptoflow

[![Join the chat at https://gitter.im/kryptoflow-repo/Lobby](https://badges.gitter.im/kryptoflow-repo/Lobby.svg)](https://gitter.im/kryptoflow-repo/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Build Status](https://travis-ci.org/carlomazzaferro/kryptoflow.svg?branch=master)](https://travis-ci.org/carlomazzaferro/kryptoflow) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/16f53461ce4740899363141d52483e7f)](https://www.codacy.com/project/carlomazzaferro/kryptoflow-serving/dashboard?utm_source=github.com&utm_medium=referral&utm_content=kryptoflow/kryptoflow-serving&utm_campaign=Badge_Grade_Dashboard) [![Downloads](http://pepy.tech/badge/kryptoflow)](http://pepy.tech/project/kryptoflow)

Algorithmic crypto trading framework with Kafka and TensorFlow ([Keras](https://keras.io/) + [TensorFlow Serving](https://www.tensorflow.org/serving/))

Documentation live at: https://carlomazzaferro.github.io/kryptoflow/index.html

STATUS: pre-alpha. Very active development. Feel free to rip the code apart, repurpose it, improve on it, or do whatever else it may please. Documentation is also not fully up to date. This will change soon.

Description

The idea behind this project is to take care of the infrastructural work that goes behind building a machine learning-driven trading systems. In particular, the aim is giving users a working set up for:

  1. Gathering as granular data as possible

  2. Test a variety of strategies intuitively and with low friction

  3. Deploying models easily and keeping them up to date

  4. Trading continuously and reliably

All this done through a rich API and a browser-based GUI. Want to test your newly developed deep learning model tplace to start.

Another use case: want to build something like Quantopian but using cutting-edge machine learning? Then you may need to build it yourself. Here you’ll find most of the tooling needed.

`` Installation and Requirements =============================

Some basic requirements:

  1. python3.6

  2. Docker

More at: https://carlomazzaferro.github.io/kryptoflow/installation.html

`bash $ pip install kryptoflow `

Creating a New Project

`bash $ kryptoflow init --name make-money --path /home/user/projects `

This will create all the configuration necessary to get going, alongside docker files and other stuff. Cd into the repo and check out its contents.

Spinning Up Resources

From the project directory, run:

`bash docker-compose up `

Training and Deploying a Model

`bash $ kryptoflow train --epocs 10 --model model.py `

Then

`bash $ kryptoflow serve --model-number 1 `

License

[GNU General Public License v3.0](https://choosealicense.com/licenses/gpl-3.0/)

Release files for kryptoflow 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kryptoflow 0.5.1
File Size Uploaded
kryptoflow-0.5.1.tar.gz 38.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kryptoflow 0.5.1
File Interpreter ABI Platform
kryptoflow-0.5.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size:108.3 kB

Release files / kryptoflow-0.5.1.tar.gz

Download URL kryptoflow-0.5.1.tar.gz
Size 38.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c4d4d1dff8ec64c7d3be069fb814d4a30db7b722b501fee4cf7b7fbf7648cc4d
BLAKE2b-256 checksum
How to use checksums
0fe525ab352837f29fb15d17529a32c7bdc8ef4a0c14d6abb90f20cc0c307bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.6.3

Release files / kryptoflow-0.5.1-py2.py3-none-any.whl

Download URL kryptoflow-0.5.1-py2.py3-none-any.whl
Size 69.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
655a2434640791667a92f7e29cdd799ab5ffdfdaf3c7c2c9e5fff25fb5f189ac
BLAKE2b-256 checksum
How to use checksums
e7b56bbbf7d2fc4a35358d398fb85d2631f20d0aaf0697cb1a32a8df745a7d7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.5.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page