Skip to content

Commit dddaef6

Browse files
author
Shlomi Kushchi
authored
readme - explain how to use the alpaca-proxy-agent
1 parent a02e694 commit dddaef6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,17 @@ It is initialized through the alpaca `REST` object.
333333
| financials(symbol) | Returns an `Financials` entity if `symbol` is string, or a dict[symbol -> `Financials`] if `symbol` is a list of string. |
334334
| news(symbol) | Returns a `NewsList` entity for the symbol.|
335335

336+
337+
## Running Multiple Strategies
338+
There's a way to execute more than one algorithm at once.<br>
339+
The websocket connection is limited to 1 connection per account. <br>
340+
For that exact purpose this ![project](https://github.com/shlomikushchi/alpaca-proxy-agent) was created<br>
341+
The steps to execute this are:
342+
* Run the Alpaca Proxy Agent as described in the project's README
343+
* Define this env variable: `DATA_PROXY_WS` to be the address of the proxy agent. (e.g: `DATA_PROXY_WS=ws://192.168.99.100:8765`)
344+
* execute your algorithm. it will connect to the servers through the proxy agent allowing you to execute multiple strategies
345+
346+
336347
## Support and Contribution
337348

338349
For technical issues particular to this module, please report the

0 commit comments

Comments
 (0)