Skip to content
#

investment

Here are 440 public repositories matching this topic...

backtesting.py
zillionare
zillionare commented Apr 30, 2021

this is how Buy & Hold Return is calculated:

        c = data.Close.values
        s.loc['Buy & Hold Return [%]'] = (c[-1] - c[0]) / c[0] * 100  # long-only return

so it's calced use day one and the day last.

Expected Behavior

Buy & Hold Return is used for compare with strategy gain. Therefore, I guess they should started at same time, since the strategy get enough data to w

bug good first issue Hacktoberfest
Riskfolio-Lib
FinancePy
ahabre
ahabre commented Aug 8, 2021

Is there a way to calibrate a discount curve from traded fx forwards?

Taking USDJPY as an example. As an input I have the fx spot, 1M, 3M and 6M forwards , I have also built a USD OIS discount curve. I want to create a JPY discount curve such that I can reprice correctly all of the fx forwards I observe in the market. Is that possible with the current library?

As an extension to the above,

Qlib-Server is the data server system for Qlib. It enable Qlib to run in online mode. Under online mode, the data will be deployed as a shared data service. The data and their cache will be shared by all the clients. The data retrieval performance is expected to be improved due to a higher rate of cache hits. It will consume less disk space, too.

  • Updated Oct 29, 2021
  • Python

Improve this page

Add a description, image, and links to the investment topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the investment topic, visit your repo's landing page and select "manage topics."

Learn more