# Stats

{% hint style="info" %}
`$stats [@user/username] [-t time]`

**and**

`/stats <user> <timeframe>`

*User & time syntax are optional*
{% endhint %}

> `$stats`\
> `$stats`*`@Hubert`* \
> \&#xNAN;*`$stats @Hubert -t 2w`* \
> \&#xNAN;*`$stats Hubert`*

Check your own or another trader's performance stats based on all their closed trades by using the `$stats` or `/stats` command. By default, if no timeframe is specified, the stats displayed are based on the last 30 days.

Stats can be shown for days, weeks, months, and years using `d` `w` `mo` `y` after the timeframe number value.

> $stats @Hubert -t 2w\
> Will show the last two weeks of trading performance stats for the trader Hubert.

<figure><img src="/files/ZLPWG4IiP9Vow5Q1OThQ" alt=""><figcaption><p>Stats command for trader Ellie displaying past year of statistics</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nvstly.com/commands/stats.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
