Add in types for order fields
@@ -113,7 +113,7 @@ type Detail struct {
OrderSide Side
OrderType Type
OrderDate time.Time
- Status
+ Status Status
Price float64
Amount float64
ExecutedAmount float64
@@ -129,8 +129,8 @@ type TradeHistory struct {
Price float64
Amount float64
Exchange string
- Type
- Side
+ Type Type
+ Side Side
Fee float64
Description string
}
@@ -142,7 +142,7 @@ type Cancel struct {
CurrencyPair currency.Pair
AssetType asset.Item
WalletAddress string
- Side
+ Side Side
}
// GetOrdersRequest used for GetOrderHistory and GetOpenOrders wrapper functions
