Method: Bitmex::Client#insurance
- Defined in:
- lib/bitmex/client.rb
#insurance(filters = {}) {|Hash| ... } ⇒ Array
Get insurance fund history
60 61 62 63 64 65 66 |
# File 'lib/bitmex/client.rb', line 60 def insurance(filters = {}, &ablock) if block_given? websocket.listen insurance: nil, &ablock else rest.get :insurance, params: filters end end |