Refactor how we require the book commponents
This commit is contained in:
parent
cc624fb93a
commit
b7df45794c
@ -1,11 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "rex/version"
|
require_relative "rex/version"
|
||||||
require_relative "rex/book/limit"
|
require_relative "rex/book"
|
||||||
require_relative "rex/book/order"
|
|
||||||
require_relative "rex/book/trade"
|
|
||||||
require_relative "rex/book/limit_order_book"
|
|
||||||
require_relative "rex/book/matcher"
|
|
||||||
|
|
||||||
module Rex
|
module Rex
|
||||||
class Error < StandardError; end
|
class Error < StandardError; end
|
||||||
|
12
lib/rex/book.rb
Normal file
12
lib/rex/book.rb
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require_relative "book/limit"
|
||||||
|
require_relative "book/trade"
|
||||||
|
require_relative "book/order"
|
||||||
|
require_relative "book/limit_order_book"
|
||||||
|
require_relative "book/matcher"
|
||||||
|
|
||||||
|
module Rex
|
||||||
|
module Book
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user