bitflyex v0.0.6 BitFlyex

Documentation for BitFlyer.

Link to this section Summary

Functions

Get balance from bitFlyer account

Get market products from bitFlyer

Get timestamp (this test for balance() test. Don’t remove)

Link to this section Functions

Get balance from bitFlyer account

Examples

iex> BitFlyex.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"}]

Get market products from bitFlyer

Examples

iex> BitFlyex.markets
["BTC_JPY", "FX_BTC_JPY", "ETH_BTC", "BCH_BTC", "BTCJPY12JAN2018", "BTCJPY19JAN2018"]

Get timestamp (this test for balance() test. Don’t remove)

Examples

iex> BitFlyex.timestamp |> String.length
22