If you're using ProfitPy from SVN, you also need to get IbPy from SVN.
troy
Sure.
1. move out of the "ibpy folder", start python, and try the import again.
2. what is the exact PYTHONPATH setting? it should be something like
"export PYTHONPATH=/home/thor/code/ibpy/trunk" -- notice the lack of
a trailing "/ib"
3. verify that the python that imports ib is the same python that you
use to start profitpy
4. check the sys.path directories for other copies of ibpy; perhaps
you have an older release tucked away in
/usr/lib/python2.x/site-packages/
From what you describe, my bet is #2. HTH,
And FWIW, I've finally got API version 9.51 working with python 2.6,
so there's a new release around the corner...
troy
These are from a missing settings file. It should only happen once.
The other output is entirely normal.
> These didn't stop the app from opening. And also, I am using python
> 2.6...
Hm. The code in ibpy svn doesn't work 100% with python2.6. As I said
earlier, that will be fixed Real Soon.
> When I get comfortable with the code base I will ask more questions,
> and hopefully contribute some backtesting code. I have some monte-
> carlo routines in python which generate various market conditions and
> could be used for stress testing trading ideas.
I'm happy to answer any and all questions. And patches are always welcome!
Regarding your monte-carlo routines, do you envision a GUI for
configuring and/or testing? That's the direction I've started down
with the neural network designer, and in general, is the direction for
the package.
> Thanks again,
You're very welcome. Please keep us posted on your progress.
troy