binance_time

Get the current server time from Binance API.

  • Github function here.

Example: Spot (spot)

Show the code
library(binancer)
time <- binance_time(api = "spot")
[ spot ] 2023-10-27 22:21:13 CET

Example: USD-m (fapi)

Show the code
library(binancer)
time <- binance_time(api = "fapi")
[ fapi ] 2023-10-27 22:21:14 CET

Example: COIN-m (fapi)

Show the code
library(binancer)
time <- binance_time(api = "dapi")
[ dapi ] 2023-10-27 22:21:15 CET

Example: Options (eapi)

Show the code
library(binancer)
time <- binance_time(api = "eapi")
[ eapi ] 2023-10-27 22:21:16 CET
Back to top

Citation

BibTeX citation:
@online{sartini2024,
  author = {Sartini, Beniamino},
  date = {2024-06-18},
  url = {https://cryptoverser.org/binancer-docs/binance_time.html},
  langid = {en}
}
For attribution, please cite this work as:
Sartini, Beniamino. 2024. June 18, 2024. https://cryptoverser.org/binancer-docs/binance_time.html.