Easy optimizations resulted in 39% shorter runtime

The partial caching of the calculations of the technical indicator resulted in a 35% less runtime and experimentation with the various complier and linker optimizations switches resulted in a little be more of a speed up for in runtime being an overall of 39% shorter.
The analysis code likely has some spots that will benefit from [...]

NinjaTrader Strategy Backtesting and Optimization

NinjaTrader’s support for strategies is definitely superior to that of StrategyDesk. NinjaTrader allows strategies to control the number of shares bought and sold, so it can be setup to roll profits into the next trade for backtesting (you could do taxes as well, but I haven’t bothered with that yet). The optimizer is [...]

Debugging - Komodo IDE vs WingIDE vs PyScripter

I just added the following update to the section titled “Komodo vs PyScripter vs WingIDE - Running and Debugging” of my recent post titled “Komodo Edit vs Komodo IDE vs WingIDE vs PyScripter”:
While debugging Komodo IDE does not show you the current value of any variable if you mouse hover over it. Both PyScripter and [...]

Komodo Edit vs Komodo IDE vs WingIDE vs PyScripter

Komodo Edit vs Komodo IDE
Komodo Edit is an free dynamic language editor put out by Active State, while Komodo IDE is Active State’s commercial dynamic language IDE. The two share a common project system, so although I had installed and used Komodo Edit first, when installed Komodo IDE and opened it for the first [...]

Delegation not aggregation (or composition)

Just had a major mental block on the word delegation. While in software design and implementation the three (along with association) are very similar they aren’t precisely the same. More importantly searching on aggregation and composition wasn’t getting me the info I needed for what I was trying to do in Python, so [...]

PyScripter annoyances and general find & replace gripes

PyScripter
I had used PyScripter last year in the development of a Pylons web app and generally seemed to be up to the task; however, for my current work I’m running into to some issues I had not noticed previously:

Internal interpreter (bad) state - I can find no way to clear the state of the IDE’s [...]

Equivalent of “Effective Python” no where to be found

Maybe I just haven’t found the correct place to look, but I couldn’t find all of the info I was looking for on Python metaclasses all in one place. I ended up referencing:

the last chapter of the Python Cookbook
the wikipedia entry for Metaclasses
Unifying types and classes in Python 2.2
A Primer on Python Metaclass Programming
the [...]

Ultra simple simulator running

Getting two processes talking to each other over UDP/IP with Twisted was no problem. There was a Win32 one hack the author’s had put in that would have been a show stopper; however, they did it in such a way that it was possible put in a hack to remove their hack, so no [...]

PyOpenGL good; now for Twisted

Over the last week and half wxPython and PyOpenGL haven’t made me wish I was working in C++ except in one instance today where call through wxPython into wxWidgets wasn’t returning so long as the window was being moved or resized but it isn’t really that big of a deal since windows don’t actually get [...]

PyOpenGL or bust!

At first look the Python bindings for DirectX, DirectPython were looking pretty promising. The API set is small, the included docs seem verbose enough to actually be useful, and the included samples illustrated using vertex and index hardware buffers directly which is one of the things I didn’t feel like grepping through the OGRE [...]