create_order_book

Function create_order_book 

Source
pub fn create_order_book(input: Vec<String>) -> OrderBook
Expand description

Creates an OrderBook with the orders in the input vector

ยงExample:

 use matching_engine::common::utils::{create_order_book, read_input};
 let input = read_input("test_data/orders.txt");
 let mut order_book = create_order_book(input);