Initial commit
This commit is contained in:
12
app/workers/amqp/trade_executor.rb
Normal file
12
app/workers/amqp/trade_executor.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# encoding: UTF-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Workers
|
||||
module AMQP
|
||||
class TradeExecutor < Base
|
||||
def process(payload)
|
||||
::Matching::Executor.new(payload.symbolize_keys).process
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user