# After hours streaming API

**URL:** <https://forum.alpaca.markets/t/after-hours-streaming-api/2051>\
**Category:** Alpaca Account Troubleshooting\
**Created:** [July 13, 2020, 11:01pm UTC](https://forum.alpaca.markets/t/after-hours-streaming-api/2051 "2020-07-13T23:01:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bob](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bob](https://forum.alpaca.markets/u/bob)\
**Post date:** [July 13, 2020, 11:01pm UTC](https://forum.alpaca.markets/t/after-hours-streaming-api/2051/1 "2020-07-13T23:01:28Z")

</div>

## Environment

**Python**  
_Let us know what language you’re writing your code in. Please include the version number you’re running, if possible._

**Alpaca SDK Version**  
0.48

**Other Environment Details**

## Problem

I have a websocket connection set up and I’m testing out creating and cancelling orders while the market is closed, but not getting any updates. I believe it’s all set up correctly as I see debug messages coming in like this:  
2020-07-13 15:50:32,668 - websockets.protocol - DEBUG - client \< Frame(fin=True, opcode=2, data=b’{“stream”:“listening”,“data”:{“streams”:[“trade\_updates”]}}’, rsv1=False, rsv2=False, rsv3=False)

**Paper or Live Tradng?**  
Paper
