Giter VIP home page Giter VIP logo

karanpratapsingh / hypertrade Goto Github PK

View Code? Open in Web Editor NEW
247.0 247.0 56.0 11.96 MB

Ready to deploy, distributed cryptocurrency trading bot

License: GNU General Public License v3.0

Dockerfile 1.44% Makefile 0.31% Go 49.05% Python 4.61% TypeScript 41.64% CSS 0.59% Shell 1.17% HCL 0.97% HTML 0.23%
cryptocurrency digitalocean distributed-systems docker go kubernetes python react terraform typescript

hypertrade's People

Contributors

karanpratapsingh 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

hypertrade's Issues

Backtesting

Description

This would be a helpful feature to test our strategies.

Implementation Plan

  • Create a new dashboard page that accepts Symbol and Duration (start/end date)
  • Create an event Event::BackTest
  • Get the symbol's historical data for the time period and send it to strategy svc for processing
  • Add a new method to the strategy
    • Configure asyncio to add multiple subscriptions (Strategy service)
  • Calculate buy/sell and process profits
  • Also calculate returns with a simple hold and wait for strategy

Switch base assets on demand

Description

Currently, base assets are configured via config.json but they should also be configurable via the dashboard.

Note: Currently only USDT works

Implementation Plan

  • A simple dropdown can be used for base assets like USDT, BNB etc.?
  • Check if the base asset is available in balance first

Run Locally in Minikube with Tilt

I really mess with this project. Its dope. I want to build on top of it, but I have trouble on a M1 Mac as Python is weird there.

I've been using Tilt to have Python locally and live-reload (very much overkill but I think this project is fit)

I think this would and could be a good use case for Tilt here.

Minimize Digital Ocean costs

Description

Right now Digital Ocean can cost up to $30 / month due to the strange pricing model for containers registry.

Implementation Plan

Inline NATS service config to prevent storing containers? Thus making 1 less container to push, reducing cost by $15 (Again, strage pricing model!)

Optimize python builds

Can we improve Python build sizes? I'm not much familiar with the python ecosystem yet.

Screenshot 2022-03-17 at 7 10 15 PM

Improve testing

Description

Who writes tests for personal projects am I right?
But seriously, we need to write some more tests! Especially integration tests, which can be challenging in event-driven systems.

Codegenerate events

Description

Currently, events and data types have to be across services. They should be code generated from some sort of IDL

Implementation Plan

OpenAPI is a good fit here? But the use case is more close to how protocol buffers generate code (minus the protobuf stuff)

Configurable order type

Description

Currently, every trade is executed as a market order. This can result in big losses due to the volatility of the crypto market ๐Ÿ˜ญ. So we need to support stop-loss orders to minimize risk and loss.

Implementation Plan

Sync and determine order state from Binance?

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.