sina_realtime_loop: Run Sina realtime data loop

Description Usage Arguments Value

View source: R/realtime_sina.R

Description

This function simply query newest quotes from Sina and write to an sqlite database as provided by db argument. Since WAL is used for the database, please make sure that the file is not on a network location.

Usage

1
2
3
4
5
6

Arguments

codes

codes to query

db

file path to database

today

date of today

api

a tsapi object

Value

this function loops indefinately and does not return


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