today after around 11, history api taking a long to return.. any one experiencing the same??
@jimmy_mathew @chirag @Z4PBvkQGyF can we get live tick data of particular symbol as an historical data ?
What do you mean? you want to continuously use hist data api to simulate RT feed?
It will work but its wrong approach, bcos there is always delay involved, more processing overhead and daily api limit too. Infact WS supports 200 concurrent symbols vs Quote api which is 50 and historical api is only 1 symbol.
We can check there is no issue, can you check or share the symbol name so that I can find for same.
There were no issues as such but many drops in socket today
-
I have started this practice with advice from Fyers team : https://community.fyers.inhttps://fyers.in/community/t/i-need-last-6-5-minute-candle-data-for-my-logic-should-i-use-history-for-the-day-or-implement-websocket-save-read-and-convert-to-candle-timeframe-this-needs-to-be-run-in-a-loop-for-entire-trading-hours-for-a-day-which-is-the-correct-and-usual-a/19014
-
can I subscribe to 200 symbols in web socket. I remember trying it out earlier, but best I remember I can do only 50. Is it upgraded? please advice..
-
My logic is with in api limits as I poll large numbers for screening only couple of times in a day. and continuous( per minute) only for 4-10 symbols
not for any specific symbol, for all symbols.. api was taking time to return the data. I got call from fyers team, will observe tomorrow and will reply to the ticket
[I have given a detailed reply to this, with details and link to discussion where i was advised to use history api. But that message is not visible now. Is it deleted by moderator?]
I will try it again. AFAIK, when i try earlier I was able to subscribe only 50 symbols. for repeated screening i need around 210 symbols data, a few times (10-20) times a day. is the webSocket subscription limit increased?
Even with this my logic is well within api limits. other than the screening i am polling only 4-10 symbols per minute. means I am not working on ticks, even with ticks data i have to resample to 1 minute to use in my logic.
Thanks for reminding me. i will try again with WS in parallel, but now don’t want to disturb working system, This is working in my testing ( means with small capital, everything else same) for about 3 months and was all set to increase funding. then this issue has come up.
I will try it again. AFAIK, when i try earlier I was able to subscribe only 50 symbols. for repeated screening i need around 210 symbols data, a few times (10-20) times a day. is the webSocket subscription limit increased?
V3 has improved quite a lot and has 200, the old V2 was 50
Even with this my logic is well within api limits. other than the screening i am polling only 4-10 symbols per minute. means I am not working on ticks, even with ticks data i have to resample to 1 minute to use in my logic.
Quote will return CMD, ie. current minute candle for upto 50 Quotes in single API call, but Historical API is only 1 symbol. ( in terms of time spent for multi symbols, WS < Quote < HD ) logically even if you use multiple threads for concurrent requests.
Thanks for reminding me. i will try again with WS in parallel, but now don’t want to disturb working system, This is working in my testing ( means with small capital, everything else same) for about 3 months and was all set to increase funding. then this issue has come up.
Hist api seems to have most lag maybe because its heavy but sometimes (once a week in last few weeks) even WS has very slow ticks. I can use multiple sources of data using both WS or Quote like api. I backfill my local DB only once EoD.
I backfill my local DB only once EoD.
Even I do the same for backfilling. But my logic does screening multiple times a day based on current data. at present i am running on V2. will try updating to WS while I migrate to V3. Thanks a lot for the input.
is V3 rock stable now? I were a bit hesitant as there were many messages on V3 issues earlier.
Hi Jimmy,
Yes, I do have the same issue..
On Thursday till noon everything was working fine for me. But around 230pm onward suddenly data-retrieval became damn slow.
Additionally, now I am having issue with LOGGING itself.
- Thru V2 url (“https://api.fyers.in/api/v2/generate-authcode?client_id=” & AppID & “&redirect_uri=” & AppURLReDIR & “&response_type=code&state=sample_state”), I am able to generate & copy AuthCode using redirect-url and when try to login it is throwing values as below;
ResponseText: {“s”: “ok”, “code”: 200, “message”: “”, “access_token”: “eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1Nxxxxxx5BTVVSVEhZIEFSQVZJTkQgS09OR0FESSIsIm9tcyI6IksxIiwiaHNtX2tleSI6IjJhODAxOWJmNmY4ODRmZWxxxxxxxxxxxxxxxxxxxxxiwiZDoxIiwiZDoyIiwieDoxIiwieDowIl0sInN1YiI6InJlZnJlc2hfdG9rZW4iLCJhdF9oYXNoIjoiZ0FBQUFBQmxiUkNxTxxxxxxxaaS0AGKNdssCN12A63rPMbodN6MclvwVIqqKP1mr8”}
Status: 200
StatusText: “ERROR”
2) Thur V3 url ("https://api.fyers.in/api/v3/generate-authcode?client_id=" & AppID & “&redirect_uri=” & AppURLReDIR & “&response_type=code&state=sample_state”), its throwing values as below;
ResponseText: 503 Service Temporarily Unavailable
Status: 503
StatusText: “Service Temporarily Unavailable”
Fyi:
I am using EXCEL & POWERQ without any issues till last Friday;
Whole weekend I sat on it to diagnose what would have went wrong but failed to identify;
Fyers Team please advise: Is this error from your end; or do I need to change any parameters?
- Krish,
Investor, Bangalore