View source: R/mt_import_data.R
mt_import_data | R Documentation |
Function imports file from the MetaTrader sandbox. Function performs necessary cleansing of the data column types
mt_import_data(path_sbxm, system_number)
path_sbxm |
|
system_number |
|
function returns the data frame with 5 columns including market type code
(C) 2020, 2021 Vladimir Zhbanko
library(dplyr)
library(readr)
library(lazytrade)
path_sbxm <- normalizePath(tempdir(),winslash = "/")
file.copy(from = system.file("extdata", "MarketTypeLog9139106.csv", package = "lazytrade"),
to = file.path(path_sbxm, "MarketTypeLog9139106.csv"), overwrite = TRUE)
DF1 <- mt_import_data(path_sbxm = path_sbxm,
system_number = 9139106)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.