getSymbols.Comon: Download data from Comon copytrading platform

View source: R/getSymbols.Comon.R

getSymbols.ComonR Documentation

Download data from Comon copytrading platform

Description

Download historical market data from Comon for a given trader id

Usage

getSymbols.Comon(
  Symbols,
  env = globalenv(),
  period = "day",
  verbose = TRUE,
  auto.assign = FALSE,
  ...
)

Arguments

Symbols

a character id of strategy on Comon

env

environment where to create the downloaded data object.

period

a character string indicating the frequency of the data to download. Possible values are 'day'.

verbose

a logical indicating whether to print the response details or not.

auto.assign

a logical indicating whether to automatically assign the downloaded data to the global environment.

...

additional arguments passed to getSymbols.Comon

Value

returns an data.table object containing financial data

Note

Not for the faint of heart. All profits and losses related are yours and yours alone. If you don't like it, write it yourself.

Author(s)

Vyacheslav Arbuzov

Examples

getSymbols.Comon('115038')
getSymbols('115039',src='Comon')

arbuzovv/rusquant documentation built on Feb. 1, 2024, 6:39 p.m.