ποΈBuilding Trading Bot
How can you build your bot on Magpy?
Step 1: Define your Trigger and Action
A user has to define their Trigger(The clause upon meeting which, a certain set of rules, called Actions would be executed) and their Actions(The resulting reaction of a Trigger).
In the example shown below, the Trigger is price(βBTC-PERPβ) > 35000
which means that our Bot would perform any executables only if the price of Perpetual BTC on the selected/default exchange crosses $35,000.
The corresponding Action is, the user would like to Open a Long/Buy Position with leverage of 2x on dYdX on the asset pair BTC-Perp-USD
The user also has options to set conditions like Take Profit and Stop Loss.
Step 2: Define your Actions further
The user has the option to further define their actions. They can choose to pause their Triggers or create additional rules which further align with the user's end goal of bot creation.
Step 3: Approve and Let's goooooo π
All you have to do is Approve your Trigger-Action and let your Bot do the rest of the work for you! Sit back and enjoy!
Last updated