Questions tagged [qstk]

QSToolKit (QSTK) is a Python-based open source software framework designed to support portfolio construction and management.

17 questions
24
votes
5 answers

How can I install a .egg Python package on Windows (attempt using easy_install not working)

I am trying to install a package named QSTK for a course that I am doing. The course points to an installation package for the 32 bit version, but I have 64 Python installed. I have found a .egg file listed on the Python packages index. It seems to…
ChrisProsser
  • 12,598
  • 6
  • 35
  • 44
5
votes
3 answers

AttributeError: 'module' object has no attribute 'TimeSeries' after python Validation.py

Just starting Computational Investing by Tucker Balch. I'm using virtualbox and installed Ubuntu. After installing QSTK, I ran python Validation.py (Step 7). I keep getting an: AttributeError: 'module' object has no attribute…
forrest pump
  • 51
  • 1
  • 3
4
votes
2 answers

QSTK's eventprofiler function doesn't plot properly

Using QSTK for Georgia Tech's Coursera Computational Investing course, the eventprofiler function at the end of Examples/EventProfiler/tutorial.py doesn't output the graph shown in the videos. (See image below.) The other PDFs produced for the…
arturomp
  • 28,790
  • 10
  • 43
  • 72
4
votes
2 answers

Import module into python not found

I am trying to import the module import QSTK.qstkutil.qsdateutil as du But I get the Error ImportError: No module named QSTK.qstkutil.qsdateutil My current working directory is 'c:\\Python27\\Lib\\site-packages\\QSTK' and in the path…
2
votes
2 answers

No module named QSTK in Python

I am trying to import the module import QSTK import QSTK.qstkutil.qsdateutil as du import QSTK.qstkutil.tsutil as tsu import QSTK.qstkutil.DataAccess as da But I get the Error ImportError: No module named QSTK When I type import sys sys.path I…
user4352158
  • 731
  • 4
  • 13
  • 24
2
votes
1 answer

Having an issue changing index from integer to date in pandas

I'm having an issue changing a pandas DataFrame index to a datetime from an integer. I want to do it so that I can call reindex and fill in the dates between those listed in the table. Note that I have to use pandas 0.7.3 at the moment because I'm…
MichaelJCox
  • 756
  • 7
  • 17
1
vote
0 answers

QSTK can not be imported or not installed

I have a problem after QSTK installation. running the Validation.py script, i keep getting QSTK can not be imported or not installed. Current Directory : /Users/Kornet-Mac-1/QSTK/Examples Files in the current…
Dike Jude
  • 199
  • 3
  • 9
1
vote
0 answers

Quant Software Toolkit

I am having some problems understanding the QSTK module. For example: timestamps = du.getNYSEdays(dt_start, dt_end, dt_timeofday) This gets me the timestamps for New York's stock exchange. But what if I wanted Hong Kong stock exchange or Tokyo…
user2792941
  • 331
  • 1
  • 3
  • 9
1
vote
1 answer

QSTK EventProfiler runtime error

When I ran QSTK EventProfiler tutorial, I have the following warning and I cannot even got the myEventStudy.pdf chart.The code was just stuck there. Having difficulty ruling out the problem. Can anyone please help figure out what is the issue here?…
1
vote
1 answer

timedelta in QSTK

I am going through QSTK and in tutorials they use datetime.timedelta I am curios what is the purpose of such command in stock related environment. I found some articles on what timedelta is but clearly I am not grasping it since I am clueless what…
rodling
  • 988
  • 5
  • 18
  • 44
0
votes
0 answers

Running a docker container via Jupiter Notebook

I've searched for a number of hours to find the answer to this because I want to respect the idea of non-redundant posts. I'm sure the fact that I'm relatively new to programming doesn't help but here's my issue (hopefully I present it in the…
user9360506
0
votes
1 answer

Error on QSTK.qstkstudy on Python 2.7.3

I am trying to install QSTK on my python 2.7.3. (on windows 10). During the installation, it seemed there was no problem and I did not face any errors. However, when I run the validation.py (here) to check it seems that QSTK.qstkstudu cannot be…
0
votes
0 answers

Trying to run IronPython in C#: 'LightException' object has no attribute 'qstkutil'

I am trying to run this code in VS c#: //calls script that will be executed as a new Thread private void portfolioAnalysisToolStripMenuItem_Click(object sender, EventArgs e) { Thread myThread = new Thread(new…
Maverick13
  • 15
  • 6
0
votes
2 answers

QSTK: install problems

I am trying to install QSTK on my Mac 10.7.5, but the error is shown below, can anyone help me with that?? ==> Summary /usr/local/Cellar/gfortran/4.8.1: 1024 files, 119M Installing numpy, scipy, matplotlib numpy: Unsatisfied dependency:…
wcfch
  • 1
  • 1
0
votes
1 answer

Trouble installing QSTK on a MAC 10.7.5, probably because of an issue with python-dateutils and/or pandas 0.7.3

I am trying to install QSTK (http://wiki.quantsoftware.org/index.php?title=QSToolKit_Installation_Guide_Mac) on a Mac and am running to trouble. To make a long story short, i started with multiple versions of python on my mac (2.5, 2.6, 2.7, 3.3)…
Faiyam Rahman
  • 305
  • 2
  • 4
  • 8
1
2