Skip to content

Allow for trading of fractional shares.#295

Open
SamuelDonovan wants to merge 1 commit intorobinhood-unofficial:masterfrom
SamuelDonovan:master
Open

Allow for trading of fractional shares.#295
SamuelDonovan wants to merge 1 commit intorobinhood-unofficial:masterfrom
SamuelDonovan:master

Conversation

@SamuelDonovan
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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.

2 participants