Sort by dateSort by votes
P
perroveloz
New member
- May 22, 2024
- #2
Hi, since the merge some of my customs labels not working, I wonder if I am the only one of some of you are experimenting the same issue
this an example of the code thats not working for me
def qty = GetQuantity();
def tp = getaveragePrice();
addlabel (yes, qty, color.white);
addlabel (yes, tp, color.white);
I really appreciate your help
Upvote0Downvote
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
SIGN UP NOW LEARN MORE
MerryDay
Administrative
Staff member
Staff
VIP
Lifetime
- May 22, 2024
- #3
Currently, thinkscript portfolio functions are not executing as they should.
I am 'assuming' that this will be a long-term problem.
But this forum has no affiliation with Charles Schwab, so your guess is as good as mine.
@Mark1126 @perroveloz
Last edited by a moderator:
Upvote0Downvote
S
sparhawk
New member
- Jul 11, 2024
- #4
MerryDay said:
Currently, thinkscript portfolio functions are not executing as they should.
I am 'assuming' that this will be a long-term problem.But this forum has no affiliation with Charles Schwab, so your guess is as good as mine.
@Mark1126 @perroveloz
I have given it plenty of time, hoping that things would begin working correctly again, but my indicator still is not functioning correctly since the switch to Schwab. Very frustrating as it is an integral part of my trading.
This is one indicator I normally only give to students who take my options training course, but I would be happy to send the indicator to anyone who is a more experienced coder to me, and feels they can get it working again properly.
It simply is no longer recognizing the qty or avg functions, which takes away all of the usefulness from the indicator. I can't understand why the functions will no longer work, since they are standard thinkscript functions.
Please let me know if you think you can help or have an idea on what is causing the issue!
Last edited by a moderator:
Upvote0Downvote
useThinkScript
Administrative
Staff member
Staff
VIP
Lifetime
- Jul 25, 2024
- #5
The portfolio variables are non-functioning in ThinkScript since the merger.
Schwab has not integrated their portfolio tracking into ThinkScript.
Currently, we have not been given any sign that they will provide access to this data.
So the forum is currently designating these functions as depreciated.
To read more about this issue and to find the members' favorite portfolio workarounds:
https://usethinkscript.com/threads/...o-functions-in-thinkorswim.18808/#post-142000
@sparhawk
Last edited by a moderator:
Upvote0Downvote
useThinkScript
Administrative
Staff member
Staff
VIP
Lifetime
- Jul 25, 2024
- #6
ThinkScript portfolio functions are not working.
Schwab has stated: This is a known issue.
Schwab has not said whether these script functions will be available going forward.
Members are using two alternatives to track their trades
detaching the monitor tab, set to Activity and Positions
and/or
creating a watchlist
The watchlist can utilize the separate built-in portfolio functions, which do work. But they cannot be edited or customized.
To see all your holdings in a watchlist
1. click on one of the watchlists at the top of the list: All (or Current) Account Positions
To populate the watchlist with Portfolio Functions
1. click on the gear to the right of your columns
2. click on Portfolio
Last edited:
Upvote0Downvote
V
victor_david
New member
VIP
- Aug 8, 2024
- #7
OK. First you mention two solutions; detaching the monitor tab and creating a watchlist. I only see creating a watchlist demonstrated here. The attached screen shots are what I encountered. First only open positions are shown in the watchlist although "All Positions" is selected. On the RH side you can see the Account Statement is pretty much the same. Closed positions are shown but there is only a P/L YTD amount. You can't when you bought or sold the position what the trade price was or what the position was (was it a call or a put?). Second there is no portfolio option under the gear icon and the options that are there do not include portfolio info most notably "trade price". As far as the merger is concerned I was noticing this same issue in 2021 but I was trying to learn options and had other stuff to worry about so I'd figure it out later but evidently..... I know no one on this forum has control over any of this but I have a problem with my trades being recorded in invisible ink. Am I the only one? How can I review how I'm doing if I can't see what I did? That ten ninety whatever they send at the end of the year doesn't help either it's too late and it may as well be written in Chinese. And yes the screen shots are from the Paper Money account but the Live Account is the same only worse, "All Positions" is not even and option there. I was looking at Schwab's YT channel "Trader" last night and I saw some related stuff on there. Maybe I can get some answers there.
Attachments
Upvote0Downvote
MerryDay
Administrative
Staff member
Staff
VIP
Lifetime
- Aug 9, 2024
- #8
victor_david said:
OK. First you mention two solutions; detaching the monitor tab and creating a watchlist. I only see creating a watchlist demonstrated here. The attached screen shots are what I encountered. First only open positions are shown in the watchlist although "All Positions" is selected. On the RH side you can see the Account Statement is pretty much the same. Closed positions are shown but there is only a P/L YTD amount. You can't when you bought or sold the position what the trade price was or what the position was (was it a call or a put?). Second there is no portfolio option under the gear icon and the options that are there do not include portfolio info most notably "trade price". As far as the merger is concerned I was noticing this same issue in 2021 but I was trying to learn options and had other stuff to worry about so I'd figure it out later but evidently..... I know no one on this forum has control over any of this but I have a problem with my trades being recorded in invisible ink. Am I the only one? How can I review how I'm doing if I can't see what I did? That ten ninety whatever they send at the end of the year doesn't help either it's too late and it may as well be written in Chinese. And yes the screen shots are from the Paper Money account but the Live Account is the same only worse, "All Positions" is not even and option there. I was looking at Schwab's YT channel "Trader" last night and I saw some related stuff on there. Maybe I can get some answers there.
Anything on youtube that claims to provide a solution must be old.
The custom scripting portfolio functions have been depreciated since the Schwab final integration of
May 31, 2024.
They don't exist anymore, therefore no custom scripting workarounds.
Make sure that you are placing a complaint with Schwab.
This is a critical need for users of ToS.
Upvote0Downvote
V
victor_david
New member
VIP
- Aug 9, 2024
- #9
FYI I did notice while watching a YT video that there is a "days back" button on Account History sub tab that let's you go back up to 370 days. But the default is 1 day so normally stuff just vanishes after 2 days if you don't adjust? Also it seems you can download the info so that's all good. But for some reason that button is non functional in Paper Money. That ****s.
Upvote0Downvote
useThinkScript
Administrative
Staff member
Staff
VIP
Lifetime
- Aug 22, 2024
- #10
It appears that Schwab has resolved the issues with the portfolio functions.
https://usethinkscript.com/threads/entries-and-target-for-thinkorswim.10302/#post-91493
Upvote0Downvote
Solution
You must log in or register to reply here.