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

Websocket streaming for tradier #458

Open
dodofarm opened this issue May 23, 2024 · 8 comments
Open

Websocket streaming for tradier #458

dodofarm opened this issue May 23, 2024 · 8 comments

Comments

@dodofarm
Copy link

I see that it's mentioned in tradier.py it's mentioned that websocket streaming isn't supported yet.

Do we have an ETA for that?

@grzesir
Copy link
Contributor

grzesir commented May 23, 2024 via email

@dodofarm
Copy link
Author

I just briefly looked through the code. As far as I can see websockets aren't implemented at all yet.

So this would require to essentially also make significant changes to strategy.py since currently it's purely poll-based, am I correct here?

Once that is done connecting to the Tradier streaming API would be more or less simple.

@grzesir
Copy link
Contributor

grzesir commented May 23, 2024 via email

@jimwhite
Copy link
Collaborator

I've not tried it but the Interactive Brokers code appears to have streaming for price bars:

def start_realtime_bars(

def start_realtime_bars(self, asset, keep_bars=30):

@grzesir
Copy link
Contributor

grzesir commented May 23, 2024 via email

@dodofarm
Copy link
Author

well I settled on using Tradier so I'll make sure to take a look at adding websocket streams to the bot.

Thanks for the inputs and will comment here or create a pr when needed.

@grzesir
Copy link
Contributor

grzesir commented May 28, 2024 via email

@dodofarm
Copy link
Author

dodofarm commented May 30, 2024

Yep, reached out to you on discord! We can talk about the changes there.

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

3 participants