Aster Trading Bot Platform
Build an Aster Crypto
Trading Bot with Origami Tech
Connect Aster to Origami Tech to create a crypto trading bot for perpetual markets. Set the rules for long or short positions, define how the strategy responds to changing market conditions, and keep execution under review from one workspace


Crypto Trading Automation for Aster Perpetuals
Aster is a decentralized exchange for perpetual crypto trading with One Way and Hedge Modes, so position setup is central to a crypto bot trading strategy. Origami Tech lets you build rules around market conditions, position direction, available margin, order status, and exposure, then execute only the actions defined in the strategy
Hedge Mode allows a trader to hold long and short positions in the same market at once. This can support two separate strategy legs with their own conditions and position limits, rather than treating one side of the market as an accidental reversal of the other.
A long position and a short position can react to different price conditions, indicators, and order events. With Origami Tech, you can build crypto bot trading strategies that define when each side may open, add size, reduce, close, or stop operating.
An entry signal alone is not a complete perpetual strategy. Define what should happen after a position is opened, including how the bot handles partial profit taking, protective orders, changes in margin use, or an existing position that no longer matches the original conditions.
Create dedicated Aster API credentials for the Origami Tech connection and enable only the permissions needed for account access and crypto trading execution. Keep the API key private, avoid withdrawal permissions, and use IP allowlisting where it is available.
Set Up Aster for Perpetual Crypto Trading
Select the perpetual contract and choose One Way Mode or Hedge Mode in Aster. Review available margin, leverage, contract requirements, and the capital allocated to the strategy before configuring the bot.
Open Aster API Management and generate separate credentials for Origami Tech. Save the API key and secret securely, enable the necessary crypto trading permissions, and apply IP restrictions if your account supports them.
In Origami Tech, go to Accounts, select Add Account, and choose Aster. Add the required credentials, confirm the connection, and select the perpetual market the crypto trading bot will use.
Set the conditions for opening, managing, and closing positions. For Hedge Mode, review long and short logic independently, including their allowed size, order behaviour, and criteria for pausing execution.
Any Questions?
An Aster trading bot can automate rule-based execution for supported perpetual markets. You can define conditions for entries, exits, order size, price levels, position state, and risk limits. The bot follows the strategy logic you configure; it does not remove market, execution, or liquidation risk.
Before launch, select the market and position side, then define leverage, available margin, order size, maximum position exposure, entry and exit conditions, and stop rules. If the strategy uses staged entries, set a limit on the number and total size of those entries in advance.
Hedge Mode lets you hold separate long and short positions on the same perpetual contract at the same time. Unlike One-Way Mode, an order on one side does not automatically reduce or reverse the position on the other side. Aster documentation
Assign the position side before configuring each entry rule, then define separate entry, exit, and size conditions for the long and short sides. This prevents a rule designed to manage one position from unintentionally changing the other position on the same market.
Yes. Opposite positions can offset some directional exposure, but both positions still use margin and create separate execution, funding, and liquidation considerations. Assess the total size and margin requirements of both legs rather than treating Hedge Mode as a risk-free setup.
Choose the margin mode before the strategy opens a position. Cross Margin shares available collateral across positions, while Isolated Margin assigns margin to a specific position. Aster does not allow the margin mode of an open position to be changed, so this decision should be part of the initial strategy setup. Aster margin documentation
No. Aster’s native Manual Grid Trading requires One-Way Mode. If Hedge Mode is enabled, switch to One-Way Mode before creating a native manual grid strategy. Aster Manual Grid Trading documentation
