organize.lob: Organizes LOB (internal function)

Description Usage Arguments Value Examples

View source: R/ghfd_lob_fcts.R

Description

This internal recursive function organizes the lob by making sure that all prices and time are ordered. Every time that prices in the bid and ask matches, it will create a trade and modify the lob accordingly.

Usage

1
organize.lob(my.lob, silent = TRUE)

Arguments

my.lob

A LOB (order book)

silent

Should the function print progress ? (TRUE (default) or FALSE)

Value

An organized LOB

Examples

1
# no examples (internal)

GetHFData documentation built on May 1, 2019, 10:19 p.m.