Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

fardream/go-dydx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

golang client for dydx.exchange

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages