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

How to check in python that the EA is attached #38

Open
piotryordanov opened this issue Jul 26, 2023 · 1 comment
Open

How to check in python that the EA is attached #38

piotryordanov opened this issue Jul 26, 2023 · 1 comment

Comments

@piotryordanov
Copy link
Contributor

What's a reliable way to make sure from inside the python code, that the EA is attached to the chart?

@elvinex
Copy link
Collaborator

elvinex commented Feb 14, 2024

Hi,
Sorry for the late reply.
You could subscribe to symbols and check if there are long times without ticks. However, that might also be true when the market is closed.
Alternatively, you could request historic data fwith the function get_historic_data regularly to force a reply from time to time.

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