whatisgithub

What is easytrading?

polius2007/easytrading — explained in plain English

Analysis updated 2026-05-18

3C#Audience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

A .NET library that gives one common interface for trading on multiple crypto exchanges like HyperLiquid, Aster, and dYdX, handling each exchange's own signing and API details.

Mindmap

mindmap
  root((repo))
    What it does
      Unified DEX interface
      Trade multiple venues
      Handle signing per venue
    Tech Stack
      C sharp
      dotnet
      WebSocket
    Use Cases
      Build trading bots
      Read live market data
      Place and cancel orders
    Audience
      Developers
      Traders
    Quality
      150 unit tests
      Live audit suite
      Signature regression tests

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

Build a trading bot that works across HyperLiquid, Aster, and dYdX without rewriting exchange-specific code.

USE CASE 2

Read live market data such as order books and funding rates from a decentralized exchange.

USE CASE 3

Place, modify, and cancel orders programmatically on a crypto perpetual exchange.

USE CASE 4

Stream live trades and account updates over WebSocket in a .NET application.

What is it built with?

C#.NETNuGetWebSocketCosmos SDK

How does it compare?

polius2007/easytradingkayone/pursebabelive/windows
Stars332
LanguageC#C#C#
Last pushed2014-12-12
MaintenanceDormant
Setup difficultymoderateeasymoderate
Complexity3/52/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

Placing real orders requires exchange API credentials and a funded wallet, reading market data needs no credentials.

MIT licensed, free to use, modify, and include in commercial projects as long as the copyright notice stays intact.

So what is it?

EasyTrading is a .NET library that lets developers connect to decentralized crypto exchanges, currently HyperLiquid, Aster, and dYdX, through one common interface. Instead of learning three different APIs, a developer writes code against a single IExchangeClient shape, and each exchange specific client fills in only the extra features that venue actually has, like vaults and staking on HyperLiquid. Each of the three exchanges is described as stable and fully supported for both reading market data and placing real orders. That includes order books, funding rates, placing and cancelling orders of several types, checking positions, viewing trade history, and subscribing to live data over WebSocket. Every exchange uses its own signing method under the hood, such as EIP-712 signatures for HyperLiquid and Aster, and a full Cosmos SDK signing chain for dYdX, but all of that complexity is hidden behind the same library interface. The project takes correctness seriously. It ships with over 150 unit tests split across the three exchanges, plus a set of live read-only tests and a larger audit suite that runs real order types and account actions against an actual wallet on HyperLiquid's live network. There is also a dedicated regression test suite that checks signature recovery for every HyperLiquid action type, built specifically to catch a class of signing bugs the project already found and fixed once before. Getting started means installing the NuGet package for whichever exchange you want to trade on, then registering it with a small amount of setup code that takes network settings and wallet credentials. From there, reading market data works without any credentials at all, while placing orders requires signing keys. The code favors precise decimal math over floating point numbers for anything involving money, and every operation that can fail throws a specific, named exception rather than a generic error. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Help me set up EasyTrading.HyperLiquid in a .NET console app and fetch the current BTC order book.
Prompt 2
Show me how to place a limit order on Aster using EasyTrading with proper credentials.
Prompt 3
Explain how EasyTrading signs transactions differently for HyperLiquid versus dYdX.
Prompt 4
Help me write a strategy that trades against IExchangeClient so it works on any supported exchange.

Frequently asked questions

What is easytrading?

A .NET library that gives one common interface for trading on multiple crypto exchanges like HyperLiquid, Aster, and dYdX, handling each exchange's own signing and API details.

What language is easytrading written in?

Mainly C#. The stack also includes C#, .NET, NuGet.

What license does easytrading use?

MIT licensed, free to use, modify, and include in commercial projects as long as the copyright notice stays intact.

How hard is easytrading to set up?

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

Who is easytrading for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.