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

bull imagebear image

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

Use Hedge Mode as a Strategy Structure

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.

Give Each Position Its Own Logic

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.

Plan the Full Position Lifecycle

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.

Keep API Access Restricted

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.

Step 01
Choose the Market and Position Mode

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.

Step 02
Create Aster API Credentials

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.

Step 03
Connect Aster to Origami Tech

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.

Step 04
Map the Rules for Each Strategy Leg

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.

Connect Your Exchange

Any Questions?

What Can a Trading Bot Automate on Aster?

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.

What Should I Configure Before Launching an Aster Perpetual Bot?

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.

What Is Hedge Mode on Aster?

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

How Should I Separate Strategy Rules for Long and Short Positions in Aster Hedge Mode?

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.

Can Open Long and Short Positions Still Increase Total Exposure?

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.

When Should I Choose Cross or Isolated Margin for an Aster Strategy?

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

Can I Use Aster’s Native Manual Grid Trading in Hedge Mode?

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

Ready to Build Your
Lighter Strategy?

Connect Lighter, define your rules, and automate perpetual trading with a system you can test, monitor, and adjust
Connect Lighter Account