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

[Bug]: Unable to retrieve any bars. #696

Open
2 tasks done
bable631 opened this issue Apr 10, 2023 · 2 comments
Open
2 tasks done

[Bug]: Unable to retrieve any bars. #696

bable631 opened this issue Apr 10, 2023 · 2 comments

Comments

@bable631
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

This worked before this past Friday, and I have made no changes to my code. Basically, I am using get_data and it returns None for any use of the function. This has never happened before the past Friday, and it is still happening today. This seems like it is an API issue, but I can't be sure.

Expected Behavior

The function get_bars() should not return None.

SDK Version I encountered this issue in

Whatever the most recent version is, I just installed it two weeks ago and I reinstalled it yesterday.

Steps To Reproduce

1. Try to get stock bars for any stock in Python3.10
2. It returns None

Filled out the Steps to Reproduce section?

  • I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

Anything else?

I am using an online IDE and host called pythonanywhere by Anaconda. I don't believe that this is important, as I have not changed this, but I figured I might as well state that here.

@bable631
Copy link
Author

Found a way around this. I can't tell if this was an issue on this API's end, but using get_snapshot gets all of the data that I need and actually works for me.

@dungnguyen191992
Copy link

I have the same issue. What is going on?

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