From 5c3c4868087088249703fdccec6863e25e7833f8 Mon Sep 17 00:00:00 2001 From: dougdellolio Date: Fri, 2 Aug 2019 22:01:01 -0400 Subject: [PATCH] [Feature] Add support for Tezos (XTZ) --- CoinbasePro.sln | 4 ++-- CoinbasePro/CoinbasePro.csproj | 2 +- CoinbasePro/Shared/Types/Currency.cs | 1 + CoinbasePro/Shared/Types/ProductType.cs | 4 ++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CoinbasePro.sln b/CoinbasePro.sln index 0ee30878..c3ed210f 100644 --- a/CoinbasePro.sln +++ b/CoinbasePro.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27004.2002 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29123.88 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CoinbasePro", "CoinbasePro\CoinbasePro.csproj", "{454A0FAC-C580-4674-AE58-6D8E6658685B}" EndProject diff --git a/CoinbasePro/CoinbasePro.csproj b/CoinbasePro/CoinbasePro.csproj index 8335d95b..7cfaf8a3 100644 --- a/CoinbasePro/CoinbasePro.csproj +++ b/CoinbasePro/CoinbasePro.csproj @@ -6,7 +6,7 @@ git://github.com/dougdellolio/coinbasepro-csharp Doug Dellolio latest - 1.0.28 + 1.0.29 GDAX.Api.ClientLibrary The unofficial .NET/C# client for the CoinbasePro/GDAX API https://github.com/dougdellolio/coinbasepro-csharp/blob/master/LICENSE diff --git a/CoinbasePro/Shared/Types/Currency.cs b/CoinbasePro/Shared/Types/Currency.cs index 3aade9e9..8cdd9035 100644 --- a/CoinbasePro/Shared/Types/Currency.cs +++ b/CoinbasePro/Shared/Types/Currency.cs @@ -24,6 +24,7 @@ public enum Currency Unknown, XLM, XRP, + XTZ, ZEC, ZIL, ZRX diff --git a/CoinbasePro/Shared/Types/ProductType.cs b/CoinbasePro/Shared/Types/ProductType.cs index 90d924ea..57b5e4c4 100644 --- a/CoinbasePro/Shared/Types/ProductType.cs +++ b/CoinbasePro/Shared/Types/ProductType.cs @@ -88,6 +88,10 @@ public enum ProductType XlmBtc, [EnumMember(Value = "XLM-EUR")] XlmEur, + [EnumMember(Value = "XTZ-USD")] + XtzUsd, + [EnumMember(Value = "XTZ-BTC")] + XtzBtc, [EnumMember(Value = "EOS-USD")] EosUsd, [EnumMember(Value = "EOS-EUR")]