Skip to content

Commit ac1ff59

Browse files
committed
4.12.0
1 parent 4cef0f8 commit ac1ff59

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

BinanceExchange.API/BinanceExchange.API.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.0;net451;net452;net461;</TargetFrameworks>
4-
<Version>4.11.0</Version>
4+
<Version>4.12.0</Version>
55
<Description>The Binance CryptoCurrency exchange C# wrapper of the API. It is built in dotnet core, supports all REST and WebSocket endpoints, has full logging capabilities, a built in Cache for selected endpoints, a Rate limiter and more. Enjoy Binance API data, fast and reliably.</Description>
66
<Title>Binance Cryptocurrency Exchange - C# API in .NET</Title>
77
<PackageId>BinanceDotNet</PackageId>
@@ -14,9 +14,9 @@
1414
<PackageLicenseUrl>https://github.com/glitch100/BinanceDotNet/blob/master/LICENSE</PackageLicenseUrl>
1515
<RepositoryUrl>https://github.com/glitch100/BinanceDotNet</RepositoryUrl>
1616
<PackageIconUrl>https://i.imgur.com/x2YPVe6.png</PackageIconUrl>
17-
<PackageReleaseNotes>Expose provided listen key in Client</PackageReleaseNotes>
18-
<AssemblyVersion>4.11.0.0</AssemblyVersion>
19-
<FileVersion>4.11.0.0</FileVersion>
17+
<PackageReleaseNotes>Added v3 market methods</PackageReleaseNotes>
18+
<AssemblyVersion>4.12.0.0</AssemblyVersion>
19+
<FileVersion>4.12.0.0</FileVersion>
2020
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
2121
</PropertyGroup>
2222
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

BinanceExchange.API/Client/BinanceClient.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public async Task<SymbolOrderBookResponse> GetSymbolOrderBookTicker(string symbo
218218
{
219219
Guard.AgainstNull(symbol);
220220

221-
return await _apiProcessor.ProcessGetRequest<SymbolOrderBookResponse>(Endpoints.MarketData_v3.BookTicker(symbol));
221+
return await _apiProcessor.ProcessGetRequest<SymbolOrderBookResponse>(Endpoints.MarketDataV3.BookTicker(symbol));
222222
}
223223

224224
/// <summary>
@@ -231,7 +231,7 @@ public async Task<SymbolPriceResponse> GetPrice(string symbol)
231231
{
232232
Guard.AgainstNull(symbol);
233233

234-
return await _apiProcessor.ProcessGetRequest<SymbolPriceResponse>(Endpoints.MarketData_v3.CurrentPrice(symbol));
234+
return await _apiProcessor.ProcessGetRequest<SymbolPriceResponse>(Endpoints.MarketDataV3.CurrentPrice(symbol));
235235
}
236236

237237
/// <summary>
@@ -240,7 +240,7 @@ public async Task<SymbolPriceResponse> GetPrice(string symbol)
240240
/// <returns></returns>
241241
public async Task<List<SymbolPriceResponse>> GetAllPrices()
242242
{
243-
return await _apiProcessor.ProcessGetRequest<List<SymbolPriceResponse>>(Endpoints.MarketData_v3.AllPrices);
243+
return await _apiProcessor.ProcessGetRequest<List<SymbolPriceResponse>>(Endpoints.MarketDataV3.AllPrices);
244244
}
245245

246246
#endregion

BinanceExchange.API/Endpoints.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public static BinanceEndpointData DayPriceTicker(string symbol)
137137
public static BinanceEndpointData SymbolsOrderBookTicker => new BinanceEndpointData(new Uri($"{APIPrefix}/{ApiVersion}/ticker/allBookTickers"), EndpointSecurityType.ApiKey);
138138
}
139139

140-
public static class MarketData_v3
140+
public static class MarketDataV3
141141
{
142142
internal static string ApiVersion = "v3";
143143

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# BinanceDotNet Changelog
22

3+
## 4.12.0
4+
5+
- V3 market endpoints
6+
- Kudos to `PythagDev` for contributing
7+
38
## 4.11.0
49

510
- Expose `ListenKey` on Client. It is set (privately) by the Connection call to the User data web socket

0 commit comments

Comments
 (0)