Open alexgiul opened 10 months ago
I can also replicate this issue. It looks like the live interval bars functionality is completely broken now. Worse than before when it was receiving duplicate/missing bars.
Is this command correct?
bar_cmd = "BW,%s,%s,%s,%s,%s,%s,%s,%s,%s,'',%s\r\n" % ( symbol, interval_len, bgn_bar_str, lookback_days_str, lookback_bars_str, bf_str, ef_str, request_id, interval_type, update_str, )
At this point, I'm probably going to abandon iqfeed and using pyiqfeed. iqfeed paywalls their developer docs to the tune of 500$/year and this repository has a pull request from oct 2022 that hasn't been reviewed. It's practically abandoned, with all the issues that it has. The alternative I'm looking at right now is polygon.
The repository has a pull request from 2022 for which the submitter was asked to make some changes and resubmit.
On Wed, Jan 10, 2024 at 11:20 AM openSourceBugs @.***> wrote:
At this point, I'm probably going to abandon iqfeed and using pyiqfeed. iqfeed paywalls their developer docs to the tune of 500$/year and this repository has a pull request from oct 2022 that hasn't been reviewed. It's practically abandoned, with all the issues that it has. The alternative I'm looking at right now is polygon.
— Reply to this email directly, view it on GitHub https://github.com/akapur/pyiqfeed/issues/64#issuecomment-1885172300, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGJAVDF3ARHZBR3UOVNLHTYN25U7AVCNFSM6AAAAAA4N42IUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGE3TEMZQGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello and really thanks for the work done on this library, it is great!
I have a problem with one example that should show how to get live updates for a given symbol. In my case I am using ticker EURUSD.FXCM , 1 minute bar
get_live_interval_bars(ticker="EURUSD.FXCM", bar_len=60, seconds=60*3)
and the code of the above method is:
def get_live_interval_bars(ticker: str, bar_len: int, seconds: int): bar_conn = iq.BarConn(name='pyiqfeed-Example-live-interval-bars') bar_listener = iq.VerboseBarListener("Bar Listener") bar_conn.add_listener(bar_listener) with iq.ConnConnector([bar_conn]) as connector: bar_conn.watch(symbol=ticker, interval_len=bar_len, interval_type='s', update=1, lookback_bars=10) time.sleep(seconds)
The other methods work great e.g. I can get level_1 quotes and trades, historical data, but no live update. I dont get any error or anything that can help to understand what is wrong.
Is there anything I can do?