TushareApi: Get a Tushare API object.

Description Usage Arguments Value

View source: R/tushare_api.R

Description

Get a Tushare API object.

Usage

1
2
3
4
5
6
7
TushareApi(
  api_token = GetToken(),
  time_mode = c("POSIXct", "ITime", "char"),
  date_mode = c("Date", "POSIXct", "IDate", "char"),
  logi_mode = c("logical", "char"),
  tz = "Asia/Shanghai"
)

Arguments

api_token

API token.

time_mode

data type for time objects

date_mode

data type for date objects

logi_mode

data type for logical objects

tz

Default timezone of POSIXct data

Value

a tsapi object.


imlijunda/tswbench documentation built on June 12, 2021, 12:45 p.m.