☰
Login
Signup
Home
›
General
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
June 2017
sujith
June 2017
Pushwinder
access token validity
Pushwinder
June 2017
in
General
what is the duration of access token for the day??
At all are the timings when it changes, does it change after opening of indian market???
Pushwinder
June 2017
what is the duration of access token for the day??
What all are the timings when it changes, does it change after opening of indian market???
sujith
June 2017
Hi
@Pushwinder
,
An access token is valid for one trading session. If you log in today, then the session is valid until next day morning.
All access tokens are flushed before 8:30 AM.
Pushwinder
June 2017
I am not able to place orders,
getting this message PUT ORDER REQ RECEIVED on kite orderbook, but trade is not going through
kite.order_place(tradingsymbol="NATURALGAS17JUNFUT", quantity=1, exchange="MCX", transaction_type="SELL", order_type="MARKET", product="CO",trigger_price=194)
Pushwinder
June 2017
{'exchange_order_id': None, 'disclosed_quantity': 0, 'market_protection': 0, 'tradingsymbol': 'NATURALGAS17JUNFUT', 'tag': None, 'order_type': 'MARKET', 'trigger_price': 194, 'cancelled_quantity': 0, 'instrument_token': 7, 'status_message': None, 'status': 'PUT ORDER REQ RECEIVED', 'product': 'CO', 'exchange': 'MCX', 'order_id': '170602000731806', 'price': 0, 'pending_quantity': 1, 'validity': 'DAY', 'placed_by': 'RP4766', 'order_timestamp': '2017-06-02 19:52:58', 'parent_order_id': None, 'exchange_timestamp': None, 'average_price': 0, 'variety': 'co', 'transaction_type': 'SELL', 'filled_quantity': 0, 'quantity': 1}
I cant locate the problem, kindly help
sujith
June 2017
Hi
@Pushwinder
,
Product for an order can be only NRML, MIS or CNC. Check out example for placing cover order
here
.
Pushwinder
June 2017
Thanks, got it
This discussion has been closed.
What all are the timings when it changes, does it change after opening of indian market???
An access token is valid for one trading session. If you log in today, then the session is valid until next day morning.
All access tokens are flushed before 8:30 AM.
getting this message PUT ORDER REQ RECEIVED on kite orderbook, but trade is not going through
kite.order_place(tradingsymbol="NATURALGAS17JUNFUT", quantity=1, exchange="MCX", transaction_type="SELL", order_type="MARKET", product="CO",trigger_price=194)
I cant locate the problem, kindly help
Product for an order can be only NRML, MIS or CNC. Check out example for placing cover order here.