Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

unable to place orders during extended hours #84

Open
chiefsmurph opened this issue Sep 19, 2018 · 1 comment
Open

unable to place orders during extended hours #84

chiefsmurph opened this issue Sep 19, 2018 · 1 comment

Comments

@chiefsmurph
Copy link
Contributor

https://github.com/sanko/Robinhood/blob/master/Order.md

for pre-market and after hours, orders must include extended_hours: true or they will show up as "Queued" instead of "Placed"

one way to handle this is to always include that key pair for all orders.
another way to handle this is to use Object.assign (or object spread .. compatibility?) to include all passed in key pairs to Robinhood.place_buy_order(options) in the form data when making the request...

https://github.com/aurbano/robinhood-node/blob/master/src/robinhood.js#L313

@aurbano
Copy link
Owner

aurbano commented Mar 25, 2020

Any downside to adding extended_hours: true to all orders?

@aurbano aurbano closed this as completed Mar 25, 2020
@aurbano aurbano reopened this Mar 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants