---
  test_name: Hived condenser_api.get_trade_history

  marks:
    - patterntest

  includes:
    - !include ../../common.yaml

  stages:
    - name: condenser_api.get_trade_history
      request:
        url: "{service.url:s}"
        method: POST
        headers:
          content-type: application/json
        json:
          jsonrpc: "2.0"
          id: 1
          method: "condenser_api.get_trade_history"
          params: ["2016-08-11T00:00:00", "2017-01-11T00:00:00", 1000]
      response:
        status_code: 200
        verify_response_with:
          function: validate_response:compare_response_with_pattern
          extra_kwargs:
            method: "get"
            directory: "condenser_api_patterns/get_trade_history"
            ignore_tags: ['current_pays','date','open_pays']
