lib/cryptum/event/sell.rb in cryptum-0.0.380 vs lib/cryptum/event/sell.rb in cryptum-0.0.381
- old
+ new
@@ -94,10 +94,10 @@
# SUBMIT SELL ORDER
event_history.order_submitted = true
event_history.event_notes = "{ \"event_type\": \"#{event_history.event_type}\", \"cancel\": \"#{event_history.order_canceled}\", \"submitted\": \"#{event_history.order_submitted}\" }" if option_choice.proxy
- event_history = Cryptum::API.submit_limit_order(
+ event_history = Cryptum::API::Orders.submit_limit_order(
option_choice: option_choice,
env: env,
price: price,
size: size,
buy_or_sell: :sell,