Zipline is a Pythonic algorithmic trading library. The system is fundamentally event-driven and a close approximation of how live-trading systems operate. Currently, backtesting is well supported, but the intent is to develop the library for both paper and live trading, so that the same logic used for backtesting can be applied to the market.

Zipline is currently used in production as the backtesting engine powering Quantopian ( — a free, community-centered platform that allows development and real-time backtesting of trading algorithms in the web browser.

Quantopian is building the world’s first algorithmic trading platform in your browser

We provide tools and infrastructure for you to learn, create, and test trading strategies – while protecting your intellectual property. Your algorithms are yours and kept private.
Watch a short video that explains how to use Quantopian. Read our site overview to learn more.

My App.config is exactly the same as from the traditional service, and the only other main difference is the installation process. For the Windows Service project, I actually created an installer project which generated a .msi installer, however for TopShelf, you simply launch cmd as Administrator and run the command NameOfService.exe install and similarly you uninstall with NameOfService.exe uninstall. Simple enough. My service started life as a Console Application as I was feeling my way around in the code, and it was much simpler to simply turn the Console app into a service using the TopShelf method, and using TopShelf you can create an application that can be run as both a service and a Console App.

From the mind of a nerd: Using TopShelf to create a Windows Service

At last a way to develop and test Windows Services painlessly.