Skip to content

Instantly share code, notes, and snippets.

@balu2903
balu2903 / API-MasterList.txt
Created March 21, 2019 19:17 — forked from AlokGaira/API-MasterList.txt
Sample strateries in Python using UpstoxAPI
class Session:
__init__(api_key)
set_api_secret(api_secret)
set_redirect_uri(redirect_uri)
set_code(code)
get_login_url(self)
retrieve_access_token(self)
class Upstox:
@balu2903
balu2903 / interactive_upstox_api_sample.py
Created February 17, 2019 17:04 — forked from svishi/interactive_upstox_api_sample.py
Python SDK - Sample Code - Interactive API
from upstox_api.api import *
from datetime import datetime
from pprint import pprint
import os, sys
from tempfile import gettempdir
try: input = raw_input
except NameError: pass
u = None