ThinkScript Portfolio Functions In ThinkOrSwim Are Now Working! - useThinkScript Community (2024)

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

  • 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

ThinkScript Portfolio Functions In ThinkOrSwim Are Now Working! - useThinkScript Community (4)

To populate the watchlist with Portfolio Functions
1. click on the gear to the right of your columns
2. click on Portfolio

ThinkScript Portfolio Functions In ThinkOrSwim Are Now Working! - useThinkScript Community (5)

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

  • Customize Items Available.png

    247.5 KB· Views: 37

  • Gear icon choices.png

    245.2 KB· Views: 40

  • Watchlist.png

    243.9 KB· Views: 38

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.

ThinkScript Portfolio Functions In ThinkOrSwim Are Now Working! - useThinkScript Community (11)


https://usethinkscript.com/threads/entries-and-target-for-thinkorswim.10302/#post-91493

Upvote0Downvote

Solution

You must log in or register to reply here.

ThinkScript Portfolio Functions In ThinkOrSwim Are Now Working! - useThinkScript Community (2024)
Top Articles
Horse racing leaders consider Paris Olympics equestrian scandal a lesson for their sport
Capitalization Worksheets, Lessons, and Tests | Language Arts Activities
4-Hour Private ATV Riding Experience in Adirondacks 2024 on Cool Destinations
Apex Rank Leaderboard
Otterbrook Goldens
Sam's Club Gas Price Hilliard
Overzicht reviews voor 2Cheap.nl
Youtube Combe
Sitcoms Online Message Board
Delectable Birthday Dyes
Seafood Bucket Cajun Style Seafood Restaurant in South Salt Lake - Restaurant menu and reviews
Gfs Rivergate
Koop hier ‘verloren pakketten’, een nieuwe Italiaanse zaak en dit wil je ook even weten - indebuurt Utrecht
Cooking Fever Wiki
Cvb Location Code Lookup
Conan Exiles Colored Crystal
Google Feud Unblocked 6969
Idaho Harvest Statistics
Costco Gas Foster City
Keurig Refillable Pods Walmart
Amih Stocktwits
Hermitcraft Texture Pack
Promiseb Discontinued
Craigslist Personals Jonesboro
Hampton University Ministers Conference Registration
F45 Training O'fallon Il Photos
Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
Pensacola Tattoo Studio 2 Reviews
Masterbuilt Gravity Fan Not Working
Ardie From Something Was Wrong Podcast
The Collective - Upscale Downtown Milwaukee Hair Salon
Hrconnect Kp Login
Martins Point Patient Portal
Lawrence Ks Police Scanner
Rush County Busted Newspaper
Purdue Timeforge
Angela Muto Ronnie's Mom
Lowell Car Accident Lawyer Kiley Law Group
Tamilrockers Movies 2023 Download
Sitting Human Silhouette Demonologist
Arcane Odyssey Stat Reset Potion
Polk County Released Inmates
2024 Ford Bronco Sport for sale - McDonough, GA - craigslist
Fifty Shades Of Gray 123Movies
Final Jeopardy July 25 2023
Craigs List Palm Springs
Alba Baptista Bikini, Ethnicity, Marriage, Wedding, Father, Shower, Nazi
Huntsville Body Rubs
Acuity Eye Group - La Quinta Photos
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Famous Dave's BBQ Catering, BBQ Catering Packages, Handcrafted Catering, Famous Dave's | Famous Dave's BBQ Restaurant
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 6484

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.