Recent Activity

  • Channagiri
    hi Sujith ji, i have been unable to connect to the websocket siince 4 days. i am getting the below error;
    Connection error: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (429 - TooManyRequests))
    Connection closed: 1006 - connection was closed uncleanly (WebSocket connection upgrade failed (429 - TooManyRequests)). the same python code works perfectly for a different client ID, i have been using the code for 2 years almost and never had an issue, how do i sort the issue now? is my client id blocked from using websockets? please HELP i am unable to run my algos.
    regards, Channagiri(Bengaluru)
    October 2024
  • Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024
  • Test!
    October 2024
  • Test!
    October 2024
  • MF investor learning to trade!
    October 2024
  • Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024
  • MF investor learning to trade.
    October 2024
  • MF investor learning to trade!
    October 2024
  • Zubeda, biju, lightspeedzoom, ND1507, Ved_1306 and 4 others joined.
    Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024
  • MF investor learning to trade
    October 2024
  • Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024
  • rubygandhilal
    import os
    import time
    import logging
    import requests
    import redis
    from dash import Dash, html, dcc
    from dash.dependencies import Input, Output
    from optionchain_stream import OptionChain

    # Configure logging
    logging.basicConfig(filename='option_stream.log', level=logging.INFO)

    # Redis configuration
    REDIS_HOST = 'localhost'
    REDIS_PORT = 6379

    # Kite API credentials
    API_KEY = os.getenv('KITE_API_KEY')
    API_SECRET = os.getenv('KITE_API_SECRET')
    ACCESS_TOKEN = os.getenv('KITE_ACCESS_TOKEN')
    SYMBOL = 'NIFTY'
    EXPIRY_DATE = '2024-10-10'

    # Connect to Redis
    try:
    redis_client = redis.Redis(host=REDIS_HOST, port=REDIS_PORT)
    redis_client.ping()
    print("Connected to Redis.")
    except redis.ConnectionError as e:
    print("Failed to connect to Redis. Make sure Redis server is running.")
    exit(1)

    # Create an OptionChain object
    def create_option_stream():
    try:
    option_stream = OptionChain(
    symbol=SYMBOL,
    expiry=EXPIRY_DATE,
    api_key=API_KEY,
    October 2024
  • Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024
  • devanshi
    Hi,
    Have historical futures and options data for both index and equity fno scripts from 2010 -2024 OCT 3rd.
    Dm 8584079835 if needed.
    October 2024
  • devanshi
    Hi,
    Have historical futures and options data for both index and equity fno scripts from 2010 -2024 OCT 3rd.
    Dm 8584079835 if needed.
    October 2024
  • devanshi
    Hi,
    Have historical futures and options data for both index and equity fno scripts from 2010 -2024 OCT 3rd.
    Dm 8584079835 if needed.
    October 2024
  • devanshi
    Hi,
    Have historical futures and options data for both index and equity fno scripts from 2010 -2024 OCT 3rd.
    Dm 8584079835 if needed.
    October 2024
  • devanshi
    Hi,
    Have historical futures and options data for both index and equity fno scripts from 2010 -2024 OCT 3rd.
    Dm 8584079835 if needed.
    October 2024
  • algos
    Hi If you want accurate historical data for expired Futures and options, Then please let me know. I have FNO Data from 2010 to 2024 . Please let me know on telegram - @Quantitativtra
    ( Can also provide upcoming updates too)
    October 2024
  • algos
    Hi If you want accurate historical data for expired Futures and options, Then please let me know. I have FNO Data from 2010 to 2024 . Please let me know on telegram - @Quantitativtra
    ( Can also provide upcoming updates too)
    October 2024
  • algos
    Hi If you want accurate historical data for expired Futures and options, Then please let me know. I have FNO Data from 2010 to 2024 . Please let me know on telegram - @Quantitativtra
    ( Can also provide upcoming updates too)
    October 2024
  • Welcome Aboard!
    October 2024
  • Welcome Aboard!
    October 2024