well lets say i need live data
the code i used:
import logging
import csv
from kiteconnect import KiteTicker
logging.basicConfig(level=logging.DEBUG)
# Initialize
kws = KiteTicker("xxxx", "xxxx")
# Token number of the instrument
token = 12020482…
well i tried it and it work now i have the following issue
code:
from kiteconnect import KiteConnect
from kiteconnect import KiteTicker
import datetime
# Initialize your API key and access token
api_key = "xxxxxxxxxxxxx"
access_token = "xxxxxxxxxx…
i have this which gives me the access token
import requests
import os
def get_access_token(api_key, zerodha_id, zerodha_password, zerodha_pin):
# Step 1: Get the request token
kite_url = "https://kite.zerodha.com/api/login"
kite_data …