code: func (b *Bittrex) GetOrderHistory(market string) (orders []Order, err error) {
  	resource := "account/getorderhistory"
  	if market != "all" {
  		resource += "?market=" + market
  	}
  	r, err := b.client.do("GET", resource, "", true)
  	if err != nil {
  		return
  	}
  	var response jsonResponse
  	if err = json.Unmarshal(r, &response); err != nil {
  		return
  	}
  	if err = handleErr(response); err != nil {
  		return
  	}
  	err = json.Unmarshal(response.Result, &orders)
  	return
  }
docs: // GetOrderHistory used to retrieve your order history.
  // market string literal for the market (ie. BTC-LTC). If set to "all", will return for all market