omegatrading / omegaui Goto Github PK
View Code? Open in Web Editor NEWBacktrader Front End
License: GNU General Public License v3.0
Backtrader Front End
License: GNU General Public License v3.0
Trying to run this on mac os with python 3.6.5, can you point me to what i am not doing right?
as per the readme, i first run:
PYTHONPATH=./OmegaUI/ python socket_logging.py flask run
Output is
- Restarting with stat
- Debugger is active!
- Debugger PIN: 976-742-544
(48529) wsgi starting up on http://0.0.0.0:5000
Then i run
PYTHONPATH=./OmegaUI/ python omega_ui/app.py
Output is
/usr/local/lib/python3.6/site-packages/empyrical/utils.py:32: UserWarning:
Unable to import pandas_datareader. Suppressing import error and continuing. All data reading functionality will raise errors; but has been deprecated and will be removed in a later version.
- Serving Flask app "app" (lazy loading)
- Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.- Debug mode: on
- Running on http://0.0.0.0:8050/ (Press CTRL+C to quit)
- Restarting with stat
/usr/local/lib/python3.6/site-packages/empyrical/utils.py:32: UserWarning:Unable to import pandas_datareader. Suppressing import error and continuing. All data reading functionality will raise errors; but has been deprecated and will be removed in a later version.
- Debugger is active!
- Debugger PIN: 366-796-704
Then when i navigate to http://localhost:8050/
i see:
redis.exceptions.ConnectionError: Error 61 connecting to 127.0.0.1:6379. Connection refused.
And the page layout is all garbled, i can't input or select anything anywhere. See screenshot
I have tried modifying socket_logging.py and forcing it to start on port 6379 (changing the last line to socketio.run(s_app, host='0.0.0.0', debug=True, port=6379) ) but then i get the following error:
redis.exceptions.ConnectionError: Error while reading from socket: ('Connection closed by server.',)
And on the redis side:
(48768) wsgi starting up on http://0.0.0.0:6379
(48768) accepted ('127.0.0.1', 58583)
127.0.0.1 - - [29/Jul/2018 16:38:48] code 400, message Bad request syntax ('*2')
127.0.0.1 - - [29/Jul/2018 16:38:48] "*2" 400 -
(48768) accepted ('127.0.0.1', 58584)
127.0.0.1 - - [29/Jul/2018 16:38:48] code 400, message Bad request syntax ('*2')
127.0.0.1 - - [29/Jul/2018 16:38:48] "*2" 400 -
tx
There seem to be a problem when trying to backtest with a short dataset (less than a year).
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.