FXMasterCourse

Trading Order Out of Chaos

  • Facebook
  • LinkedIn
  • RSS
  • Twitter
  • About
  • Trading Approach
  • Resources
  • Forex Tools
    • MT4 Code
    • Tick Data
    • Useful Tools
  • In the Media
  • Testimonials
  • Contact
  • Member Login

Subscribe to Get the One Exercise which will Improve Your Foreign Exchange Trading Straight Away

  • Get rid of your fear of losing
  • Learn to stick to the rules
  • Achieve a Zen like state when you trade

February 23, 2021 by Corvin Codirla Leave a Comment

Improving your Python Backtesting – From DataFrames to Cython [Part 2]

Improving your Python Backtesting – From DataFrames to Cython [Part 2]

In Part 1 we used simple Python to Improve our Backtesting times.  Starting out with DataFrames we took a simple RSI strategy over a period of 7000 days and reduced from 7.3 seconds (which is a complete joke; sorry Pandas!) down to 0.003 seconds by converting everything to lists. But if you recall the comparison […]

Filed Under: Trading Strategies Tagged With: Backtest, Python

January 26, 2021 by Corvin Codirla 2 Comments

Improving your Python Backtesting – From DataFrames to Cython [Part 1]

Improving your Python Backtesting – From DataFrames to Cython [Part 1]

Intro Backtesting is every systematic trader’s basic tool. And Python is becoming the lingua franca of programming. So putting Python into Backtesting to get fast results should be possible! Yes and no! In this article, we’ll cover how to really improve your Python backtesting and boost your speeds by several orders of magnitude! First a […]

Filed Under: Trading Strategies

October 2, 2018 by Corvin Codirla Leave a Comment

Calculating Bond Index Prices: Analyzing the Bond Bear Market

Calculating Bond Index Prices: Analyzing the Bond Bear Market

In the previous article we set out to cover a new asset class: Bond investments.  We saw how by including bonds together with stocks we could improve on our portfolio performance.  Is this mixture still good given that we are now shifting in the interest rate cycle to a Bond Bear Market?  In this article we […]

Filed Under: Market Dynamics Tagged With: Backtest, Bonds, Market Timing

March 20, 2018 by Corvin Codirla 5 Comments

Why Would You Want to Invest in Bonds?

Why Would You Want to Invest in Bonds?

Of all things on this planet?!  Aren’t they boring?  Not explosive enough?  Isn’t this stuff what old people invest in?  Also, aren’t they supposed to start to sell-off?  And how do you get your hands on these over the counter instruments. In the first article of this series on Creating Profitable Trading Strategies  we started […]

Filed Under: Market Dynamics Tagged With: Backtest, Bonds, Performance Measures, Sharpe Ratio, Trading Systems

November 15, 2017 by Corvin Codirla 2 Comments

Trading Mean Reversion in Currencies

Trading Mean Reversion in Currencies

Mean Reversion trading works for equities; and currencies. We saw in the last article how combining two simple ideas for equities produced a stable system over the last 30 years. Can we repeat a similar analysis for currencies? Yes!  However, be warned.  Currency trading is a different magnitude of difficulty to equity trading.   Currency traders […]

Filed Under: Forex Trading Strategies Tagged With: Backtest, EURUSD, GBPUSD, Market Timing, Sharpe Ratio, Trading Systems, USDJPY

  • 1
  • 2
  • 3
  • …
  • 8
  • Next Page »

Browse Topics

Tags

ADP AUDUSD Backtest Bid Ask Bonds Breakout CHFJPY Commodities ECB Economic Indicators Economic Releases Emerging Markets Engulfing Candles Equities EURCHF EURSEK EURUSD FOMC FX G10 GBPUSD HFT Kelly Market Timing Mean Reversion Moon News Events News Trading NFP ORB Performance Measures PPP Python Range Expansion Recession Risk Parity Sharpe Ratio Slippage Solar Eclipse SP500 Trading Systems USD USDCAD USDCHF USDJPY

Subscribe to Get the One Exercise which will Improve Your Foreign Exchange Trading Straight Away

  • Get rid of your fear of losing
  • Learn to stick to the rules
  • Achieve a Zen like state when you trade

Search Site

Testimonials

Python Backtesting

In Part 1 we used simple Python to Improve our Backtesting times.  Starting out with DataFrames we took a simple RSI strategy over a period of 7000 days and reduced from 7.3 seconds (which is a complete joke; sorry Pandas!) down to 0.003 seconds by converting everything to lists. But if you recall the comparison table at the end of Part 1

ImplementationTime for RSI2 Backtests
Python – Lists0.003s
Java0.00005s
C0.…
Improving your Python Backtesting – From DataFrames to Cython [Part 2]
Equities Mean Reversion
Equities mean-reversion works right now. And as part of Building Consistently Profitable Trading Systems it forms a key component. In this article we’ll present the final version of the mean-reversion system to form part of the trading toolbox, and the final portfolio. It’s the Larry Connor’s RSI2 strategy.  And it’s based on the two concepts we covered in Equities and Their Mean Reversion Habits:
  • Looking for a series of down days
  • Looking for reversion towards a short dated movi… Read more
Equities Mean Reversion
EURUSD tick data for the period 31st January 2016 to 5th February 2016. Zip file contains CSV files for each day. The format of the CSV files are: Local Time, Server Time, Server Time Milliseconds, Bid, Ask. The time resolution is in seconds. This means that there can be multiple quotes per second.
Tick Data EURUSD , 20160131 – 20160205, Broker1
EURUSD tick data for the period 14th February 2016 to 19th February 2016. Zip file contains CSV files for each day. The format of the CSV files are: Local Time, Server Time, Server Time Milliseconds, Bid, Ask. The time resolution is in seconds. This means that there can be multiple quotes per second.
Tick Data EURUSD , 20160214 – 20160219, Broker1
Logout
Members
Mean Reversion Currency Trading
Mean Reversion trading works for equities; and currencies. We saw in the last article how combining two simple ideas for equities produced a stable system over the last 30 years. Can we repeat a similar analysis for currencies? Yes!  However, be warned.  Currency trading is a different magnitude of difficulty to equity trading.   Currency traders have had a real tough time since 2008 (take a look at the BTOP Barclay Hedge Currency Trader Index). As always it depends which pond yo… Read more
Trading Mean Reversion in Currencies

© 2023 · FXMasterCourse · Privacy Policy · Terms & Conditions · Earnings Disclaimer

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT