Skip to content

Instantly share code, notes, and snippets.

@Kurry
Created November 6, 2023 04:44
Show Gist options
  • Save Kurry/817cd0d0e149429f89daf47cf5f10a18 to your computer and use it in GitHub Desktop.
Save Kurry/817cd0d0e149429f89daf47cf5f10a18 to your computer and use it in GitHub Desktop.
BloombergGPT Example
bgpt = BloombergGPT()
user_question = "What tickers are above their 50-day moving average in the B500 Index?"
response = bgpt.chat(user_question)
print(response)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment