get_orderbook: Get orderbook

Description Usage Arguments Value

View source: R/get_orderbook.R

Description

This function scraps orderbook data from the public API of a host of exchanges

Usage

1
2
get_orderbook(exchange = as.character(NA), asset_pair = as.character(NA),
  level = 10)

Arguments

exchange

Name of an exchange (e.g. "binance", "kraken", "lykke")

asset_pair

Name of an asset pair (e.g. "BTCUSD", "ETHUSD")

level

Required orderbook level (default = 10, upper bound = 25)

Value

List with exhange name, asset pair, timestamp (Unix-format), ask side (price and quantity), bid (price and quantity)


ckscheuch/CryptoX documentation built on Nov. 10, 2019, 3:23 a.m.