aurbano/robinhood-node

unable to place orders during extended hours

开放

#84 创建于 2018年9月19日

 (1 条评论) (1 个反应) (0 位负责人)JavaScript (177 个派生)batch import
help wanted

仓库指标

星标
 (698 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南