bitflyex v0.0.4 BitFlyer

Documentation for BitFlyer.

Link to this section Summary

Link to this section Functions

Get balance from bitFlyer account

Examples

iex> BitFlyer.balance
[%{"amount" => 0.6, "available" => 0.6, "currency_code" => "BTC"},
 %{"amount" => 1.0, "available" => 1.0, "currency_code" => "BCH"},
 %{"amount" => 12.0, "available" => 12.0, "currency_code" => "ETH"},
 %{"amount" => 100.0, "available" => 100.0, "currency_code" => "ETC"},
 %{"amount" => 13.0, "available" => 13.0, "currency_code" => "LTC"},
 %{"amount" => 300.0, "available" => 300.0, "currency_code" => "MONA"}]
Link to this function map_balance(map_list)
Link to this function map_markets(map_list)

Get market products from bitFlyer

Examples

iex> BitFlyer.markets
["BTC_JPY", "FX_BTC_JPY", "ETH_BTC", "BCH_BTC", "BTCJPY05JAN2018", "BTCJPY12JAN2018"]
Link to this function sign(path, body \\ "")

Get timestamp for bitFlyer

Examples

iex> BitFlyer.timestamp |> String.length
22