All Collections
Discord Bot
Commands
Discord Commands - Stats
Discord Commands - Stats

Covers all of the features of the Discord bot's stats command from basic to complex.

Andrew Hiesinger avatar
Written by Andrew Hiesinger
Updated over a week ago

The !stats command is a powerful tool that allows you to view the flow of money into and out of the overall market, securities, and even specific options contracts.

In this article, we'll explore the complexity of the stats command and how you can make it work to your benefit.

Market Statistics

To see statistics for the general market, you can do !stats market. This will show you the amount of premium going into calls and puts, and will also show the volume for both calls and puts.

Security Statistics

To see statistics for a security, you can do !stats symbol TSLA, where TSLA can be whatever symbol you're interested in.

Options Contract Statistics

Grabbing statistics for an options contract involves some more complexity compared to the previous two versions of the command due to the way option contracts are defined.

To request stats on an options contract, you're going to need to know the symbol you're interested in, the strike, whether the contract is a call or put, and the expiration date of the contract.

An example of what this would look like is like so:

Example: !stats contract AAPL c:call e:2021-11-19 s:200.0

Breaking down the structure of this version of the !stats command:

  • c - The parameter name for the contract type. Can also be type. For example, !stats contract AAPL type:call e:2021-11-19 s:200.0.

  • e - The parameter name for the expiration date. Can also be ex, exp, and expiry. For example, !stats contract AAPL c:call expiry:2021-11-19 s:200.0

  • s - The parameter name for the strike price. Can also be strike. For example, !stats contract AAPL c:call e:2021-11-19 strike:200.0

Note that statistics for these commands are only available on the current day per exchange requirements.

Do you need further assistance?

If you have any questions or need further assistance, please don’t hesitate to reach out to the Quant Data team at support@quantdata.us, or via our live chat located on the bottom right-hand corner of the screen. We are available on the live chat between 9:30 AM and 5:00 PM EST, Monday-Friday.

Did this answer your question?