Title: Display String Representation in C# Objects Nested in List · Issue #69 · QuantConnect/pythonnet · GitHub
Open Graph Title: Display String Representation in C# Objects Nested in List · Issue #69 · QuantConnect/pythonnet
X Title: Display String Representation in C# Objects Nested in List · Issue #69 · QuantConnect/pythonnet
Description: Details The print method in Jupyter doesn't display string from __repr__/__str__ when they are nested in a list: qb = QuantBook() tickers = ["ITA", "PPA", "XAR", "DFEN", "SHLD"] symbols = [] for ticker in tickers: symbols.append(qb.AddEq...
Open Graph Description: Details The print method in Jupyter doesn't display string from __repr__/__str__ when they are nested in a list: qb = QuantBook() tickers = ["ITA", "PPA", "XAR", "DFEN", "SHLD"] symbols = [] for ti...
X Description: Details The print method in Jupyter doesn't display string from __repr__/__str__ when they are nested in a list: qb = QuantBook() tickers = ["ITA", "PPA", "XAR", &...
Opengraph URL: https://github.com/QuantConnect/pythonnet/issues/69
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Display String Representation in C# Objects Nested in List","articleBody":"### Details\r\n\r\nThe `print` method in Jupyter doesn't display `string` from `__repr__`/`__str__` when they are nested in a list:\r\n\r\n```python\r\nqb = QuantBook()\r\ntickers = [\"ITA\", \"PPA\", \"XAR\", \"DFEN\", \"SHLD\"]\r\nsymbols = []\r\n\r\nfor ticker in tickers:\r\n symbols.append(qb.AddEquity(ticker, Resolution.Daily).Symbol)\r\n\r\nprint(symbols)\r\n```\r\n\r\nDisplays:\r\n```\r\n[\u003cQuantConnect.Symbol object at 0x7f9b74b40608\u003e,\r\n \u003cQuantConnect.Symbol object at 0x7f9b7638ba48\u003e,\r\n \u003cQuantConnect.Symbol object at 0x7f9b746d7c08\u003e,\r\n \u003cQuantConnect.Symbol object at 0x7f9b746d71c8\u003e,\r\n \u003cQuantConnect.Symbol object at 0x7f9b746d7108\u003e]\r\n```\r\n\r\nwhen it should:\r\n```\r\n['ITA', 'PPA', 'XAR', 'DFEN', 'SHLD']\r\n```","author":{"url":"https://github.com/AlexCatarino","@type":"Person","name":"AlexCatarino"},"datePublished":"2022-08-03T15:25:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/69/pythonnet/issues/69"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:688c27cb-360c-a98a-eba1-f5a56227379c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B98E:199F7E:2BBCDE1:3D82861:6971065E |
| html-safe-nonce | 256baa46effea10a773a01dc2e26491e36f23978dcb98f5c582f8dffae41d8c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOThFOjE5OUY3RToyQkJDREUxOjNEODI4NjE6Njk3MTA2NUUiLCJ2aXNpdG9yX2lkIjoiMjg3MDQwMzUzNDE5MDM0Nzg3MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1efc876cee422e0ff460842ccca05872827117e317c54661d1d75d64f3e5c787 |
| hovercard-subject-tag | issue:1327402874 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/QuantConnect/pythonnet/69/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6adc2798bd902ca917223a518eaf06ef3124132591f1245f45fc11589d740f77/QuantConnect/pythonnet/issues/69 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6adc2798bd902ca917223a518eaf06ef3124132591f1245f45fc11589d740f77/QuantConnect/pythonnet/issues/69 |
| og:image:alt | Details The print method in Jupyter doesn't display string from __repr__/__str__ when they are nested in a list: qb = QuantBook() tickers = ["ITA", "PPA", "XAR", "DFEN", "SHLD"] symbols = [] for ti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexCatarino |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d0e7b0d5e294a53c55f49e80755e785182080c6e6a48c9ed353bedddaee69f4 |
| turbo-cache-control | no-preview |
| go-import | github.com/QuantConnect/pythonnet git https://github.com/QuantConnect/pythonnet.git |
| octolytics-dimension-user_id | 3912814 |
| octolytics-dimension-user_login | QuantConnect |
| octolytics-dimension-repository_id | 78206408 |
| octolytics-dimension-repository_nwo | QuantConnect/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 14748123 |
| octolytics-dimension-repository_parent_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d5a3a396bc74e65fd3ef897b0a99a6e489debaa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width