Skip to content

Instantly share code, notes, and snippets.

View MooneDrJune's full-sized avatar
:octocat:
Enchanting Technology

DrJuneMoone MooneDrJune

:octocat:
Enchanting Technology
View GitHub Profile
@MooneDrJune
MooneDrJune / get_ce_pe_based_on_ltp.py
Last active November 10, 2023 15:39
get_ce_pe_based_on_ltp
# -*- coding: utf-8 -*-
"""
:description: A Blazingly Fast Custom Class To Fetch Instruments Token, Symbols, Expiries, LTP Etc. from KiteConnect.
:license: MIT.
:author: Dr June Moone
:created: On Monday September 26, 2022 11:17:53 GMT+05:30
"""
__author__ = "Dr June Moone"
__webpage__ = "https://github.com/MooneDrJune"
__license__ = "MIT"
date open high low close
09-09-2022 09:15 40601.15 40611.15 40601.15 40611.15
09-09-2022 09:15 40601.15 40601.15 40591.15 40591.15
09-09-2022 09:15 40591.15 40591.15 40581.15 40581.15
09-09-2022 09:15 40581.15 40581.15 40571.15 40571.15
09-09-2022 09:15 40571.15 40571.15 40561.15 40561.15
09-09-2022 09:15 40571.15 40581.15 40571.15 40581.15
09-09-2022 09:15 40581.15 40591.15 40581.15 40591.15
09-09-2022 09:15 40591.15 40601.15 40591.15 40601.15
09-09-2022 09:15 40601.15 40611.15 40601.15 40611.15
@MooneDrJune
MooneDrJune / createWindowsShortcut.py
Created August 22, 2022 11:40 — forked from bitsgalore/createWindowsShortcut.py
Create Windows Desktop shortcut to executable in Python Scripts directory
#! /usr/bin/env python
import os
import sys
import shutil
import sysconfig
import winreg
from win32com.client import Dispatch
def get_reg(name,path):
# Read variable from Windows Registry
import uuid, re
print(':'.join(re.findall('..', '%012x' % uuid.getnode())))