Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a bug while getQuotes()'s input is a unicode #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix a bug while getQuotes()'s input is a unicode #27

wants to merge 1 commit into from

Conversation

jiahaoliang
Copy link

@jiahaoliang jiahaoliang commented Feb 9, 2017

getQuotes() parses a single unicode symbol as a list.
We should treat it as a single symbol.

platform: OSX 10.7, python 2.7.11

Bug reproduce:
getQuotes(u'QCOM')

Expected result:
getQuotes() should return the stock quote of a single stock 'QCOM'.

Actual result:
getQuotes() returns a list of quotes of 4 stocks ['Q', 'C', 'O', 'M'] respectively.

getQuotes() parses a single unicode symbol as a list.
We should treat it as a single symbol.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant