newOB: Create or Get Order Book Environment

Description Usage Arguments Value Examples

View source: R/envir_utils.R

Description

Create or Get Order Book Environment

Usage

1
2
3
newOB(ob = ".ob", envir = .GlobalEnv)

getOB(ob = NULL, envir = NULL)

Arguments

ob

string naming the order book environment, or an environment, default '.ob'

envir

environment to use as the parent for the order book, default .GlobalEnv

Value

pointer to the order book environment

Examples

1
2
3
4
5
6
7
.ob <- newOB()
is.environment(.ob)
# TRUE

.ob <- getOB()
is.environment(.ob)
#TRUE

jmazar/obmodeling documentation built on June 8, 2017, 10:30 p.m.