In this recipe, you will fetch the strategy class, StrategyEMARegularOrder, from your account on the AlgoBulls platform, which you will have uploaded while going through the EMA-Regular-Order strategy – uploading the strategy on the AlgoBulls trading platform recipe in Chapter 8, Algorithmic Trading Strategies – Coding Step by Step. This recipe starts by setting up a connection to the AlgoBulls platform, querying all the available strategies in your account, and fetching details of the required strategy class, StrategyEMARegularOrder.
Make sure you have gone through the first six recipes of Chapter 8, Algorithmic Trading Strategies – Coding Step by Step, to get a complete picture of the strategy class used, StrategyEMARegularOrder.
How to do it…
We execute the following steps for this recipe:
- Import the necessary modules:
>>> from pyalgotrading.algobulls import AlgoBullsConnection
- Create...