whatisgithub

What is asterdex-trading-bot?

metanode-trade/asterdex-trading-bot — explained in plain English

Analysis updated 2026-05-18

96TypeScriptAudience · developerComplexity · 4/5Setup · moderate

In one sentence

A TypeScript trading bot that automatically buys and sells crypto futures on Aster DEX, GRVT, or Hyperliquid using trend or market-making strategies.

Mindmap

mindmap
  root((AsterDEX Bot))
    What it does
      Automated trading
      Three exchanges
      Three strategies
    Tech stack
      TypeScript
      Node.js
      Ink dashboard
    Use cases
      Trend following
      Market making
      Server deployment
    Audience
      Developers
      Traders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automate trend-following trades on perpetual futures exchanges

USE CASE 2

Run a market-making bot that profits from bid-ask spreads

USE CASE 3

Monitor live trading positions and profit and loss from a terminal dashboard

USE CASE 4

Deploy a headless trading bot on a server using PM2

What is it built with?

TypeScriptNode.jsInkPM2Vitest

How does it compare?

metanode-trade/asterdex-trading-botardupilot/node-mavlinknickustinov/itsyconnect-macos
Stars969696
LanguageTypeScriptTypeScriptTypeScript
Last pushed2025-08-26
MaintenanceQuiet
Setup difficultymoderatemoderatemoderate
Complexity4/53/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Node.js 20+, exchange API keys, and manually setting one-way position mode on the exchange.

The license terms are not stated in the README.

So what is it?

This repository is a trading bot written in TypeScript that places automated buy and sell orders on three cryptocurrency exchanges: Aster DEX, GRVT, and Hyperliquid. All three are perpetual futures exchanges, meaning they offer contracts that let you speculate on whether an asset's price will rise or fall without owning the asset. You switch between exchanges by changing a single configuration value. The bot offers three trading strategies. The trend strategy looks for directional price moves using a technical indicator called Bollinger Bands, then follows the move and exits with a trailing stop that locks in profit as the price continues in your favor. The maker strategy posts limit orders on both sides of the market to collect the spread, refreshing and chasing the price when it moves away. The offset maker strategy works similarly but adjusts quote distances dynamically based on the midpoint price. You choose which strategy to run as a command-line argument when starting the bot. The terminal interface is a live dashboard built with a library called Ink, which renders React components in the command line. It shows your current positions, profit and loss, and the engine's operating state. For server deployments where you do not want a visual interface, a silent mode is available, and the bot supports PM2, a common Node.js process manager used to keep applications running reliably on a server. Setup requires Node.js version 20 or later. After cloning and installing dependencies, you copy an example environment file and fill in your API keys for whichever exchange you want to use. The bot requires your exchange account to be in one-way position mode and does not set leverage automatically, so you need to configure that on the exchange manually before running. The README includes a standard disclaimer that perpetual futures carry liquidation risk and that the authors are not liable for trading losses. API keys should be created with trade-only permissions, without withdrawal access. The project includes a test suite using Vitest and is licensed under terms not explicitly stated in the README.

Copy-paste prompts

Prompt 1
Help me configure this trading bot to connect to Hyperliquid instead of Aster DEX
Prompt 2
Explain the difference between the trend, maker, and offset maker strategies in this bot
Prompt 3
Show me how to set up API keys with trade-only permissions for this bot
Prompt 4
Help me deploy this bot in silent mode on a server using PM2

Frequently asked questions

What is asterdex-trading-bot?

A TypeScript trading bot that automatically buys and sells crypto futures on Aster DEX, GRVT, or Hyperliquid using trend or market-making strategies.

What language is asterdex-trading-bot written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Ink.

What license does asterdex-trading-bot use?

The license terms are not stated in the README.

How hard is asterdex-trading-bot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is asterdex-trading-bot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.