Python Programmers

Quote from nononsense:

Let me add that profitpy is by the same author as IbPy: Troy Melhase. In fact, having never used profitpy, I believe that it relies on IbPy for connecting to IB.

I also seems that profitpy has not been updated since 2004, whereas a rather recent IbPy version is available (v0.5).

Both are nice examples of Python code usage. It is worthwhile to also take a look at Qt by Trolltech, in fact PyQt for Python. It comes with most (all?) linux distro's and installs automatically with KDE. PyQt (Qt) gives you a tremendous framework, truly portable to any environment, including windoz. Hard to find anything coming close to it, certainly not Java!

Yes, profitpy uses IbPy. ProfitPy requires pyqwt which I need to compile under Debian.

ProfitPy is nice and I am using it. The problem of it is that it does not has some knowledge about the past historical data. Are you using IbPy to acquire historical data and make use of those data? You can probably contribute to profitpy.

Troy is doing some update on profitpy, but apparently he is more busy with other stuff...

Right now I am trying to implement an effect intraday strategy.
 
Quote from HLB:
I used Tcl/Tk in the past. I was under impression , that Tk is a standard GUI toolkit for Python. Can you compare it with Qt?
thanks
Qt (pyQt) widgets blow all the gui frameworks away,imo. wxWidgets (wxPython) is also very popular with a really nice python interface, but unfortunately it is based on GTK when using linux. GTK is very much widespread, but their widgets remind me of java which I can't stand. Tcl/Tk sucks because it's way outdated and reminds me of x-based widgets.
 
Quote from osorico:
Python (and the other scripting languages too) are fine and indeed quite capable. But the fact is these languages require additional overhead to execute. Sometimes "intelligent" usage means using the best language given a specific project. IMO, C/C++ is a superior choice for actual trading software. Python would be a logical choice for requesting, parsing, and analyzing daily reports.
Just because you can, doesn't mean you should.
Osorico
Ah but that's very much a part of the beauty of Python. Python makes it VERY easy to both extend and embed (ie: C/C++ in python OR python in C/C++). It is also extremely easy to use something like Pyrex to have your slightly modified python code be compiled to C and then linked to your main python application. Also see Psyco for a a python JIT compiler. Also See: Swig, Weave, and the others that are available... there's more.

I've just returned to Python from learning and working soley in C, and I can't wait to apply python's ease of use to my new knowledge.

kt
 
Quote from segv:
So, I take it Java is out of the question?
-segv
With all due respect to Java lovers, I can't understand why it's so popular. I think it sucks real bad. That's my personal opinion though.
 
Quote from telle:
Yes, profitpy uses IbPy. ProfitPy requires pyqwt which I need to compile under Debian.

ProfitPy is nice and I am using it. The problem of it is that it does not has some knowledge about the past historical data. Are you using IbPy to acquire historical data and make use of those data? You can probably contribute to profitpy.

Troy is doing some update on profitpy, but apparently he is more busy with other stuff...

Right now I am trying to implement an effect intraday strategy.
Troy has done a really nice job of using python optimally. I've been using IbPy for quite some time now. I haven't used ProfitPy because it was easy enough to build my own "and have it my way".

If you want to build your own gui trading interface, take a look at RAD GUI frameworks like wxGlade, Boa Constructor (wxPython) Or Qt Designer for Qt. Naturally there are others.

Then look at matplotlib for your graphs and charting. And If you want to know more about other Python library's useful for trading, Search ET, or ask me and I'll point you to the many.
 
If anybody is just starting to learn Python or wants to learn "C", I am available for asking remedial to intermediate questions. I'm not a qualified expert... yet. ;-)
 
i use python along with the quantlib API and the spread queue toolkit for realtime signals and pricing. No problems yet.
 
Quote from rosy:
i use python along with the quantlib API and the spread queue toolkit for realtime signals and pricing. No problems yet.
Yeah, quantlib is a very nice lib for traders.

Also for testing, Simpy is for disctrete time simulation models. Haven't been to the site recently at all, but I think it's still active.
 
Quote from ktmexc20:

Troy has done a really nice job of using python optimally. I've been using IbPy for quite some time now. I haven't used ProfitPy because it was easy enough to build my own "and have it my way".

If you want to build your own gui trading interface, take a look at RAD GUI frameworks like wxGlade, Boa Constructor (wxPython) Or Qt Designer for Qt. Naturally there are others.

Then look at matplotlib for your graphs and charting. And If you want to know more about other Python library's useful for trading, Search ET, or ask me and I'll point you to the many.

Yeah, thanks. If I can freely use Qt that would be good. But building one with "my way" may take me more time than I can actually afford. Anyway I will be learning with all my spare time.

I made some modification to profitpy and am ready for some serious strategy development and testing.

had been using matplotlib in some of different cases. I also find there's a project "iTrade" actually use matplotlib. I am ok with the plotting I got from profitpy right now.

What's the thing you mentioned as "C" work? you mean some code written in C but glued to python?
 
Back
Top