alpacahq / alpacahq/Alpaca-API

Paper Trading - Test feature for trade_updates stream

Open
#173 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
173
Forks
17
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I want to be able to test my script that listen to trade_updates through websocket. However, I would only receive events during actual market operating hours, which prevent me from testing outside of those hours.

**Describe the solution you'd like**
Have paper orders be simulated through a specific convention in a field (for e.g. `client_order_id`) that will determined whether the paper order will be immediately filled/rejected etc, even outside of market operating hours

**Describe alternatives you've considered**
There's no other way for me to achieve the above atm.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.