Giter Club home page Giter Club logo

auctus's Introduction

Auctus

Software for structured accumulation.

Requirements

  • extensible, few assumptions, minimize boilerplate
  • Assets
    • stocks
    • crypto
    • options
    • FOREX
  • easily convert backtesting strategies to live trading
  • scheduling logic (market open/close, specific time). like quantopian's zipline
    • part of framework (asyncio?) or left to algo implementer?
    • schedule strategy functions and schedule strategies
    • strategies control when they are run, ex. always on OR daily, etc.
  • collect, organize, and present holdings from multiple portfolios. you might trade stocks with alpaca, and options with IB. This data is more useful if collated.
  • design s.t. strategies CAN (not have to) be api-agnostic
  • should be tolerant to computer shutting down mid-run
    • leave this to implementer, or include something on the framework side?

Components

  • Data API
data_api = Datasource.get_api('polygon')

OR

from data import polygon_api as data_api
  • Brokerage API
  • Backtesting framework
  • Live trading framework
  • Analysis
    • return, risk-adjusted return
    • by-strategy analysis
  • Output
    • email
    • text
    • csv
  • Strategy (implemented by user)
    • def run(): runs algo
    • def get_state(): returns state info. all strategies should have the same state info. potentially allow for custom state. What should be in state?
strat = Strategy()
strat.run()
...
analyzer = Analyzer()
analysis = analyzer.analyze(strategy.get_state())
  • utils: common calculations

Development Guide

  • How to contribute
  • Required tests

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.