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

Add finance/stock generators #2146

Merged
merged 2 commits into from
Oct 13, 2020
Merged

Add finance/stock generators #2146

merged 2 commits into from
Oct 13, 2020

Conversation

johnpitchko
Copy link
Contributor

@johnpitchko johnpitchko commented Oct 7, 2020

Resolution for issue #1511 and #1517

Uses the code contributed in #1517 but removes all the unnecessary changes.

This PR adds a generator that generates stock ticker symbols (e.g. AAPL, GOOG). Pretty basic but lays a foundation that can include other stock/equity information such as last/bid/ask price, volume, etc...

lib/faker/default/finance.rb Outdated Show resolved Hide resolved
lib/faker/default/finance.rb Show resolved Hide resolved
lib/faker/default/finance.rb Outdated Show resolved Hide resolved
lib/faker/default/finance.rb Outdated Show resolved Hide resolved
@Zeragamba Zeragamba merged commit 2fff920 into faker-ruby:master Oct 13, 2020
@Zeragamba
Copy link
Contributor

Thanks!

@johnpitchko
Copy link
Contributor Author

You're welcome! Very happy I finally had a chance to contribute to some open-source projects!

droznyk pushed a commit to droznyk/faker that referenced this pull request Oct 23, 2020
* Add finance/stock generators

* Address comments from PR
droznyk added a commit to droznyk/faker that referenced this pull request Oct 23, 2020
droznyk added a commit to droznyk/faker that referenced this pull request Oct 23, 2020
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.

3 participants