-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GetProductHistoryAsync + Limit Orders additional parameters (#22)
- Loading branch information
1 parent
5aea483
commit 68a89a9
Showing
8 changed files
with
150 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
GDAXClient.Specs/JsonFixtures/Products/ProductHistoryFixture.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace GDAXClient.Services.Orders | ||
{ | ||
public enum TimeInForce | ||
{ | ||
Gtc, | ||
Ioc, | ||
Fok | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters