remove_and_update: remove_and_update

Description Usage Arguments

View source: R/order_functions.R

Description

Remove orders from the limit books and update the available market depth.

Usage

1
remove_and_update(order_book, remove_rows, next_slot)

Arguments

order_book

The book to be updated

remove_rows

The orders to be removed (because order is canceller or order has been used to fill an order)

next_slot

The next orders in the book to be shifted upwards once the required orders are removed.


norwegianblueparrot/marketsimulatr documentation built on Dec. 22, 2021, 3:13 a.m.