mpujara

About

Username
mpujara
Joined
Visits
10
Last Active
Roles
Member

Comments

  • basically the difference lies in where the on_tick is running , nothing else ? as either ways i am creating threads of my own because of my requirement there is like nothing ui or sth which is like running in the main thread the main thread code als…
  • @Nivas actually i know this , but i was confused what should i use as in either of ways i was creating my own thread at the end only for the other task ..my need was only to fetch live data and like update the google sheet per minute
  • import os import json import threading, time from datetime import datetime, timedelta, timezone from kiteconnect import KiteConnect, KiteTicker from dotenv import load_dotenv import gspread load_dotenv() API_KEY = os.getenv("KITE_API_KEY") TOKEN_…
  • i am aware of them , but never worked so basically the thing is that i was confused should i create a thread of my own and run websocket in the main thread only or should i run the websocket in diff background thread and my main thread run on its ow…