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

Expose close summarizer to Python API #61

Open
gbaettig opened this issue Jan 22, 2019 · 2 comments
Open

Expose close summarizer to Python API #61

gbaettig opened this issue Jan 22, 2019 · 2 comments

Comments

@gbaettig
Copy link

I have been using the Summarizers (mean, count, max, min) from the Python API in the last couple of weeks. I use them jointly with a clock, which gives me uniform timestamps of one minute bars. Now I was wondering if it is possible to have a summerizer in Python which gives me the close value (last value of the interval). I am dealing with price data and I saw that the Scala implementation of the summarizers have the "close" functionality. Is it possible to expose this summarizer into the Python API?

Thank you very much for your support

@icexelloss
Copy link
Member

@gbaettig Which close summarizer in Scala are you referring to?

@gbaettig
Copy link
Author

I thought I saw a close summarizer in the file Summarizer.scala (inside the package com.twosigma.flint.timeseries.summarize). This method is inside the trait Summarizer (it is on the line 223 in that file). I thought it would basically calculate the close value of each bar in a time series. Maybe I misunderstood that. If that is the case, are there any efforts to provide such a summarizer? It would be helpful to calculate close prices for various bars on price time series.

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

No branches or pull requests

2 participants