Separate LimitOrderBook#match into its own method

This commit is contained in:
Tim Kächele 2024-01-21 18:59:40 +01:00
parent 0ba5914b9c
commit cd2262e895

View File

@ -23,6 +23,10 @@ module Rex
def add_and_match_order(order)
add_order(order)
match
end
def match
@matcher.match(self)
end