1) I have made some strategy , every time do need to run my automation once in day. 2) Do I need to enter new token access code daily 3) during trading day if suppose my connectivity will go down due power failure or problem with internet connection , is there any problem caused for existing trade. 4) I need to open my system all time 5) what happens if it get locked 6) For intraday do i need to subscribe Historical API
Hi, It is mandatory by the exchange that a user has to log in manually at least once a day. Hence you need to log in at least once a day. An access token is valid for one trading day. So you need to fetch new access token every day. Your open position might not be closed if you lose connectivity. If it is intraday position then RMS might close your position but there will be Call N Trade charges on each order since it will be squared off by the Admin. It is better to run it on the cloud instead of running locally once your strategy is ready for production.
Kite Connect contains a base subscription which will serve live market, place order, modify order, fetch orderbook, positions, margins and more and an add-on subscription for historical data which is optional.
thanks for your answer sir, I have created program file in python,once irun file , its trigger or buy or sell, but next process not going though , could you tell any reason , or i need to refresh program file ,please tell me
now just placed crude oil mini sell , now next process not going through automatic, please see below screenshot.........................thanks Yesterday also multipole orders executed when i have done run but after i need to close all orders manually
@RL0520 as from your stack-trace it can be seen that "transaction_type= " parameter is missing.Could you confirm you are passing the value for that parameter.? you can refer docs here https://kite.trade/docs/pykiteconnect/
# Place an order based upon transaction type(BUY/SELL) def place_order(transaction_type): kite.order_place(tradingsymbol="CRUDEOILM17DECFUT", exchange="MCX", quantity=3, transaction_type=transaction_type, order_type="MARKET", product="MIS",trigger_price="3710",variety="co") ...................................................thanks for support
# Place an order based upon transaction type(BUY/SELL) def place_order(transaction_type): kite.order_place(tradingsymbol="CRUDEOILM17DECFUT", exchange="MCX", quantity=3, transaction_type=BUY/SELL, order_type="MARKET", product="MIS",trigger_price="3710",variety="co") Should be as it is in bold, @RL0520
It is mandatory by the exchange that a user has to log in manually at least once a day. Hence you need to log in at least once a day.
An access token is valid for one trading day. So you need to fetch new access token every day.
Your open position might not be closed if you lose connectivity. If it is intraday position then RMS might close your position but there will be Call N Trade charges on each order since it will be squared off by the Admin.
It is better to run it on the cloud instead of running locally once your strategy is ready for production.
Kite Connect contains a base subscription which will serve live market, place order, modify order, fetch orderbook, positions, margins and more and an add-on subscription for historical data which is optional.
I have created program file in python,once irun file , its trigger or buy or sell, but next process not going though , could you tell any reason , or i need to refresh program file ,please tell me
Yesterday also multipole orders executed when i have done run but after i need to close all orders manually
you can refer docs here https://kite.trade/docs/pykiteconnect/
def place_order(transaction_type):
kite.order_place(tradingsymbol="CRUDEOILM17DECFUT", exchange="MCX", quantity=3, transaction_type=transaction_type, order_type="MARKET",
product="MIS",trigger_price="3710",variety="co")
...................................................thanks for support
yes sir as above i am passing parameter,
def place_order(transaction_type):
kite.order_place(tradingsymbol="CRUDEOILM17DECFUT", exchange="MCX", quantity=3, transaction_type=BUY/SELL, order_type="MARKET",
product="MIS",trigger_price="3710",variety="co")
Should be as it is in bold, @RL0520