@genesis: Piece of code from my setup for your reference:
while days > 0:
df_temp = pd.DataFrame()
from_date = datetime.now() - timedelta(days=days)
to_date = from_date + timedelta(days…
@sujith: Sorry for digging up some old post, could you please explain this in more detail.
I am subscribed to historical as well as live data and completely automated my strategy(in python) to take live orders. I want to use tradingview's charting…
@rakeshr :
I have seen that you were recommending people not to use historical_data api for live trading.
Would this be a problem even if I am planning to use 15min time frame?
@rakeshr :
I found the issue, I was using date.today() instead of date.now() of datetime package ,which was also giving me time stamp at the time of execution and to_date is limiting the time period.
@rakeshr :
to_date = date.now() //#psuedo code
from_date = to_date - 100 //#psuedo code
def on_ticks(ws, ticks):
for i in range(0,len(planned_trades_df)):# Multiple instruments are stored in planned_df
symbol = planned_trades_df.loc[i…
@rakeshr :
I subscribed to historical data as well.
But I am constantly getting this message ."Insufficient permission for that call"
Other scripts with same tokens are working.
@rakeshr :
I was able to connect.
I have deleted and created multiple apps. billings show that money is deposited and debited multiple times. Have I lost all that money?
@rakeshr:
This is what it looks like:
https://kite.zerodha.com/connect/authorize?sess_id=XXXXXXXXXX&api_key=XXXXXXXXXXX
before authorizing.
Can I my kite app on phone logged-in while doing this?
Also, will the money be debited multiple times …
I am using it only once. Actually I dont think this is the problem. I dont see a request_token in URL. All I see is a sess_id and apikey. I am currently using the sess_id as the request token, and this can be the issue. How do I get a request token?