Categorygithub.com/fardream/go-dydx
repositorypackage
1.0.6
Repository: https://github.com/fardream/go-dydx.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

go-dydx

Documentation

See the documentation on the package page:

Go Reference

golang client for dydx.exchange, supports:

  • onboarding

    • create user.
    • deterministic recover api key and stark key.
  • private api

    • get user, accounts, positions, orders, withdrawals, fills, funding, and pnl.
    • create, cancel orders and active orders.
    • subscription to account updates.
  • public api

    • get markets, orderbooks, trades, candles, historical fundings.
    • subscription to markets, orderbooks, trades.

Prior Art

This is based on the work from go-numb at here with some go idiomatic modifications.

There is also another version from verichenn here.

Command Line Interface

A command line interface is provided in dydx-cli. To install:

go install github.com/fardream/go-dydx/dyx-cli@latest

A command line interface is provided to replay the orderbook updates dydx-replay-orderbook. To install:

go install github.com/fardream/go-dydx/dyx-replay-orderbook@latest