> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askgina.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Data & Automations

> Fetch prediction market data into a local SQLite table, query it with SQL and schedule recurring automations.

## Data Analysis

Fetch market data into a local SQLite database and run custom queries.

### Fetch & Analyze

```
"fetch the top 50 crypto prediction markets into a table"
"load my Polymarket trading history into SQL"
"pull all sports markets ending this week"
```

### SQL Queries

After fetching data, run analysis:

```
"query: SELECT slug, yes_price FROM markets WHERE category = 'crypto' ORDER BY volume DESC LIMIT 10"
"show me markets where the odds changed more than 10% in the last 24 hours"
"find the highest volume markets ending today"
```

***

## Automations & Recipes

Set up recurring scheduled tasks that run automatically.

```
"create a daily briefing of trending prediction markets every morning at 9am"
"alert me when any NBA market has odds swing more than 15%"
"schedule a weekly portfolio performance summary"
"set up a recurring check for new crypto price markets"
```

### Manage Automations

```
"show my scheduled automations"
"pause my morning briefing recipe"
"delete the NBA alert automation"
```

## Check that it works

Call the native `listScheduledPrompts` tool with:

```json theme={null}
{}
```

Expected: JSON under `data.payload` with your scheduled prompts, or an empty list if you have none. The call only reads data. Create, pause and delete requests change your account, so run them on purpose.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.