diff --git a/GDAXClient.Specs/GDAXClient.Specs.csproj b/GDAXClient.Specs/GDAXClient.Specs.csproj
index c98858b0..62a15380 100644
--- a/GDAXClient.Specs/GDAXClient.Specs.csproj
+++ b/GDAXClient.Specs/GDAXClient.Specs.csproj
@@ -92,6 +92,7 @@
+
diff --git a/GDAXClient.Specs/JsonFixtures/Products/ProductHistoryFixture.cs b/GDAXClient.Specs/JsonFixtures/Products/ProductHistoryFixture.cs
new file mode 100644
index 00000000..a0ab93e3
--- /dev/null
+++ b/GDAXClient.Specs/JsonFixtures/Products/ProductHistoryFixture.cs
@@ -0,0 +1,39 @@
+namespace GDAXClient.Specs.JsonFixtures.Products
+{
+ public static class ProductHistoryFixture
+ {
+ public static string Create()
+ {
+
+ var json = @"
+[
+ [
+ 1512691200,
+ 16777,
+ 17777.69,
+ 17390.01,
+ 17210.99,
+ 7650.386033540894
+ ],
+ [
+ 1512633600,
+ 14487.8,
+ 19697,
+ 14487.8,
+ 17390.01,
+ 65581.82529800163
+ ],
+ [
+ 1512576000,
+ 13500,
+ 14499.89,
+ 14056.78,
+ 14487.8,
+ 12303.76923928093
+ ]
+]";
+
+ return json;
+ }
+ }
+}
diff --git a/GDAXClient.Specs/Services/Orders/OrdersServiceSpecs.cs b/GDAXClient.Specs/Services/Orders/OrdersServiceSpecs.cs
index 1a8da7e3..9f7b9815 100644
--- a/GDAXClient.Specs/Services/Orders/OrdersServiceSpecs.cs
+++ b/GDAXClient.Specs/Services/Orders/OrdersServiceSpecs.cs
@@ -81,7 +81,7 @@ class when_placing_a_limit_order
};
Because of = () =>
- order_response_result = Subject.PlaceLimitOrderAsync(OrderSide.Buy, ProductType.BtcUsd, .01M, 0.1M).Result;
+ order_response_result = Subject.PlaceLimitOrderAsync(OrderSide.Buy, ProductType.BtcUsd, .01M, 0.1M, DateTime.Today.Date.ToUniversalTime()).Result;
It should_have_correct_account_information = () =>
{
diff --git a/GDAXClient.Specs/Services/Products/ProductsServiceSpecs.cs b/GDAXClient.Specs/Services/Products/ProductsServiceSpecs.cs
index ad20df11..cdaa7dc7 100644
--- a/GDAXClient.Specs/Services/Products/ProductsServiceSpecs.cs
+++ b/GDAXClient.Specs/Services/Products/ProductsServiceSpecs.cs
@@ -1,4 +1,5 @@
-using GDAXClient.Authentication;
+using System;
+using GDAXClient.Authentication;
using GDAXClient.HttpClient;
using GDAXClient.Products;
using GDAXClient.Services.HttpRequest;
@@ -10,6 +11,7 @@
using Machine.Fakes;
using Machine.Specifications;
using System.Collections.Generic;
+using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
@@ -25,6 +27,8 @@ public class ProductsServiceSpecs : WithSubject
static ProductsOrderBookResponse product_order_books_response;
+ static IEnumerable