Module: Rybit::Requests::Trade

Included in:
Client
Defined in:
lib/rybit/requests/trade.rb

Instance Method Summary collapse

Instance Method Details

#create_order(options) ⇒ Object



6
7
8
# File 'lib/rybit/requests/trade.rb', line 6

def create_order(options)
  request(:post, '/v5/order/create', options)
end

#get_open_orders(options) ⇒ Object



10
11
12
# File 'lib/rybit/requests/trade.rb', line 10

def get_open_orders(options)
  request(:get, '/v5/order/realtime', options) # category: 'spot'
end