Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharpe ratio and information ratio #35

Open
andrewphillipsn opened this issue May 10, 2019 · 4 comments
Open

Sharpe ratio and information ratio #35

andrewphillipsn opened this issue May 10, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@andrewphillipsn
Copy link
Contributor

Describe the problem.
Provide an implementation for sharpe ratio and information ratio calculations in gs_quant.

Describe the solution you'd like
Information ratio should calculate the rolling return per unit volatility of a series versus a benchmark series. Sharpe ratio calculation should compute rolling return per unit volatility of a series versus risk free rate for currency of the target series (i.e excess return). Both of these measures should calculate excess return daily with correct holiday / interpolation handling

Are you willing to contribute
Yes

Additional context
Needs full regtesting. Identify correct data sources for risk free rates

@HipsterZipster HipsterZipster added the enhancement New feature or request label May 10, 2019
@stephen-183
Copy link
Collaborator

Proposed signatures
sharpe_ratio(prices: Series, rate: Union[Asset, Number], *, day_count_convention) -> Series
information_ratio(prices: Series, benchmark[Index], *, day_count_convention) -> Series
excess_return(prices: Series, benchmark_or_rate: Union[Asset, Number], *, day_count_convention) -> Series

@andrewphillipsn
Copy link
Contributor Author

@stephen-183 benchmark can be non-index, so I would use Asset

@andrewphillipsn
Copy link
Contributor Author

@stephen-183 or a list of valid types (e.g. Index, Stock, etc)

@stephen-183
Copy link
Collaborator

Makes sense; I'll use Asset to be concise.
information_ratio(prices: Series, benchmark[Asset], *, day_count_convention) -> Series

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants