gaborvecsei / stocks-pattern-analyzer Goto Github PK
View Code? Open in Web Editor NEWThis tool should help discover different patterns based on similarity measures in historical (financial) data
License: Other
This tool should help discover different patterns based on similarity measures in historical (financial) data
License: Other
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.
Hello,guys
Thank you very much for this project, I have 2 questions:
Since the bash script has the command "python /code/rest_api.py &" which I assume is primarily for running in the container, on local the command errors out since nothing has been copied over to /code.
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?
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.
After standing up the container using "$ docker run --rm --name stock -v $(pwd):/code -p 8050:8050 stock start.sh" and then pressing "ctrl + c" to exit out of the environment, the app still runs in the background. Is this the intended behavior?
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
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?
when run python rest_api.py, i get error notice:
ERROR with : does not have enough data
how can i solve this problem?
Hi guys
Is it possible that the line chart presented in this project shows the number of increases or decreases?
Thank you
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.