Navigation

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

    Topics created by Vishal.naykawala

    • V

      The remote server returned an error: (403) Forbidden.
      General Discussion • • Vishal.naykawala  

      1
      0
      Votes
      1
      Posts
      14
      Views

      No one has replied

    • V

      API to get Holiday
      General Discussion • • Vishal.naykawala  

      4
      1
      Votes
      4
      Posts
      49
      Views

      A

      You can use NSE API import datetime import pandas as pd import requests def is_holiday(date: datetime.date): headers = {'user-agent': 'PostmanRuntime/7.26.5'} endpoint = "https://www.nseindia.com/api/holiday-master?type=trading" response = requests.get(endpoint, headers=headers) assert response.status_code == 200, response.json() holidays_json = response.json()['FO'] holidays_df = pd.DataFrame(holidays_json) holidays_df['tradingDate'] = pd.to_datetime(holidays_df['tradingDate']) return pd.Timestamp(date) in holidays_df['tradingDate'].values
    • V

      Is there any solution to get the result of multiple symbols/scripts in a single call?
      General Discussion • • Vishal.naykawala  

      3
      0
      Votes
      3
      Posts
      20
      Views

      V

      @anankagroup Not this, In Zerodha, there is a provision to make an array list of scripts and pass to it to get the LTP of the script in a single call. Like, Reliance, HUL, TCS, BAJAJELE can pass as array and single response can get which can be use further.
    • V

      Invalid TOTP for c#
      General Discussion • • Vishal.naykawala  

      34
      1
      Votes
      34
      Posts
      245
      Views

      P

      @saleem its working in c# .net. otp.net is working fine