OPEN-SOURCE SCRIPT

Crypto Type: Regular, Perpetual, Or Futures?

2337
A simple way to find out if the security in question is a regular, perpetual, or futures pair.

This reads the data of the security's description and sees if the word perpetual or futures is mentioned.

The method to check if a string has the letters we seek was first introduced by MichelT.

Thank you for checking this out and I hope this helps unlocking new hidden potential.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.