Column for Net Notional Exposure?

richardm

New member
VIP
See screencap below. Currently short three shares and a bear call vertical for an overall net delta of -8.16.

Can I make a column that multiplies net Delta times Mark or Last? I'm trying to construct a point-in-time number for notional dollar exposure to the underlying.

GZb7DuR.png
 
Solution
I want to know my "notional" exposure to a given stock. Sometimes this exposure is mixed options and common shares; sometimes it's purely options.

I have to manually take the overall delta (-8.16 per the screencap above) and multiply by the current share price (184) to determine my notional exposure: $1504. In other words, my net exposure to this stock -- taking into account all my open positions -- is equivalent to being short $1504 worth of common stock.

I run this calculation by hand several times per day. I'd like ToS to do it for me.

without sharing the code of what you are trying to do, its hard for me to get an idea of what you are trying to do. so all i can assume is you are trying to find the code to get the...
See screencap below. Currently short three shares and a bear call vertical for an overall net delta of -8.16.

Can I make a column that multiplies net Delta times Mark or Last? I'm trying to construct a point-in-time number for notional dollar exposure to the underlying.

GZb7DuR.png


Delta x Close Column

Code:
#Delta x Close Column
def var_delta = Delta();
plot scan = var_delta*close;
 
That did... something...

zWNiavf.png


For the stock position it justs needs to multiply by the qty held.

For the options I think it's looking at the close price of the option itself and not (100 * option qty * closing price of underlying symbol).

This is where it gets tricky because I know GetUnderlyingSymbol() returns a nearly useless string value that can't be parsed within the wonderful ToS halfbakery.
 
you're going to have to explain a lot better and in detail, i have no clue what you are trying to explain, it appears as if you have 3 different concerns that are each only partially explained.
 
I want to know my "notional" exposure to a given stock. Sometimes this exposure is mixed options and common shares; sometimes it's purely options.

I have to manually take the overall delta (-8.16 per the screencap above) and multiply by the current share price (184) to determine my notional exposure: $1504. In other words, my net exposure to this stock -- taking into account all my open positions -- is equivalent to being short $1504 worth of common stock.

I run this calculation by hand several times per day. I'd like ToS to do it for me.
 
I want to know my "notional" exposure to a given stock. Sometimes this exposure is mixed options and common shares; sometimes it's purely options.

I have to manually take the overall delta (-8.16 per the screencap above) and multiply by the current share price (184) to determine my notional exposure: $1504. In other words, my net exposure to this stock -- taking into account all my open positions -- is equivalent to being short $1504 worth of common stock.

I run this calculation by hand several times per day. I'd like ToS to do it for me.

without sharing the code of what you are trying to do, its hard for me to get an idea of what you are trying to do. so all i can assume is you are trying to find the code to get the quantity of the position

Code:
def openCost = GetQuantity() * GetAveragePrice();

Code:
def var_delta = Delta();
plot scan = GetQuantity() *var_delta*close*100;

is that maybe what you are looking for?
 
Solution

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
291 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top