Invest
New feature! PyInvesting can backtest stocks with different currencies
By PyInvesting Blog  •  October 3, 2020
A friend recently highlighted to me that when he ran a backtest on PyInvesting with both US and Hong Kong stocks, the backtester did not account for the currency differences. As a result, the simulated portfolio’s performance was incorrect because it did not handle the forex fluctuations between US and Hong Kong stocks. I’ve been putting off this fix for a while because it was not easy to implement with many details that needed to be handled. However, I decided to implement this feature this week because it was requested by a number of my users and it would be useful going forward as I introduce stocks from other countries into my database. Updating backtester price feeds Being able to handle the forex fluctuations between stocks of different currencies meant that I needed to convert the prices of every stock into a single currency before feeding the prices into the backtester....
Read the full article
By PyInvesting Blog
Hi there! My name is Ivan and I'm the founder of PyInvesting.com. I'm passionate about technology and financeand I've worked as a software developer at a hedge fundwhere I was responsible for building the fund's trading system ...
LEAVE A COMMENT
LEAVE A COMMENT

Your email address will not be published.

*

Your Email Address will not be published
*

Read More Articles
More from thefinance