Skip to content

Binance API in Elixir, includes Futures & Spot trading

Notifications You must be signed in to change notification settings

MikaAK/binance-api-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinanceApi

Hex pm

Binance api for elixir, includes the ability to utilize futures

Installation

If available in Hex, the package can be installed by adding binance_api to your list of dependencies in mix.exs:

def deps do
  [
    {:binance_api, "~> 0.2"}
  ]
end

Config

config :binance_api,
  api_key: "<BINANCE_API_KEY>",
  secret_key: "<BINANCE_SECRET_KEY>",
  base_url: "https://api.binance.com" # default,
  base_futures_url: "https://api.binance.com" # default,
  secure_receive_window: 5_000 # default,

  request: [
    pool_timeout: 5_000 # default,
    receive_timeout: 15_000 # default
  ]

Goals

  • To allow for multiple accounts to be used
  • Access to trading on the futures API
  • Access to trading on the spot API
  • Access to accounts

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/binance_api.

About

Binance API in Elixir, includes Futures & Spot trading

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages