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

get_ema_dollar_imbalance_bars returns empty dataframe #481

Open
eugencuic opened this issue Jan 29, 2021 · 3 comments
Open

get_ema_dollar_imbalance_bars returns empty dataframe #481

eugencuic opened this issue Jan 29, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@eugencuic
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. use a dataset that create a pandas frame when generating tick_bars
  2. use same dataset as above and create get_ema_dollar_imbalance_bars
  3. the function returns a tuple instead of a dataframe

Expected behavior
To get the same DataFrame as with standard data strucutres

Desktop (please complete the following information):

  • OS: Windows
  • Version: 0.15.3
@ahmedyounis
Copy link

ahmedyounis commented Feb 14, 2021

This is also a problem for get_ema_dollar_run_bars, get_const_dollar_run_bars,get_ema_volume_run_bars.
The functions return an empty DataFrame.

image

image

Ass you can see, a Tuple is generated by the functions and not a DataFrame.

@eugencuic
Copy link
Author

the output is a tuple (x,y) and you get the dataframe by calling the first element of the tuple:
tuple[0]
@ahmedyounis

@ahmedyounis
Copy link

Thanks @eugencuic 👍

@PanPip PanPip self-assigned this Apr 14, 2021
@PanPip PanPip added the bug Something isn't working label Apr 14, 2021
@PanPip PanPip removed their assignment Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants