View source: R/order_functions.R
Fill orders once available market depth is available.
1 2 3 4 5 6 7 8 9 | fill_order(
market_order,
order_book,
record,
current_price,
tick_size,
next_order_position,
mm_price
)
|
market_order |
The order to be filled. |
order_book |
The order book |
record |
The trading record (which is tracking the traded prices) |
current_price |
The current trading price |
tick_size |
The minimum tick size allowed |
next_order_position |
The position of the next order in the book |
mm_price |
THe market makers price |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.