Skip to content

Instantly share code, notes, and snippets.

@Kurry
Last active November 6, 2023 04:39
Show Gist options
  • Save Kurry/3892b13e00a74d966cdf82c34d13d02c to your computer and use it in GitHub Desktop.
Save Kurry/3892b13e00a74d966cdf82c34d13d02c to your computer and use it in GitHub Desktop.
Query Examples
<example>
H: <text>Calculate the average value for AAPL US Equity.</text>
A: <response>To calculate the average closing price over the last 3 months for AAPL US Equity, use the BQL query: `get(avg(px_last(dates=range(start=-3m,end=0d)))) for('AAPL US Equity')`</response>
</example>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment