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

Allow for trading of fractional shares. #295

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

Conversation

SamuelDonovan
Copy link

Robinhood has allowed for trading of fractional shares since 2019. Any constraint set forth requiring the share quantity to be an integer is self-imposed at this point. The line quantity = int(quantity) within the submit_sell_order and submit_buy_order functions does nothing but limit functionality.

pyrh/robinhood.py
feat:

  • Allow for users to trade fractional shares.

Checklist

  • Added tests for changed code.
  • Updated documentation for changed code.
  • I've added a news fragment of my changes with the name,
    "{ISSUE_NUM}.{feature|bugfix|doc|removal|misc}""

Related Issue

Description

Robinhood has allowed for trading of fractional shares since 2019. Any constraint set forth requiring the share quantity to be an integer is self-imposed at this point. The line `quantity = int(quantity)` within the submit_sell_order and submit_buy_order functions does nothing but limit functionality.

pyrh/robinhood.py
feat:
* Allow for users to trade fractional shares.
@adithyabsk
Copy link
Member

Have you tested that fractional trading works when you submit fractions? What sort of validation should be done to confirm the smallest fraction allowed

@stale
Copy link

stale bot commented Feb 18, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Feb 18, 2023
@adithyabsk adithyabsk added roadmap and removed stale labels Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants