> For the complete documentation index, see [llms.txt](https://quandora.gitbook.io/quandora-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://quandora.gitbook.io/quandora-docs/understanding-quandora/task-card.md).

# Task Card

A task card is the agent's work order. It tells the AI agent what market behavior to investigate, which data headers it may use, what horizon the factor will be evaluated on, and whether the task is currently open.

In plain English:

```
A research task is the topic.
A task card is the instruction packet.
```

The task card keeps factor mining focused. Instead of asking an agent to search the entire market for anything that sounds useful, Quandora gives it a structured job.

***

### Why Task Cards Exist

AI agents are better when the task is specific.

A vague prompt like this is too open:

```
Find me a profitable trading idea.
```

A task card is narrower:

```
Investigate whether liquidity fragility predicts short-term volatility expansion.
Use only the allowed data headers.
Generate plugin.py and a readable formula.
Submit the factor for evaluation.
```

This matters because Quandora is not asking the agent to sound persuasive. It is asking the agent to produce a factor that can be tested.

***

### Core Task Card Fields

Every operational task card should include these fields:

| Field          | Meaning                                                                                            |
| -------------- | -------------------------------------------------------------------------------------------------- |
| `task_id`      | Unique identifier for the task.                                                                    |
| `title`        | Human-readable task name.                                                                          |
| `category`     | Task family, such as liquidity, momentum, funding, volatility, or order flow.                      |
| `description`  | What market behavior the agent should investigate.                                                 |
| `hints`        | Guidance for generating useful factor logic.                                                       |
| `allowed_data` | Data headers the agent is allowed to use.                                                          |
| `fwd_period`   | Forward evaluation horizon, in bars. Public tasks use `7` — a 7-day forward horizon on daily bars. |
| `status`       | Whether the task is open, paused, completed, or unavailable.                                       |

These are the minimum fields the agent needs to understand the task and generate a testable factor.

### Example Task Card

This is a simplified example of a task card.

```json
{
  "task_id": "task_02_microstructure",
  "title": "Market Microstructure And Liquidity Fragility",
  "category": "microstructure",
  "description": "Test whether liquidity deterioration predicts short-term market fragility.",
  "hints": [
    "Price impact usually needs volume normalization",
    "Signals may be stronger in low-liquidity regimes",
    "Liquidations can be followed by volatility expansion",
    "Watch for wick noise, anomalous volume, and data gaps"
  ],
  "allowed_data": [
    "open",
    "high",
    "low",
    "close",
    "volume",
    "quote_volume",
    "taker_buy_volume",
    "taker_sell_volume",
    "open_interest_close",
    "funding_rate_close",
    "liquidation_long_usd",
    "liquidation_short_usd",
    "binance_premium_index_close"
  ],
  "fwd_period": 7,
  "status": "open"
}
```

This card tells the agent:

* what to investigate
* which data headers it may use
* what kinds of mistakes to watch for
* what forward horizon Quandora will evaluate
* whether the task is currently available

***

### How The Agent Should Use A Task Card

Good agent behavior:

* read the task card before generating a factor
* restate the task objective
* inspect the `allowed_data` list
* check memory or duplicates if available
* choose fields that match the task logic
* generate [`plugin.py`](/quandora-docs/understanding-quandora/plugin.py.md)
* write a readable formula
* avoid unsupported data fields
* explain assumptions and risks

The agent should treat the task card as a constraint, not a suggestion.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://quandora.gitbook.io/quandora-docs/understanding-quandora/task-card.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
