Python: Strategy backtesting - Matlab, R project and Python | futures io social day trading
futures io futures trading


Python: Strategy backtesting
Updated: Views / Replies:2,161 / 5
Created: by baxline Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

Python: Strategy backtesting

  #1 (permalink)
Trading Apprentice
Ithaca, NY
Futures Experience: Advanced
Platform: Proprietary
Favorite Futures: Stocks
Posts: 11 since Jan 2014
Thanks: 0 given, 1 received

Python: Strategy backtesting

Hey everyone,

I'm building out a back-testing package in Python. Basically taking what I threw together in Excel and modifying it to run automatically when evaluating strategies built using machine learning techniques.

Anyways, as I build this out, I'd love to get some feedback on features/functionality. So, I'll toss it out there: if you had your druthers, what kinds of features/functionality would you want in a Python back-testing package?


Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Trading Apprentice
Boston + Massachussetts/USA
Futures Experience: Advanced
Platform: Custom
Favorite Futures: equity options, VIX, LNG, Sugar #11, CDX
Posts: 1 since Feb 2014
Thanks: 0 given, 0 received

I've done this for my firm, make sure you account for slippage depending on the kind of products you trade and your size and if youre on here im sure youre smart but just making sure, you are going to use level 2 data rather than the "price" or what kind of time horizon are you looking at, describe more of what you are doing and perhaps I can help out! because you may wanna move this to SQL, mine was python-->sql then we built a C# app when we as a firm moved to .net everything (most hedge funds are linux nuts but there are still a lot that use windows). I guess Im asking, what kind of data are you running your model against????

Reply With Quote
  #4 (permalink)
Trading Apprentice
Futures Experience: Beginner
Platform: Investfly
Favorite Futures: Emini ES
Posts: 3 since Oct 2017
Thanks: 0 given, 0 received

Python Algorithmic Trading Library

You can check out PyAlgoTrade -Python Algorithmic Trading Library. (Please google it, as I am not allowed to post links.) Instead of building from scratch, you can contribute on it. I myself have not used it though.

Reply With Quote
  #5 (permalink)
PTA, Gauteng
Futures Experience: Advanced
Platform: Self built + Sierra + TWS
Favorite Futures: Stocks and Options
DarkPoolTrading's Avatar
Posts: 1,036 since May 2012
Thanks: 1,244 given, 1,308 received

ryanF View Post
You can check out PyAlgoTrade -Python Algorithmic Trading Library. (Please google it, as I am not allowed to post links.) Instead of building from scratch, you can contribute on it. I myself have not used it though.

Agreed, I would certainly suggest using and contributing to an existing open source python backtesting framework rather than starting one from scratch. There are many out there to choose from.

I built a basic python backtester a couple years ago and although it worked well enough, it took me months of wasted time to create. It was also no where near as good as any of the open source solutions which have been around for much longer and have been contributed to by many professional programmers and traders.

The more I started to use some of the existing solutions, the more I started to understand that it would take me years to make something comparable by myself which is a complete waste of time. Rather start with something tried and tested and create your own branch if you really want to.

Diversification is the only free lunch
Reply With Quote
  #6 (permalink)
Trading Apprentice
Madrid Spain
Futures Experience: Advanced
Platform: Custom
Favorite Futures: Emini ES
Posts: 5 since Oct 2017
Thanks: 2 given, 3 received

Also related with the backtesting thing, I can add another backtesters to the mix.

You can google them because I'm not allowed to put links: Backtrader and QuantStart

I'm also about the opinion of contributing to the other ones; it will safe you a lot of time.

Reply With Quote


futures io > > > > Python: Strategy backtesting

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

How to use the Footprint Tool to Execute Trades w/Brannigan Barrett

Elite only

Ask Me Anything (Brokers & Platforms) w/Ilan Levy Mayer @ Cannon Trading

Dec 13

Battlestations! Show us your trading desks w/GFF Brokers ($750 in Prizes)


Similar Threads
Thread Thread Starter Forum Replies Last Post
VIDEO: MultiCharts vs. NinjaTrader strategy backtesting and optimization Big Mike MultiCharts 53 June 12th, 2016 02:34 PM
Strategy Analyzer/backtesting with 2 time frames ceramictilepro NinjaTrader Programming 1 July 30th, 2012 07:03 PM
Backtesting identical strategy tradestation and multicharts different results crbucks MultiCharts 7 April 26th, 2012 08:30 AM
executing strategy in backtesting cicondo NinjaTrader Programming 11 May 5th, 2011 09:13 AM
What do you look at when backtesting a strategy ? soumi71 The Elite Circle 13 November 26th, 2009 09:39 AM

algorithmic trading, backtester, backtesting, c#, data, es, feedback, information, level 2, machine learning, matlab, matlab trading, open source, python, python trading, quants, r project, r trading, slippage, sql, strategies, strategy, trading

All times are GMT -4. The time now is 08:38 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2018-12-09 in 0.13 seconds with 14 queries on phoenix