Git Product home page Git Product logo

Comments (4)

ryankennedyio avatar ryankennedyio commented on September 18, 2024

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.

mhallsmoore avatar mhallsmoore commented on September 18, 2024

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.

ryankennedyio avatar ryankennedyio commented on September 18, 2024

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.

mhallsmoore avatar mhallsmoore commented on September 18, 2024

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)

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.