☰
Login
Signup
Home
›
Ashish_Mittal
›
Comments
Activity
Discussions
2
Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
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
December 2023
Visits
20
Last Active
May 27
Roles
Member
Activity
Discussions
2
Comments
Comments
This user has not commented yet.