How to get the latest 1 minute candle

GoWithFlow
with C# api I want to get the latest candle. I tried getting quote after 60 second but it lack high/low details
  • GoWithFlow
    This I require during market hours
  • sujith
    sujith edited November 2017
    Hi,
    You need to use historical data to fetch one minute candle. Historical data is an add-on subscription.

    You also need note that it is not guaranteed that Historical data candle will be available exactly at end of the minute. There can be some delay. This is because our system keeps listening to all the ticks from exchange and end of the minute it will generate a candle using those ticks and write that candle to the database. This happens for all the instruments that are being traded for the day. Since it involves a database write it is not guaranteed that candle will be available exactly at end of the minute.

    If your algorithm can afford some delay then you can try it or else I would suggest generating candles using websockets(live market data) API at your end.
This discussion has been closed.