MT5.GetTimesSales: Load Times & Sales table

Description Usage Arguments Value Author(s) References

View source: R/Source_MT5.R

Description

Function to load Times & Sales table from MT5 of target symbol.

Times & Sales table provides in-depth trading data, including records on time, direction, price and volume of executed trades.

Undefined direction transaction appears as N/A in MT5's Times & Sales table. Those transactions are automatically removed by default (bIgnoreNAs = TRUE). See References.

Usage

1
MT5.GetTimesSales(sSymbol, iRows = 10, bIgnoreNAs = TRUE)

Arguments

sSymbol

character; target symbol.

iRows

int; how many rows. It's start from last. (default: 10)

bIgnoreNAs

bool; ignore NA type in Times & Series of MT5 table. See references. (default: TRUE)

Value

Returns Data.frame [nx4], with follow informations:

Author(s)

Guilherme Kinzel, guikinzel@gmail.com

References

https://www.metatrader5.com/en/terminal/help/trading/depth_of_market


Kinzel/mt5r documentation built on March 25, 2021, 9:57 p.m.