Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted (edited)
1 hour ago, atljam said:

gotV1.1 running earlier got values but now shows error , also looking forward to the latest iteration, compliments to all contributors. Thanks

image.png.3e7aecc0e9bdd9d4a6be3f28238963e5.png

I think for ES you just have to have blank in connect symbol and it will auto convert levels from $SPX.  You chart on which you load should be ES chart.  I think this is how I got it working.  also make sure the flag for offset is checked

Edited by axsx
Posted

Hi everyone,

thanks a lot for sharing this tool, really appreciate the work behind it.

I just have a few questions before setting everything up:

  • Is it possible to install and use this without a Charles Schwab account, or is a Schwab account mandatory for the API access?
  • Do we need both a Schwab trading account AND a developer account, or is the developer access alone enough?
  • Could someone outline the exact steps required to get this fully running (from Python setup to NT8 integration)?
  • Are there any common issues (API approval, token errors, permissions) we should be aware of before starting?

Would really help to understand the full setup process before diving in.

Thanks in advance 🙏

Posted

@kimsam  Few ideas to consider in your next updates 

1. Calculate gamma intensity based on expiry distribution. Determines what % of total gamma expires in the next 7 days. Higher % = more sticky levels (scalp only) Lower % = more flexible levels (can hold longer). if > 65 ==> EXTREME > 50  HIGH     >  35 MODERATE  > 15 LOW

2.  Stability score as a weighted mix of gamma concentration and distance from the gamma flip level. 

  • Compute gamma concentration:    concentration=std(TotalGamma) / max⁡(TotalGamma)−min⁡(TotalGamma)concentration  (or 0 if the range is 0).

  • Compute normalized distance from flip       flip_stability=min(100, ((spot_price − gamma_flip) *1000)/spot_price)

  • Combine them into one score: stability=40*concentration+60*flip_stability

Then label the regime based on that numeric stability value:

  • If stability < 30 → "UNSTABLE".

  • If 30 ≤ stability < 60 → "MODERATE".

  • If stability ≥ 60 → "STABLE".

 

 

3. Pin force :   Directional pin pull strength (index-style 0–100+ score). Positive = pin above spot (upward pull), negative = pin below spot.  

Steps could be :  a) Get gamma at pin (or nearest strike)

b) Normalize by total absolute gamma (how concentrated this pin is)

c) Penalize by distance in % terms

d) Add direction and calculate Pin force.  

 

4.  Flow divergence :     YES if volume and OI point opposite directions

divergence = abs(call_vol_pct - call_oi_pct) > 0.15

Posted (edited)

image.thumb.png.36dfedb652232570a467c7bbef5c7aae.png

Maybe you have forgotten to include GexLevel.cs or a class definition ?

@kimsam

 

To get around this  I changed SchwabGEXPro to KimSamGex  and added  in the class attribute level as a doubleimage.png.943f09ba77dd25de7c5d5d27ba51516d.png image.png.941eeff4bfd424d986bf366d1d9e9eb5.png

Edited by axsx
Posted (edited)

image.thumb.png.9bcf1557647aa4d7663edae187b05cea.png

image.png.21040152fd95606a53a60b0b5f9af9c4.png

 

@kimsam  This is spy chart with symbol blank  ;    we have a catch 22 situation,  price multiplier is actually dividing in the dashboard.  the lines on chart not sure if they are correct either.  spy cannot have a peak flip of 448.  do you get the same 

 

 if on a spx chart I add the indicator with symbol SPY,  even if the price multipler is 10, it divides it on the dashboard and does not shows the levels converted to 63xx range for spx.     Since the auto convert flag is not there, there is ambugity of what price offset field does without this auto convert flag.   Please check this. 

 

Dashboard should in header say SPY-53011 port; currently port is missing and convert levels flag status somewhere Convert :  Yes or No. 

One more thing I noticed,  if I want to change the price offset from the indicator parameter maintennace window, it keeps coming back again even if I wipe it off using backspace.  I am not sure why

 

In previous version the   we have P # 1   and say C  #1  in this version we dont see a number after P and C .  Now are these just some high concentraction of GEX or  irrespective of puts or calls we want to name them as GEX 1, GEX 2, GEX 3, GEX 4 that denote the highest to lowest of exposure.  This question I had posed earlier in one of my posts.   We need to know what the P and C levels are on the chart and what do they denote.

In the dashboard   GEX ratio or something like that is needed. as the absolute call‑gamma versus put‑gamma ratio.

 

Edited by axsx
Posted
8 minutes ago, kimsam said:

try use price multiplier 1   and chech the price offset

for spy chart with connect  symbol blank, price multiplier 1 or 10 does not make a difference, dashboard looks like divided by ten or decimal position needs to be shifted to the right.   Looks like display issue.   offset always shows -191.11

on a SPX chart withconnect  symbol set to SPY and price multiplier 10, offset shows as 3820.79 and dashboard shows  63.48  (either two decimals shift or it is dividing spy by 10).  

On a spx chart with connect  symbol set to SPX  price multipler 1 or 10;  the py script tries spy first then starts trying alternate ones like spx ^spx $spx etc. the option chain never gets fetched even if strike range is reduced. the 502 error or indication of api call status is not output in the py console.  image.png.14766cc308afe2a5a56368e6929d12d8.png

Posted
19 minutes ago, kimsam said:

try run it es and chek settings

ES chart  connect symbol blank, price multiplier is   1 or 10.  dashboard shows correctly.  but levels on charts are again too off for GEX,   strike range is 10%  offset shown is  -58253.75image.thumb.png.f7804d296be0f325a8d1adc88709e520.png

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...