Ashish_Mittal

import requests from kiteconnect import KiteConnect from decimal import Decimal import logging import time import csv import requests api_key = '' access_token = '' symbol = 'RELIANCE' trigger_price = 2581.7 quantity = 1 order_type = 'LIMIT' transaction_type = 'BUY' product = 'CNC' last_price = 2590.25 gtt_order_params = { 'type': 'SINGLE', 'condition': { 'exchange': 'NSE', 'tradingsymbol': symbol, 'trigger_values': [trigger_price], 'last_price': last_price, }, 'orders': [ { 'exchange': 'NSE', 'tradingsymbol': symbol, 'transaction_type': transaction_type, 'quantity': quantity, 'order_type': order_type, 'product': product, 'price': trigger_price } ] } try: response = requests.post( 'https://api.kite.trade/gtt/triggers', headers={ 'X-Kite-Version': '3', Please help.

About

Username
Ashish_Mittal
Joined
Visits
20
Last Active
Roles
Member