OPEN-SOURCE SCRIPT
ka66: Symbol Information

This shows a table of all current (Pine v6) `syminfo.<property>` values.
Please note this is primarily of use to Pine Developers, or the curious trader.
There are a few of these around on TradingView, but many seem to focus on the use case they have. This script just dumps all values, in alphabetical order of properties.
You can use this to inspect the details of the symbol, which in turn, can be fed into various scripts covering tasks such as:
Note that not all table values are populated, as they depend on the instrument being introspected. For example, a share ticker will have some different details to a Forex pair. The `NaN` values (the "Not A Number" special value in programming parlance) are not a bug, they are simply Pine reporting that no value is set for it. I have opted to dump out values as-is as the focus is developers.
My motivation to create it was to write a position sizing tool. Additionally, the output of this script is cleanly formatted, with monospace fonts and conventional alignment for tables/forms with key and values. It also allows customising the table position. Ideally this feature is made part of the default TradingView customisation, but at this time, it is not, and tables don't auto-adjust their positions.
Please note this is primarily of use to Pine Developers, or the curious trader.
There are a few of these around on TradingView, but many seem to focus on the use case they have. This script just dumps all values, in alphabetical order of properties.
You can use this to inspect the details of the symbol, which in turn, can be fed into various scripts covering tasks such as:
- Position Sizing calculation (which requires things like tick, pointvalue, and currency details)
- Recommendation engines (which use the recommendation_* properties)
- Fundamentals on stocks (which may use share count information, and possibly employee information)
Note that not all table values are populated, as they depend on the instrument being introspected. For example, a share ticker will have some different details to a Forex pair. The `NaN` values (the "Not A Number" special value in programming parlance) are not a bug, they are simply Pine reporting that no value is set for it. I have opted to dump out values as-is as the focus is developers.
My motivation to create it was to write a position sizing tool. Additionally, the output of this script is cleanly formatted, with monospace fonts and conventional alignment for tables/forms with key and values. It also allows customising the table position. Ideally this feature is made part of the default TradingView customisation, but at this time, it is not, and tables don't auto-adjust their positions.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。