- ago
I see this happen regularly, here is an example.

Last night I used the WL UI to enter an order to close a position on V.
It executed perfectly on market open this morning, and shows up that way on the broker side UI.
If I click on remove Inactive, it remains in the OM list, and remains in an active state.
Exit out of the app, and restart - it will be gone.

So to me, the order status is not updating when an update is pulled from the broker (Tradestation)

Thoughts on if I should be doing something different?



0
905
Solved
2 Replies

Reply

Bookmark

Sort
Cone8
 ( 15.74% )
- ago
#1
Remove Inactive won't remove orders that still have a Placed or Active status in WL.

TS Order statuses depends on a socket connection that requires regular [automatic] restarts. These are forced by TS. If you check the Log Viewer, you'll see evidence of that - it always helps to see the evidence. (Internet dropouts also cause restarts.) If the connection isn't successful, I'd expect to see a broken connection with TS, which is not the case in your image.

Always recommended:
Everyday, restart WealthLab before the market open. Open your trading Workspace with an Accounts tool to check your account positions. The restart forces fresh socket connections with the broker.
0
Best Answer
- ago
#2
Pulled the log from restart last night, you're spot on. Not worrying about this. :)

QUOTE:
3/3/2026 18:47:25:257
Dummy Broker
Dummy Broker Broker: Welcome emartin197, you are now connected to our Dummy Broker!

--------
3/3/2026 18:47:25:462
TradeStation
Connected

--------
3/3/2026 20:45:46:332
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/3/2026 20:45:46:377
TradeStation
Recreating positions stream...

--------
3/3/2026 20:45:47:182
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/3/2026 23:49:34:983
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/3/2026 23:49:35:021
TradeStation
Recreating positions stream...

--------
3/3/2026 23:49:36:326
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 01:59:11:256
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 01:59:11:296
TradeStation
Recreating positions stream...

--------
3/4/2026 01:59:12:001
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 02:00:05:829
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 02:00:05:846
TradeStation
Recreating positions stream...

--------
3/4/2026 02:00:06:149
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 02:06:18:092
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 02:06:18:131
TradeStation
Recreating positions stream...

--------
3/4/2026 02:06:18:432
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 03:07:52:346
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 03:07:52:385
TradeStation
Recreating positions stream...

--------
3/4/2026 03:07:53:190
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 03:10:13:384
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 03:10:13:421
TradeStation
Recreating positions stream...

--------
3/4/2026 03:10:13:723
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 03:13:12:468
TradeStation
Stream Error: InternalServerError Failed to retrieve quote(s).

--------
3/4/2026 03:13:22:568
TradeStation
Quote stream is inactive. Checking connection...

--------
3/4/2026 03:13:22:569
TradeStation
Streaming Disconnected - attempting Reconnect: Quote stream is inactive.

--------
3/4/2026 03:13:22:614
TradeStation
Streaming Reconnect Successful

--------
3/4/2026 03:15:57:207
TradeStation
TradeStation Broker: Order server shut down. Recreating client...

--------
3/4/2026 03:15:59:158
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 03:15:59:177
TradeStation
Recreating positions stream...

--------
3/4/2026 03:15:59:480
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 03:16:04:012
TradeStation
TradeStation Broker: Connected and recreated order stream

--------
3/4/2026 03:16:07:693
TradeStation
No orderStatus heartbeat in more than 10 seconds. Reactivating stream.

--------
3/4/2026 03:16:46:183
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 03:16:46:227
TradeStation
Recreating positions stream...

--------
3/4/2026 03:16:46:629
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 03:16:51:058
TradeStation
TradeStation Broker: Order server shut down. Recreating client...

--------
3/4/2026 03:16:58:006
TradeStation
TradeStation Broker: Connected and recreated order stream

--------
3/4/2026 03:17:01:542
TradeStation
No orderStatus heartbeat in more than 10 seconds. Reactivating stream.

--------
3/4/2026 03:17:02:721
TradeStation
No positionStatus heartbeat in more than 10 seconds. Reactivating stream.

--------
3/4/2026 03:26:44:131
TradeStation
Streaming Exception: The response ended prematurely. (ResponseEnded)
HttpIOException
The response ended prematurely. (ResponseEnded)
at System.Net.Http.HttpConnection.FillAsync(Boolean async)
at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.Read(Span`1 buffer)
at System.Net.Http.HttpBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.StreamReader.ReadBuffer()
at WealthLab.TradeStation.TradeStationStream.<Activate>b__13_0()
--------
3/4/2026 03:26:53:286
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 03:26:53:326
TradeStation
Recreating positions stream...

--------
3/4/2026 03:26:53:947
TradeStation
Quote stream is inactive. Checking connection...

--------
3/4/2026 03:26:53:948
TradeStation
Streaming Disconnected - attempting Reconnect: Quote stream is inactive.

--------
3/4/2026 03:26:53:967
TradeStation
Streaming Reconnect Successful

--------
3/4/2026 03:26:54:029
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 04:22:22:064
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 04:22:22:112
TradeStation
Recreating positions stream...

--------
3/4/2026 04:22:22:614
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 05:59:31:451
TradeStation
TradeStation Broker: Positions stream became Inactive. Checking connection... Recreate: False

--------
3/4/2026 05:59:31:492
TradeStation
Recreating positions stream...

--------
3/4/2026 05:59:32:196
TradeStation
TradeStation Broker: Recreated positions stream

--------
3/4/2026 06:47:14:356
TradeStation
Quote server shut down. Reconnecting...

--------
3/4/2026 06:47:14:356
TradeStation
Streaming Disconnected - attempting Reconnect: Quote server shut down.

--------
3/4/2026 06:47:14:401
TradeStation
Streaming Reconnect Successful

--------
1

Reply

Bookmark

Sort