Method: Bitmex::User#execution_history

Defined in:
lib/bitmex/user.rb

#execution_history(symbol = 'XBTUSD', timestamp = Date.today) ⇒ Array

Get the execution history by day

Parameters:

  • symbol (String) (defaults to: 'XBTUSD')

    the symbol to get the history for

  • timestamp (Datetime) (defaults to: Date.today)

    the datetime to filter the history for

Returns:

  • (Array)

    the history



56
57
58
# File 'lib/bitmex/user.rb', line 56

def execution_history(symbol = 'XBTUSD', timestamp = Date.today)
  get 'executionHistory', symbol: symbol, timestamp: timestamp
end