Method: Bitmex::Client#liquidations
- Defined in:
- lib/bitmex/client.rb
#liquidations(filters = {}) {|Hash| ... } ⇒ Array
Get liquidation orders
85 86 87 88 89 90 91 |
# File 'lib/bitmex/client.rb', line 85 def liquidations(filters = {}, &ablock) if block_given? websocket.listen liquidation: filters[:symbol], &ablock else rest.get :liquidation, params: filters end end |