Post-Webinar Q&A with Kushal Jain – Trade Automation with Upstox API X Option Genie

Thank you for attending the webinar! If you have any questions or need further clarification on automating trades with Upstox API and Option Genie, feel free to post them here. Kushal Jain will be answering questions in this thread post-webinar.

1 Like

Sir, can i make a strategy in that if a 250 strike price CE fall 50 points in 5 min buy at 202 and sell at 220

Hi Kushal,

Thanks for an excellent session yesterday.

the steps i followed, but i am getting the below error.

please let me know what we have to change in the app of upstox to get this connection sorted.

Thanks and Regards,
Janaki Ramayya S
7350016397

Hi @Janakiramayya_Sakham,

The primary reason for this is:

  • Wrong redirect URL
  • Space in redirect url
  • Incorrect Key/secret

Hi @PAHADI_SWAG,

No you cannot do it currently.

Hi @Kushal I am not able to set up token , getting this error

I too am having the same problem as Ms. Janaki.

@Kushal if you don’t mind, can you please confirm that the referral URI is

https://upstox.optiongenie.in/User/OnAuthorization

1 Like

Hi @Kushal I am not able to set up token , getting this error

Issue while firing the strategy. the stack trace is attached herewith.

I gave the auth token and secret key and login. I am able to see my balance also in optiongenie.

Hi @seacube,

Yes, the URL is the same.

Hey @madhutowork,

While fetching data of LTP of entire option chain, there might be a break. We will add more re-try to address these edge cases.

Kal Vinit ji and aapne kaha tha koi brokerage charged nahi hoga algo trading me. But aaj algo ne 4 trade liye and uske against me 80 rupies brokerage le liya gaya. or profit aaya 42.
Kya faida aise trade ka. Aap brokerage nahi hataoge to koi trade nahi lega algo se. Even aap optiongenie ko free rakho to bhi.

Sir ji sonchiyega jarror. Jabtak brokerage nahi hatega. No algo trade.
Thank you.

Hi @madhutowork,

The offer is valid only if you have created the app for API key on or after 1st sept 2024 for the first time.

It seems that you have created any app for API key before 1st sept and hence the brokerage was not reversed for you.

Details for the offer can be found here: Update on ZERO brokerage via Upstox API

Thanks!

I have registered for Option Genie during the webinar on Oct.16 from 8 to 10 pm
Unable to proceed further.

Uday Nulkar

Hi @Uday_Nulkar

Can you share more details where you are unable to proceed further. Will need more information to address this.

Best,
Vinit

Hi @Panchanan123,

The possible reason for this can either be a wrong URL or wrong key and secret. Kindly verify these two things and let me know, thanks.

How can I setup a scalping strategy using OptionGenie?
I have checked the samples page as well as Algofox Academy in YouTube. There was no information available on how to setup a strategy using upstox.opsgenie. The videos available are for tradingview.
It would be great if you could add some tutorials on these setups in the upcoming Part 2 session.

Hey @warrierrakesh,

Thanks for your feedback. We are working on adding these tutorial videos and we will be live very soon.

Also, scalping is already available in OptionsGenie by the name Re-cost. Do explore the option of Re cost and give us your feedback.

Hello Kushal,

Great sessions and a great app. I have noticed a few issues that I am not sure if its my doing. It would be great if you could share your insights on these.

I have noticed an issue if I stop and restart a strategy with Re-Execute or Re-Cost. If the initial order is closed and then I pause the strategy. When resumed, it places an order based on a previous value and ends up in a loss trade almost immediately.

I tested the same thing a couple of times and it placed an order at a higher price and hit stop loss almost immediately.

Also the max characters allowed in a strategy name is 8. If i have a strategy with 8 characters in name and I duplicate it, A new strategy is created with the previous name + 1. And the name cannot be edited and always ends in error stating name cannot be more than 8 characters.

And finally, the execution times, Is there a way to create a start and stop option where we dont have to input timings and then wait for it to trigger?