Giter Site home page Giter Site logo

gaborvecsei / stocks-pattern-analyzer Goto Github PK

View Code? Open in Web Editor NEW
215.0 12.0 82.0 1.15 MB

This tool should help discover different patterns based on similarity measures in historical (financial) data

License: Other

Python 73.78% CSS 25.25% Dockerfile 0.56% Shell 0.41%
stocks-pattern-analyzer heroku restapi stocks finance stock-price-prediction stock-market stock-data forecasting similarity-search

stocks-pattern-analyzer's Introduction

stocks-pattern-analyzer's People

Contributors

gaborvecsei avatar gaborvecseidocler 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

stocks-pattern-analyzer's Issues

Running process stuck

When I run the command python3 rest_api.py in my command, it got such a message
WARNING clustering 8466 points to 256 centroids: please provide at least 9984 training points
Search tree with size 45 prepared
Search trees are refreshed

And then the process gets stuck. What should I do next or what is the issue with this?
Thanks

[Question] How do you refresh data_holder online

I'm now able to run this app and it works alright. One question is that when I download data everyday into local disk, how can I let rest_api to automatically refresh data?
Is there a plan to do so if not implemented yet?

BTW, why react? anything wrong with dash app?

Failed to run the rest_api.py

I created an virtual env. 'venv'(under Windows 10 OS) and installed all packages in the requirements.txt file. After the installation, I run the 'python rest_api.py' and got the following error:
///
(venv) PS G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer> python rest_api.py
Traceback (most recent call last):
File "G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer\venv\lib\site-packages\faiss\loader.py", line 34, in
from .swigfaiss import *
File "G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer\venv\lib\site-packages\faiss\swigfaiss.py", line 13, in
from . import _swigfaiss
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "rest_api.py", line 11, in
import stock_pattern_analyzer as spa
File "G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer\stock_pattern_analyzer_init_.py", line 2, in
from .search_index import MemoryEfficientIndex, cKDTreeIndex, FastIndex
File "G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer\stock_pattern_analyzer\search_index.py", line 5, in
import faiss
File "G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer\venv\lib\site-packages\faiss_init_.py", line 17, in
from .loader import *
File "G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer\venv\lib\site-packages\faiss\loader.py", line 39, in
from .swigfaiss import *
File "G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer\venv\lib\site-packages\faiss\swigfaiss.py", line 13, in
from . import _swigfaiss
ImportError: DLL load failed: The specified module could not be found.
(venv) PS G:\gitProjects\stocksearch\Stocks-Pattern-Analyzer>
///
Any idea? Thank you.

About this project for china stock market

Hello,guys
Thank you very much for this project, I have 2 questions:

  1. What is the purpose of the s&p list? If I were to target the Chinese stock market, should this section be replaced by a Chinese version of the list?
  2. Symblos can set my own list individually, do I still need the list mentioned above?

About patterns to match.

Hello guys
I still have a question to ask:
Is there a relationship with Patterns to match (MAX: 10) and this picture below? This value is predicted in the order of this picture? Or is it predicted? Is it possible to predict according to a patterns?

Trading-Patterns-Cheat-Sheet

New complementary tool

My name is Luis, I'm a big-data machine-learning developer, I'm a fan of your work, and I usually check your updates.

I was afraid that my savings would be eaten by inflation. I have created a powerful tool that based on past technical patterns (volatility, moving averages, statistics, trends, candlesticks, support and resistance, stock index indicators).
All the ones you know (RSI, MACD, STOCH, Bolinger Bands, SMA, DEMARK, Japanese candlesticks, ichimoku, fibonacci, williansR, balance of power, murrey math, etc) and more than 200 others.

The tool creates prediction models of correct trading points (buy signal and sell signal, every stock is good traded in time and direction).
For this I have used big data tools like pandas python, stock market libraries like: tablib, TAcharts ,pandas_ta... For data collection and calculation.
And powerful machine-learning libraries such as: Sklearn.RandomForest , Sklearn.GradientBoosting, XGBoost, Google TensorFlow and Google TensorFlow LSTM.

With the models trained with the selection of the best technical indicators, the tool is able to predict trading points (where to buy, where to sell) and send real-time alerts to Telegram or Mail. The points are calculated based on the learning of the correct trading points of the last 2 years (including the change to bear market after the rate hike).

I think it could be useful to you, to improve, I would like to share it with you, and if you are interested in improving and collaborating I am also willing, and if not file it in the box.

Add a virtual environment package like Poetry to support off-docker development

The current setup of the app can either run in docker or Heroku without much issues. But if i want to run the app outside docker using "python rest_api.py" and "python dash_app.py" I have to install all the pip requirements to my own virtual env. If we add poetry as a virtual environment it might things more easy and streamlined. Thoughts?

Can this be tweaked for Indian stock market?

I tried manually with a custom symbols list and made a few more changes for a different wiki link and table header name but didn't seem to work.
Wondering if it can be slightly tweaked to work with NSE/BSE in India?

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.