No Historic 1-min data for April currency futures

yousuf
@sujith
No 1-min data being fetched for APR futures of currencies, (like GBPINR20APRFUT)
Ticker is giving out data, but the historic API is not fetching any rows for April futures only, of currencies
could you check please.

thanks,
yousuf
  • sujith
    Can you paste the sample request and response here? The data seems to be existing.
  • yousuf
    There is no data only for april contracts of currencies, for all others its normal.
    This is happening for all four currencies.

    For a run with symbol as GBPINR20MARFUT:
    RTotal is the running total of the rows fetched,

    dates[0] = Mon Feb 24 16:37:17 IST 2020
    token = 265159686 - from = Tue Feb 18 00:00:00 IST 2020 - to = Mon Feb 24 16:37:17 IST 2020, token = 265159686
    1. GBPINR20MARFUT- fetchsize = 1031 -- from=20200218, RTotal=1031
    token = 265159686 - from = Wed Feb 12 00:00:00 IST 2020 - to = Tue Feb 18 00:00:00 IST 2020, token = 265159686
    2. GBPINR20MARFUT- fetchsize = 1219 -- from=20200212, RTotal=2250
    token = 265159686 - from = Thu Feb 06 00:00:00 IST 2020 - to = Wed Feb 12 00:00:00 IST 2020, token = 265159686
    3. GBPINR20MARFUT- fetchsize = 1021 -- from=20200206, RTotal=3271
    token = 265159686 - from = Fri Jan 31 00:00:00 IST 2020 - to = Thu Feb 06 00:00:00 IST 2020, token = 265159686
    4. GBPINR20MARFUT- fetchsize = 542 -- from=20200131, RTotal=3813
    token = 265159686 - from = Sat Jan 25 00:00:00 IST 2020 - to = Fri Jan 31 00:00:00 IST 2020, token = 265159686
    5. GBPINR20MARFUT- fetchsize = 0 -- from=20200125, RTotal=3813
    token = 265159686 - from = Sun Jan 19 00:00:00 IST 2020 - to = Sat Jan 25 00:00:00 IST 2020, token = 265159686
    6. GBPINR20MARFUT- fetchsize = 0 -- from=20200119, RTotal=3813
    token = 265159686 - from = Mon Jan 13 00:00:00 IST 2020 - to = Sun Jan 19 00:00:00 IST 2020, token = 265159686

    Program Manually terminated.
    ----------------------
    for a run with symbol as GBPINR20APRFUT
    dates[0] = Mon Feb 24 16:38:50 IST 2020
    token = 265455878 - from = Tue Feb 18 00:00:00 IST 2020 - to = Mon Feb 24 16:38:50 IST 2020, token = 265455878
    1. GBPINR20APRFUT- fetchsize = 0 -- from=20200218, RTotal=0
    token = 265455878 - from = Wed Feb 12 00:00:00 IST 2020 - to = Tue Feb 18 00:00:00 IST 2020, token = 265455878
    2. GBPINR20APRFUT- fetchsize = 0 -- from=20200212, RTotal=0
    token = 265455878 - from = Thu Feb 06 00:00:00 IST 2020 - to = Wed Feb 12 00:00:00 IST 2020, token = 265455878
    3. GBPINR20APRFUT- fetchsize = 0 -- from=20200206, RTotal=0
    token = 265455878 - from = Fri Jan 31 00:00:00 IST 2020 - to = Thu Feb 06 00:00:00 IST 2020, token = 265455878
    4. GBPINR20APRFUT- fetchsize = 0 -- from=20200131, RTotal=0
    token = 265455878 - from = Sat Jan 25 00:00:00 IST 2020 - to = Fri Jan 31 00:00:00 IST 2020, token = 265455878
    DATA Has Been Initialized To As Much As is available Thru Kite
    hData.size()=0
  • rakeshr
    @yousuf
    You are using the wrong instrument_token for GBPINR20MARFUT and GBPINR20APRFUT.
    For GBPINR20MARFUT, it will be 279811 not 265159686.
    And from GBPINR20APRFUT, it will be 311043 instead of 265455878.
  • yousuf
    yousuf edited February 2020
    ohhh..!!
    silly mistake of selecting token without exchange in whereclause..!
    Thanks a lot..! I appreciate your thoroughly professional support !
This discussion has been closed.