All Projects → mrchypark → tqk

mrchypark / tqk

Licence: MIT license
한국 주식 데이터를 위한 R 패키지

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to tqk

Zvt
modular quant framework.
Stars: ✭ 1,801 (+3174.55%)
Mutual labels:  stock, quant
Sphinx Quant
一个基于vnpy,支持多账户,多策略,实盘交易,数据分析,分布式在线回测,风险管理,多交易节点的量化交易系统;支持CTP期货,股票,期权,数字货币等金融产品
Stars: ✭ 217 (+294.55%)
Mutual labels:  stock, quant
Amazingquant
基于Event-driven的量化交易解决方案
Stars: ✭ 128 (+132.73%)
Mutual labels:  stock, quant
Abu
阿布量化交易系统(股票,期权,期货,比特币,机器学习) 基于python的开源量化交易,量化投资架构
Stars: ✭ 8,589 (+15516.36%)
Mutual labels:  stock, quant
Beibo
🤖 Predict the stock market with AI 用AI预测股票市场
Stars: ✭ 46 (-16.36%)
Mutual labels:  stock, quant
Pyspider Stock
A project using pyspider to collect data and NLP techs to analyze the correlation among the data
Stars: ✭ 56 (+1.82%)
Mutual labels:  stock, quant
Stock
30天掌握量化交易 (持续更新)
Stars: ✭ 2,966 (+5292.73%)
Mutual labels:  stock, quant
Akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 4,334 (+7780%)
Mutual labels:  stock, quant
backend-ctp
CTP接口封装,使用redis做消息中转
Stars: ✭ 26 (-52.73%)
Mutual labels:  stock, quant
MyTT
MyTT将通达信,同花顺,文华麦语言等指标公式,最简移植到Python中,核心库单个文件,仅百行代码,十几个核心函数,神奇的实现所有常见技术指标算法(不依赖talib库)的纯python实现和转换通达信MACD,RSI,BOLL,ATR,KDJ,CCI,PSY等公式,全部基于pandas函数计算方法封装,简洁且高性能,能非常方便的应用在股票指标公式,股市期货量化框架分析,自动程序化交易,数字货币量化等领域,它是您最精练的股市量化工具。Python library with most stock market indicators.
Stars: ✭ 888 (+1514.55%)
Mutual labels:  stock, quant
Fooltrader
quant framework for stock
Stars: ✭ 960 (+1645.45%)
Mutual labels:  stock, quant
open-climate-investing
Application and data for analyzing and structuring portfolios for climate investing.
Stars: ✭ 20 (-63.64%)
Mutual labels:  stock, hacktoberfest2021
Rqalpha
A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
Stars: ✭ 4,425 (+7945.45%)
Mutual labels:  stock, quant
Qlib Server
Qlib-Server is the data server system for Qlib. It enable Qlib to run in online mode. Under online mode, the data will be deployed as a shared data service. The data and their cache will be shared by all the clients. The data retrieval performance is expected to be improved due to a higher rate of cache hits. It will consume less disk space, too.
Stars: ✭ 81 (+47.27%)
Mutual labels:  stock, quant
Trady
Trady is a handy library for computing technical indicators, and it targets to be an automated trading system that provides stock data feeding, indicator computing, strategy building and automatic trading. It is built based on .NET Standard 2.0.
Stars: ✭ 433 (+687.27%)
Mutual labels:  stock, quant
Friartuck
Live Quant Trading Framework for Robinhood, using IEX Trading and AlphaVantage for Free Prices.
Stars: ✭ 142 (+158.18%)
Mutual labels:  stock, quant
dipiper
基于nodejs的股票数据爬虫
Stars: ✭ 83 (+50.91%)
Mutual labels:  stock, quant
trader
交易模块
Stars: ✭ 20 (-63.64%)
Mutual labels:  stock, quant
Tidyquant
Bringing financial analysis to the tidyverse
Stars: ✭ 635 (+1054.55%)
Mutual labels:  tidyverse, stock
mooquant
MooQuant 是一个基于 pyalgotrade 衍生而来的支持 python3 的支持国内A股的量化交易框架。
Stars: ✭ 24 (-56.36%)
Mutual labels:  stock, quant

tqk

Lifecycle: experimental R-CMD-check CRAN status runiverse-name runiverse-package metacran downloads Downloads Codecov test coverage

Installation

# CRAN version NOT YET!!!
install.packages("tqk")

# Dev version
install.packages("tqk", repos = "https://mrchypark.r-universe.dev")

How to use

library(tqk)
code <- code_get()
code
## # A tibble: 2,630 × 6
##    market name           code   name_full              name_eng        code_full
##    <chr>  <chr>          <chr>  <chr>                  <chr>           <chr>    
##  1 KOSDAQ 마이크로컨텍솔 098120 (주)마이크로컨텍솔루션 Micro Contact … KR709812…
##  2 KOSDAQ 스카이이앤엠   131100 (주)스카이이앤엠       SKY E&M Co., L… KR713110…
##  3 KOSDAQ 포스코엠텍     009520 (주)포스코엠텍         POSCO M-TECH C… KR700952…
##  4 KOSPI  AJ네트웍스     095570 AJ네트웍스보통주       AJ Networks Co… KR709557…
##  5 KOSPI  AK홀딩스       006840 AK홀딩스보통주         AK Holdings, I… KR700684…
##  6 KOSPI  BGF리테일      282330 BGF리테일보통주        BGF Retail      KR728233…
##  7 KOSPI  BGF            027410 BGF보통주              BGF             KR702741…
##  8 KOSPI  BNK금융지주    138930 BNK금융지주보통주      BNK Financial … KR713893…
##  9 KOSPI  BYC우          001465 BYC1우선주             BYC(1P)         KR700146…
## 10 KOSPI  BYC            001460 BYC보통주              BYC             KR700146…
## # … with 2,620 more rows
sscode <- code[grep("^삼성전자$", code$name),3]
sscode
## # A tibble: 1 × 1
##   code  
##   <chr> 
## 1 005930
samsung <- tqk_get(sscode, from = "2018-05-01")
samsung
## # A tibble: 1,026 × 7
##    date          open    high     low   close   volume adjusted
##    <date>       <dbl>   <dbl>   <dbl>   <dbl>    <int>    <dbl>
##  1 2018-05-02 2650000 2650000 2650000 2650000        0    53000
##  2 2018-05-03 2650000 2650000 2650000 2650000        0    53000
##  3 2018-05-04   53000   53900   51800   51900 39565391    51900
##  4 2018-05-08   52600   53200   51900   52600 23104720    52600
##  5 2018-05-09   52600   52800   50900   50900 16128305    50900
##  6 2018-05-10   51700   51700   50600   51600 13905263    51600
##  7 2018-05-11   52000   52200   51200   51300 10314997    51300
##  8 2018-05-14   51000   51100   49900   50100 14909272    50100
##  9 2018-05-15   50200   50400   49100   49200 18709146    49200
## 10 2018-05-16   49200   50200   49150   49850 15918683    49850
## # … with 1,016 more rows
library(tqk)
library(dplyr)
## 
## Attaching package: 'dplyr'

## The following objects are masked from 'package:stats':
## 
##     filter, lag

## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
code_get() %>% 
  filter(grepl("^삼성전자$", name)) %>% 
  select(code) %>% 
  tqk_get(from = "2018-05-01") -> ss
ss
## # A tibble: 1,026 × 7
##    date          open    high     low   close   volume adjusted
##    <date>       <dbl>   <dbl>   <dbl>   <dbl>    <int>    <dbl>
##  1 2018-05-02 2650000 2650000 2650000 2650000        0    53000
##  2 2018-05-03 2650000 2650000 2650000 2650000        0    53000
##  3 2018-05-04   53000   53900   51800   51900 39565391    51900
##  4 2018-05-08   52600   53200   51900   52600 23104720    52600
##  5 2018-05-09   52600   52800   50900   50900 16128305    50900
##  6 2018-05-10   51700   51700   50600   51600 13905263    51600
##  7 2018-05-11   52000   52200   51200   51300 10314997    51300
##  8 2018-05-14   51000   51100   49900   50100 14909272    50100
##  9 2018-05-15   50200   50400   49100   49200 18709146    49200
## 10 2018-05-16   49200   50200   49150   49850 15918683    49850
## # … with 1,016 more rows
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].