GithubHelp home page GithubHelp logo

hackingthemarkets / candlestick-screener Goto Github PK

View Code? Open in Web Editor NEW
485.0 485.0 283.0 1.9 MB

web-based technical screener for candlestick patterns using Python and Flask

Python 79.38% HTML 20.62%

candlestick-screener's People

Contributors

bavovna avatar hackingthemarkets 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

candlestick-screener's Issues

Unable to install

Hey, nice project. Any clue about that is doing on?

Installing collected packages: MarkupSafe, Jinja2, click, itsdangerous, Werkzeug, flask, numpy, TA-Lib, pytz, six, python-dateutil, pandas, idna, urllib3, chardet, certifi, requests, multitasking, yfinance
Running setup.py install for TA-Lib ... error
ERROR: Command errored out with exit status 1:
command: '/mnt/d/DropBox/Python Projects/candlestick-screener/.venv/bin/python3' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-320a7ast/ta-lib/setup.py'"'"'; file='"'"'/tmp/pip-install-320a7ast/ta-lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-zg71j98o/install-record.txt --single-version-externally-managed --compile --install-headers '/mnt/d/DropBox/Python Projects/candlestick-screener/.venv/include/site/python3.8/TA-Lib'
cwd: /tmp/pip-install-320a7ast/ta-lib/
Complete output (27 lines):
/tmp/pip-install-320a7ast/ta-lib/setup.py:79: UserWarning: Cannot find ta-lib library, installation may fail.
warnings.warn('Cannot find ta-lib library, installation may fail.')
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/talib
copying talib/test_func.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_pandas.py -> build/lib.linux-x86_64-3.8/talib
copying talib/stream.py -> build/lib.linux-x86_64-3.8/talib
copying talib/abstract.py -> build/lib.linux-x86_64-3.8/talib
copying talib/deprecated.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_abstract.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_stream.py -> build/lib.linux-x86_64-3.8/talib
copying talib/test_data.py -> build/lib.linux-x86_64-3.8/talib
copying talib/init.py -> build/lib.linux-x86_64-3.8/talib
running build_ext
building 'talib._ta_lib' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/talib
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/mnt/d/DropBox/Python Projects/candlestick-screener/.venv/lib/python3.8/site-packages/numpy/core/include -I/usr/include -I/usr/local/include -I/opt/include -I/opt/local/include -I/mnt/d/DropBox/Python Projects/candlestick-screener/.venv/include -I/usr/include/python3.8 -c talib/_ta_lib.c -o build/temp.linux-x86_64-3.8/talib/_ta_lib.o
talib/_ta_lib.c:601:10: fatal error: ta-lib/ta_defs.h: No such file or directory
601 | #include "ta-lib/ta_defs.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: '/mnt/d/DropBox/Python Projects/candlestick-screener/.venv/bin/python3' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-320a7ast/ta-lib/setup.py'"'"'; file='"'"'/tmp/pip-install-320a7ast/ta-lib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-zg71j98o/install-record.txt --single-version-externally-managed --compile --install-headers '/mnt/d/DropBox/Python Projects/candlestick-screener/.venv/include/site/python3.8/TA-Lib' Check the logs for full command output.

pandas and TA-lib

How did you get pattern_detect.py to work?

TypeError: Argument 'open' has incorrect type (expected numpy.ndarray, got Series)

I think you have to use

num = ta.CDLMORNINGSTAR(data.Open.values,data.High.values,data.Low.values,data.Close.values)

ImportError: cannot import name 'candlestick_patterns' from 'patterns'

ImportError Traceback (most recent call last)
in ()
4 import pandas
5 from flask import Flask, escape, request, render_template
----> 6 from patterns import candlestick_patterns
7 import datetime
8

ImportError: cannot import name 'candlestick_patterns' from 'patterns' (/usr/local/lib/python3.7/dist-packages/patterns/init.py)

Error with GET requests

hi,
i am getting the following error all the sudden. It started 11-09-2021.
Can you please advise? I've checked everything I can online and stackoverflow and tried changing the port to 8000 but still not working.

pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 29, saw 13
127.0.0.1 - - [10/Nov/2021 15:01:40] "GET /?pattern=CDLBREAKAWAY HTTP/1.1" 500 -

Chart link from finviz

Hi thank you for your work!
The chart link from finviz is no longer working.
Can you please suggest where we can find another link or the way to vizualize the chart.
Thank you.

refresh datasets

Would be nice to be able to refresh the datasets either for a specified symbol, either for the whole list.

email report

Hello,
Is there any way you can add a script so you we can have the report autoemailed to email of our choice at end of every trading day?
Thanks!

having one question

First of all, thanks for your great work, really appreciate it !
just one question, how do we detect bull flag though?
not sure if I missed from your tutorial, if did, apologize first... could you please help ?

Thanks

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.