We NEED GOLD SILVER Aluminium OHLC and LTD in same array by single function

UH2917
We NEED GOLD SILVER Aluminium OHLC and LTD in same array by single function
We success to getQuote() and getOHLC and getLTP() but we want in same one funtion
  • UH2917
    I used
    $array = $kite->getQuote(["MCX:GOLD21JUNFUT", "MCX:GOLDM21AUGFUT","MCX:SILVER21JULFUT","MCX:SILVERM21AUGFUT"]);

    and
    $array = $kite->getLTP(["MCX:GOLD21JUNFUT", "MCX:GOLDM21AUGFUT","MCX:SILVER21JULFUT","MCX:SILVERM21AUGFUT"]);
  • rakeshr
    We success to getQuote() and getOHLC and getLTP() but we want in same one funtion
    You can just use getQuote or getOHLC, both has last_price as well as OHLC value.
    $kite->getQuote(["MCX:GOLD21JUNFUT", "MCX:GOLDM21AUGFUT","MCX:SILVER21JULFUT","MCX:SILVERM21AUGFUT"]);

    $kite->getOHLC(["MCX:GOLD21JUNFUT", "MCX:GOLDM21AUGFUT","MCX:SILVER21JULFUT","MCX:SILVERM21AUGFUT"]);
Sign In or Register to comment.