Coder Social home page Coder Social logo

amor71 / liualgotrader Goto Github PK

View Code? Open in Web Editor NEW
674.0 38.0 118.0 105.06 MB

Framework for algorithmic trading

License: MIT License

Python 73.98% Jupyter Notebook 24.37% Shell 0.19% PLpgSQL 1.46%
algorithmic-trading algo-trading trading-platform trading-strategies trading-systems trade python trading trading-algorithms trader

liualgotrader's People

Contributors

amor71 avatar andywitt1 avatar codacy-badger avatar dependabot[bot] avatar enigma56 avatar ksilo avatar pyup-bot avatar riven314 avatar sigmantium avatar snyk-bot avatar thesnoozer 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

liualgotrader's Issues

off-hours calculations

1expand market-miner to allow customized off-hours calculations and data-collections, flexible data model.

Wont take keys

Hello I made an .env file with the following filled out with my keys but it keeps giving me this error after running liu quickstart

The Framework expects two environment variables to be set:
APCA_API_KEY_ID and APCA_API_SECRET_KEY reflecting the funded
account's API key and secret respectively.
Please set the two environment and re-run the wizard.

portfolio builder

Is your feature request related to a problem? Please describe.
miner for building off-market hours momentum portfolio

Describe the solution you'd like
miner for building off-market hours momentum portfolio based on Clenow's stocks on the move

anchor vwap: calculation & analytics

Is your feature request related to a problem? Please describe.
extend liu framework with anchor-vwap calculation & visualization

Describe the solution you'd like

  • extend vwap module in fincalcs to support anchored vwap
  • revisit visualization to support anchored vwap in a notebook

Additional context

  • explore better visualizations for stock charts in Jupiter Notebooks

ML support

Is your feature request related to a problem? Please describe.
some strategies seem to work well on certain stocks and certain setups, and less for others.

Describe the solution you'd like
extend market miner for off-market calculation of a NN that will predict the affinity of stock to a specific strategy

Describe alternatives you've considered
direct caluclatuon

notebook improvements

  1. move code to Python
  2. add full examples in the documentation
  3. simplify, remove redundant code
  4. code clean-up

hypothesis

Is your feature request related to a problem? Please describe.
Adding automated testing

Describe the solution you'd like
See if hypothesis may be a good solution for this framework

Describe alternatives you've considered
adding many, many unit-testing

extend tradeplan & scanners model

to allow scanners to feed picks for a specific strategy. This would allow running several scanners w/ several strategies, while each scanner "feeds" new picked stocks to specific strategies. A more complex model will be achieved for docker-orchestration at a later stage.

Project depends on TA-LIB

Describe the bug
When I see it correctly the project has removed the dependency to TA-LIB.
However it seems that the MAMA strategy is not yet replaced (here and here). It is also referenced as comment in my_strategy.

To Reproduce

  • Call market_miner:
  • See error:
Traceback (most recent call last):
  File "/.venv/bin/market_miner", line 16, in <module>
    from liualgotrader.miners.daily_ohlc import DailyOHLC
  File "/.venv/lib/python3.8/site-packages/liualgotrader/miners/daily_ohlc.py", line 6, in <module>
    from talib import MAMA
ModuleNotFoundError: No module named 'talib'

Expected behavior
Either depend on talib, or find a suitable replacement for the MAMA strategy.

Desktop (please complete the following information):

$ python --version
Python 3.8.0
$ pip freeze | grep liu
liualgotrader==0.0.82

Alphalens

Is your feature request related to a problem? Please describe.
Improve analysis capabilities

Describe the solution you'd like
https://github.com/quantopian/alphalens

Additional context
might be relevant for model automation re "towards ML" for Liu

improvements to build process

  1. fix issue w/ package versioning post-deploy
  2. fix badge issues on pypi page
  3. auto-build & deploy a new docker file when a new Liu is published

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.