beatrader's People
Forkers
wush978 dboyliao leoluyi everdark mnasia1 c3h3 mansunkuo whizzalan zacariasyang wilsontw arksutw beckysc kvnkuo osisdie karmaotrouper vefs godzillahaur clkao ritachentwn cooliotseng yenchih gridling edhsu1984 oracleli cake654326 lhliu sonic43 kigochen caijiawen parker00811 chinweilu white1033 kevinsyang tpopenfoose charlieswangbeatrader's Issues
library(RMySQL)不在wush寫的套件清單中
wush 的套件清單在 docker 上可以裝,然後執行 mn 的code ok,quantmod_101 的 code 會用到 library(RMySQL) 但是 wush 的清單沒有 RMySQL 套件,建議全部改成 sqlite ?!
2_open_random.R(隨機交易策略損益)
達到最高損益的紅色x改成不同色系較清楚
仍然存在中文字型
5_Optimal_f.R can't be loaded with big5 encoding
as title
Example2_TTR.R L43
如果繞過 #31 , 會發生這個bug:
> getSymbols("^VIX")
[1] "VIX"
> Xt <- VIX
> BBands(Xt)
Error in BBands(Xt) :
Price series must be either High-Low-Close, or Close/univariate.
提醒牧恩學長投影片對應到的程式碼名稱改為英文惹
從Martingle開始
Example2_TTR.R L42
Xt = getSymbols("^VIX",auto.assign = F)
類似 #30
Example3_eventDetection.R getSymbols and auto.assign = F
L7
downloadTaifex.R 下載資料的地方錯了
How to draw 2 k lines on the same frame
怎樣同一畫面畫兩條K線
Example1.R line 93
dbWriteTable(con, "TWII", Stock_Data_DF ,row.names=FALSE,append=TRUE)
這裡有需要讓學員寫資料進去嗎, 可能會影響後面 query 的速度
joshuaulrich/quantmod裝不起來
downloadTaifex.R L37 on windows unzip failed
> rptFiles = apply(dnFilesDF,1,function(xx){
+ do.call(download.file,as.list(xx))
+ unzip(xx[2], exdir = sprintf("./%s/",TAIFEX_RPT_DIR))
+ })
trying URL 'http://www.taifex.com.tw/Dailydownload_eng/Daily_2015_11_13.zip'
Content type 'application/x-zip-compressed' length 540193 bytes (527 KB)
downloaded 527 KB
Show Traceback
Rerun with Debug
Error in unzip(xx[2], exdir = sprintf("./%s/", TAIFEX_RPT_DIR)) :
'exdir' does not exist
Example1.R L22
這段會出錯
Xt = getSymbols("2330.TW",auto.assign = F)
chartSeries(Xt)
getSymbols丟回一個字串,而不是該series
> Xt = getSymbols("2330.TW",auto.assign = F)
Warning messages:
1: In if (auto.assign) assign(Symbols[[i]], fr, env) :
條件的長度 > 1,因此只能用其第一元素
2: In if (auto.assign) return(Symbols) :
條件的長度 > 1,因此只能用其第一元素
3: In if (!auto.assign) return(symbols.returned) :
條件的長度 > 1,因此只能用其第一元素
4: In if (auto.assign) { : 條件的長度 > 1,因此只能用其第一元素
> Xt
[1] "2330.TW"
第一個檔案在mac上會有中文顯示問題
建議quantmod_101 R-code 增加序號
例如:
0_getSymbols.R
1_downloadTaifex.R
…
quantmod_with_ML/Clusterings.R package reqired
# install.packages("fpc")
library("fpc")
downloadTaifex.R
line 98:
df = dbGetQuery(conn,sprintf("select time, price, volume from FutureTByT where pcode = 'TX' and exMW = '201511'", dataDate))
Error in sqliteSendQuery(con, statement, bind.data) :
error in statement: no such table: FutureTByT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.