Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. manojtripathi96
    3. Posts
    M
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by manojtripathi96

    • RE: Announcing Option Greeks API for SmartAPI Users

      @Moderator_1 BRO THIS THING DOES NOT WORK
      import axios from 'axios';
      const requestData = {
      "name": "TCS",
      "expirydate": "28MAR2024"
      };

      var config = {
      method: 'post',
      url: 'https://apiconnect.angelbroking.com/rest/secure/angelbroking/marketData/v1/optionGreek',
      data: requestData
      };

      axios(config)
      .then(function(response) {
      console.log(JSON.stringify(response.data));
      })
      .catch(function(error) {
      console.log(error);
      });

      {"success":false,"message":"Invalid Token","errorCode":"AG8001","data":""}

      posted in General Discussion
      M
      manojtripathi96
    • RE: Getting Encrypted Data in Websocket

      let atob = require('atob');
      let pako = require('pako');

      you have to use this two library to decrypt the data

      posted in Bugs
      M
      manojtripathi96