Get data for trade view query

tv_metrics_data(
  regions = c("america"),
  query = list(filter = tibble(left = "market_cap_basic", operation = "nempty"),
    symbols = list(query = list(types = c("stock", "fund", "dr"))), metrics =
    c("subtype", "name", "beta_5_year", "earnings_release_date",
    "earnings_per_share_forecast_next_fq", "operating_margin", "return_on_equity",
    "current_ratio", "debt_to_assets", "price_revenue_ttm", "amount_recent",
    "market_cap_basic", "ebitda", "fundamental_currency_code", "total_assets",
    "current_session", "earnings_per_share_fq", "earnings_per_share_forecast_fq",
    "earnings_release_next_time", "cash_ratio", "yield_upcoming", "sector",
    "basic_eps_net_income", "price_book_ratio", "quick_ratio", "net_debt",
    "total_shares_outstanding_fundamental", "enterprise_value_fq", "beta_3_year",
    "total_capital", "earnings_per_share_diluted_ttm", "last_annual_eps", "revenue_fq",
    "ex_dividend_date_recent", "price_earnings_ttm", "debt_to_equity", "pre_tax_margin",
    "debt_to_equity_fq", "number_of_employees", "total_current_assets",
    "last_annual_revenue", "revenue_forecast_fq",      "industry", "return_on_assets",
    "return_of_invested_capital_percent_ttm", "return_on_invested_capital",
    "gross_profit", "dividends_paid", "preferred_dividends",
    "earnings_release_next_date", "dividends_yield", "price_sales_ratio", "yield_recent",
    "ex_dividend_date_upcoming", "total_shares_outstanding",
    "price_earnings_to_growth_ttm", "price_book_fq", "enterprise_value_ebitda_ttm",
    "rtc", "amount_upcoming", "average_volume", "revenue_per_employee",
    "after_tax_margin", "net_income", "earnings_release_time",      "type",
    "dividends_per_share_fq", "payment_date_upcoming", "gross_margin_percent_ttm",
    "earnings_per_share_basic_ttm", "price_free_cash_flow_ttm", "long_term_capital",
    "total_debt", "country", "total_revenue", "gross_margin", "number_of_shareholders",
    "beta_1_year", "goodwill", "expected_annual_dividends", "revenue_forecast_next_fq",
    "payment_date_recent", "low", "volume", "pre_change_abs", "gap", "open", "volume",
    "pre_change_abs", "time", "change_from_open", "low", "high", "close", "volume",
    "change_abs", "open", "change_from_open", "change_abs", "time", "change",
    "pre_change_abs", "time", "gap", "high", "open", "change_from_open", "change_abs",
    "low", "close", "change", "change_abs", "close", "time", "change", "pre_change",
    "close", "high", "gap", "change", "open", "high", "pre_change", "pre_change",
    "pre_change_abs", "gap", "pre_change", "change_from_open", "low", "volume",
    "relative_volume", "type", "subtype", "eps_surprise_fq", "market_cap_calc",
    "exchange", "price_sales", "eps_surprise_percent_fq"),      sort = list(sortBy =
    "market_cap_basic", sortOrder = "desc"), options = list(lang = "eng"), range = c(0,
    1.5e+13)),
  return_message = TRUE
)

Arguments

regions

vector of regions

  • cfd

  • america

  • uk

  • australia

  • brazil

  • canada

  • euronext

  • germany

  • hongkong

  • india

  • japan

  • mexico

  • newzealand

  • russia

  • singapore

  • spain

  • switzerland

  • taiwan

  • turkey

query

list of query parameters

  • filter - list of query parameters

  • symbols - list of types

  • metrics - vector of parameters see tv_regions_tickers for options

  • sort - sort paramters

  • options- sort options

return_message

Value

Examples

tv_metrics_data(regions = c( 'america'))