package bittrex

// Used in getmarkethistory
type Trade struct {
	OrderUuid int64   `json:"Id"`
	Timestamp jTime   `json:"TimeStamp"`
	Quantity  float64 `json:"Quantity"`
	Price     float64 `json:"Price"`
	Total     float64 `json:"Total"`
	FillType  string  `json:"FillType"`
	OrderType string  `json:"OrderType"`
}

package bittrex

// Used in getmarkethistory
type Trade struct {
	OrderUuid string  `json:"OrderUuid"`
	Timestamp jTime   `json:"TimeStamp"`
	Quantity  float64 `json:"Quantity"`
	Price     float64 `json:"Price"`
	Total     float64 `json:"Total"`
	FillType  string  `json:"FillType"`
	OrderType string  `json:"OrderType"`
}

--- 
+++ 
@@ -2,7 +2,7 @@
 
 // Used in getmarkethistory
 type Trade struct {
-	OrderUuid string  `json:"OrderUuid"`
+	OrderUuid int64   `json:"Id"`
 	Timestamp jTime   `json:"TimeStamp"`
 	Quantity  float64 `json:"Quantity"`
 	Price     float64 `json:"Price"`
Change json Tag for Trade struct from OrderUuid to Id for matching the current API
