alpacahq / alpacahq/Alpaca-API

Return error response if symbol is not found

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
173
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:
1. Request bars with a common stock ticker symbol (in lowercase)
`GET data.alpaca.markets/v1/bars/minute?symbols=hahahahahahahahahahaha`

Expected behavior: response contains error message explaining why no bars were returned

Actual behavior: response is `{"hahahahahahahahahahaha":[]}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.