Comments (4)
Also tried doing it with Python 3.4 with the same results;
ln -s ~/development/qstrader/ ~/development/qstrader/venv/lib/python3.4/site-packages/qstrader/
Sorry if I'm missing something stupid; still pretty fresh to Python
from qstrader.
Hi Ryan,
This is certainly a tricky issue!
I just want to check a few things:
- Have you definitely activated the correct virtual environment? i.e. you've typed the equivalent of "source ~/development/qstrader/venv/bin/activate", either in Python 3.4 or 2.7?
- The ~/development/qstrader/ directory on your machine is definitely the directory with backtest/backtest.py underneath it? I.e. ~/development/qstrader/backtest/backtest.py exists?
- I don't think it will be an issue, but I tend to put my virtual environments outside of my app environments (i.e. I have ~/venv/qstrader AND ~/development/qstrader separately).
If you've done all those things, then I'll keep investigating. However, it should be the same as for qsforex.
Also, it would be great to have contributions! As you mentioned, feature discussions -> feature branches -> pull requests is a good workflow too.
Cheers,
Mike.
from qstrader.
Well, how about that.
Wiped it, started again and followed the instructions from qsforex line for line, seems to be working now! Main difference I believe was having virtual environments outside of the repo... I can't see how that would be it though.
Might mess around further with setting the project up in a dedicated VM (vagrant, etc) if future dependancies grow beyond simple pip requirements.
Anyway one final thing; settings.py.example
doesn't appear to be in the repo at this stage.
Thanks again for the detailed reply too. Always a pain and normally the hardest part for some reason...
from qstrader.
Ahh yes...I still need to put in the example file! I think there's still an issue for that?
At this stage I don't see there being too many additional dependencies beyond libraries installed via pip (although things can change, of course!). There might be some issues around using libraries to talk to Interactive Brokers, but we'll see.
I plan on making qstrader itself available via pip, which should certainly make things a lot easier, although it's early days yet.
One idea I did have, was to create a "simulated data generator" script, so that for those who don't have any available financial data upon first download, they can get started immediately, albeit only with simulated trading.
from qstrader.
Related Issues (20)
- BUG: AttributeError: 'SMASignal' object has no attribute 'update' HOT 1
- Use with crypto
- QSTrader Documentation links are broken or moved
- no module named qstrader
- Dangling function
- Use of Assets!
- Documentation correction
- Pandas 1.3.x?
- How should a pair/pool trading strategy be implemented? HOT 2
- strategy_backtest.run() error, your assistance please HOT 1
- Please provide SPY CSV file please !! HOT 1
- Documentation HOT 1
- SimulatedBroker Issue HOT 1
- Lack of timestamp data from yahoo finance results in testing of qstrader with sixty_forty.py impossible
- Massive fail of the modules from qstrader HOT 2
- No module named 'qstrader.price_parser' ,for help HOT 2
- Scaled down order in simulated broker mentioned but not implemented?
- Compatibility with python 3.11 -error when plotting HOT 1
- timestamp date format in 60-40 portfolio HOT 3
- Click version requirement HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qstrader.