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

reqHistoricalData seems broken? #46

Open
JohannesEmm opened this issue Sep 4, 2024 · 0 comments
Open

reqHistoricalData seems broken? #46

JohannesEmm opened this issue Sep 4, 2024 · 0 comments

Comments

@JohannesEmm
Copy link

Description

reqHistoricalData seems broken

Expected behavior

reqHistoricalData hould give the historial data, but instead throws this error:
Error in if (curMsg == .twsIncomingMSG$TICK_PRICE) { :
argument is of length zero

Minimal, reproducible example

contract <- twsEquity('QQQQ','SMART','ISLAND')
# by default retreives 30 days of daily data
reqHistoricalData(tws, Contract=contract)
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

1 participant