You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
# WebsocketProxy: Share a Single WebSocket Connection for Multiple Clients (C++)
2
-
WebSocketProxy provides a C++ WebSocket proxy framework that empowers you to share a single WebSocket connection among multiple clients, maximizing resource utilization and streamlining real-time data access.
1
+
# AlpacaWebsocketProxy: Share a Single WebSocket Connection for Multiple Clients (C++)
2
+
AlpacaWebSocketProxy provides a C++ WebSocket proxy framework that empowers you to share a single WebSocket connection among multiple clients, maximizing resource utilization and streamlining real-time data access.
3
3
4
4
## Built for Efficiency: Serving Multiple Clients with One Connection
5
-
Designed initially for the [Alpaca.Market](https://alpaca.markets/), which offers data via both REST and WebSockets. However, Alpaca limits the number of concurrent WebSocket connections per account. WebSocketProxy solves this by enabling multiple strategies under the same account to receive real-tine market data updates through a single, shared WebSocket connection.
5
+
Designed initially for the [Alpaca.Market](https://alpaca.markets/), which offers data via both REST and WebSockets. However, Alpaca limits the number of concurrent WebSocket connections per account. AlpacaWebSocketProxy solves this by enabling multiple strategies under the same account to receive real-tine market data updates through a single, shared WebSocket connection.
6
6
7
7
## Components and Communication
8
-
WebSocketProxy consists of two components:
8
+
AlpacaWebSocketProxy consists of two components:
9
9
1. Standalone proxy server executable: This executable acts as the central communication hub. It manages the connection to the WebSocket server and handles data forwarding between clients. It's launched upon the first client attempting a WebSocket connection, ensuring only one server instance runs simultaneously. Any subsequent server launch attempts automatically terminate, preventing resource conflicts. The server continues execution until all connected clients are closed.
10
10
2. Header-only Proxy Client: This lightweight client library integrates into your individual applications. It manages communication with the proxy server and provides a familiar interface for sending and receiving data.
11
11
12
-
## Benefits of WebSocketProxy
12
+
## Benefits of AlpacaWebSocketProxy
13
13
* Efficient Resource Utilization: Share a single WebSocket connection, reducing overhead and improving resource management.
14
14
* Real-Time Data Streamlining: Multiple trading strategies within an account gain access to crucial market updates concurrently.
15
15
* Simplified Integration: The header-only client library enables effortless integration with your existing client applications.
0 commit comments