Closed mathpaquette closed 4 years ago
Any progress on the News Example? eg getting historical news or streaming news
I can manage that next week.
Much appreciated!
(Beggars cannot be choosers but a historical example with date filters would be most appreciated!)
@jduke99 are you using C# or Python
@jduke99 Dont forget to star the project. Example in c# for Python?
@mathpaquette C# please
Starred! Thank you so much for this project!
@jduke99 added support for news! please review https://github.com/mathpaquette/IQFeed.CSharpApiClient/blob/master/src/IQFeed.CSharpApiClient.Tests.Integration/Lookup/News/NewsFacadeTests.cs for some example!
Thank you @mathpaquette . All the tests seem to be running fine. Being honest, even looking at the facade test, i'm still not able to build my Example.cs to quite work properly with symbols and dates. Can you provide a call example with multiple symbols and dates for eg.
var newsMessages = await lookupClient.News.GetNewsHeadlinesAsync(<WHAT GOES HERE?>)
I get a cannot convert string to string[]
error when i try to put in an array of symbols. i am not a c# guy, apologies if this should be obvious.
Hi Jon,
Could you please be more precise in what you trying to achieve. Ill try to help you with that.
Thanks, Mathieu
From: Jon Duke notifications@github.com Sent: Sunday, June 14, 2020 11:49 PM To: mathpaquette/IQFeed.CSharpApiClient IQFeed.CSharpApiClient@noreply.github.com Cc: Mathieu Paquette me@mathpaquette.com; Mention mention@noreply.github.com Subject: Re: [mathpaquette/IQFeed.CSharpApiClient] Add news support (#51)
I seem to get a cannot convert string to string[] error when i try to put in an array of symbols. i am not a c# guru, apologies if this should be obvious.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/mathpaquette/IQFeed.CSharpApiClient/issues/51#issuecomment-643887290, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABBICN5DEDDTUPJZBETMEOTRWWK2JANCNFSM4I55SVBQ.
Thanks so much. An example would just be pulling news stories on AAPL from 2/1/2020 to 4/1/2020.
ps. I was wondering if your offer to make a python example is still available? In particular looking for pull as above as well as streaming level 1 news example in python.
@mrut2pac interested in it?