amit0rana / betterOptionsTrading

This repository has 2 userscripts. (1) To add features to kite.zerodha.com (2) To add features to pro.upstox.com
The Unlicense
117 stars 60 forks source link

With latest changes pulled in, Ajax is facing error for automatically adding strikes, can you elaborate on the inputs required? API and non API way both not working #39

Open sidonkar opened 3 months ago

sidonkar commented 3 months ago

Request fails with {"status": "error","message": "Bad Request","error_type": "InputException"} 400 Bad Request

enctoken is working for SL trail and save profits

amit0rana commented 3 months ago

Hi Onkar, are you referring the new feature which lets you add ATM+- n strikes in the watchlist?

sidonkar commented 3 months ago

yes @amit0rana i am talking about the same

amit0rana commented 3 months ago

Which version are you using? Works fine with 4.07

sidonkar commented 3 months ago

I merged 4.07 into my fork, i have my own changes too but facing problems, Following is merge link https://github.com/amit0rana/betterOptionsTrading/commit/312bb3f3358a3348dbc5e1e13872513598721634 I will double check my work once and if i am at fault will close this in 2 days. BTW thank you very much for the script, much respect ! do check out my fork if u find anything interesting https://github.com/sidonkar/betterOptionsTrading

amit0rana commented 3 months ago

Just fyi, many apis have stopped working without the api key, even this feature 'OC' (short for option chain) only works with api key.

sidonkar commented 3 months ago

I tried with api key too but that did not work, i had one system in place via the sensibull option chain which i have checked in on my fork, please check if you find it usefull, its much more user friendly i feel and wont require api key !

amit0rana commented 1 month ago

For api key you need to generate token first. I have not added token generation code to this repo.

I checked your repo today, and I am taking in some good features. Will do it today once I go through sensibull feature as well.

Thanks for adding new features.