author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
329,148
24.05.2018 19:30:28
21,600
c41a1e1e777bf16673b9a1adc8ff439cffe2cc52
Make exchange market cache a dictionary, handle async
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -33,35 +33,61 @@ namespace ExchangeSharp\nprivate static readonly Dictionary<string, IExchangeAPI> apis = new Dictionary<string, IExchangeAPI>(St...
C#
MIT License
jjxtra/exchangesharp
Make exchange market cache a dictionary, handle async
329,148
24.05.2018 19:30:59
21,600
dca2f63db0695b93f22d1262d47ab30b4e446bd2
Lock exchange market dictionary
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -73,7 +73,7 @@ namespace ExchangeSharp\n// Get the exchange markets if we haven't gotten them yet.\nif (forceRefresh || exchangeMarkets.Count == ...
C#
MIT License
jjxtra/exchangesharp
Lock exchange market dictionary
329,148
24.05.2018 19:34:48
21,600
7004e5a97389a669db398bd7cc2daf31b6be75ef
Promote GetExchangeMarketFromCacheAsync to public method
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -36,34 +36,6 @@ namespace ExchangeSharp\nprivate readonly Dictionary<string, ExchangeMarket> exchangeMarkets = new Dictionary<string, ExchangeMar...
C#
MIT License
jjxtra/exchangesharp
Promote GetExchangeMarketFromCacheAsync to public method
329,148
24.05.2018 19:56:11
21,600
c3afe2cfb1bd7cfcc9b680142dff39f6b494287a
Add unit test for GetExchangeMarketFromCache
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -655,6 +655,7 @@ namespace ExchangeSharp\n/// <summary>\n/// Gets the exchange market from this exchange's SymbolsMetadata cache. This will make ...
C#
MIT License
jjxtra/exchangesharp
Add unit test for GetExchangeMarketFromCache
329,148
24.05.2018 20:40:09
21,600
f4ac296d4b253c9d2943c4aa2bde3f82d3e035b0
Add synchronization context remover
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -671,6 +671,8 @@ namespace ExchangeSharp\n{\ntry\n{\n+ // not sure if this is needed, but adding it just in case\n+ await new SynchronizationCont...
C#
MIT License
jjxtra/exchangesharp
Add synchronization context remover
329,148
25.05.2018 19:52:50
21,600
af54fa63e42e3debdc30c796338f5ef728c9e9b2
Add request state
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/APIRequestMaker.cs", "new_path": "ExchangeSharp/API/APIRequestMaker.cs", "diff": "@@ -94,8 +94,13 @@ namespace ExchangeSharp\nrequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;\napi.ProcessRequest(reque...
C#
MIT License
jjxtra/exchangesharp
Add request state
329,148
25.05.2018 20:15:09
21,600
c3a3087dd21af2f08cffdce5db2a764a5cab0e33
Add mock request maker Mock request maker will allow requests to deal with multiple url and responses in case a request needs to be unit tested that chains to multiple requests.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/SynchronizationContextRemover.cs", "new_path": "ExchangeSharp/Utility/SynchronizationContextRemover.cs", "diff": "@@ -18,7 +18,7 @@ using System.Threading;\nnamespace ExchangeSharp\n{\n- internal struct SynchronizationContextRemover : INo...
C#
MIT License
jjxtra/exchangesharp
Add mock request maker Mock request maker will allow requests to deal with multiple url and responses in case a request needs to be unit tested that chains to multiple requests.
329,148
26.05.2018 11:28:16
21,600
733d69fe4e59a26f809d6ccba9abbad0f282c0b6
Implement OkEx GetTickers
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeOkexAPI.cs", "diff": "@@ -22,11 +22,10 @@ namespace ExchangeSharp\npublic sealed class ExchangeOkexAPI : ExchangeAPI\n{\npublic override string BaseUrl { get; set...
C#
MIT License
jjxtra/exchangesharp
Implement OkEx GetTickers
329,148
26.05.2018 11:50:31
21,600
64d8dc06def4c5c76146cd1577b4f8b5edcb5ed0
Fix HitBTC private api
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "diff": "@@ -46,36 +46,14 @@ namespace ExchangeSharp\nreturn ExchangeSymbolToGlobalSymbolWithSeparator(symbol.Substring(0, symbol.Length - 3) + G...
C#
MIT License
jjxtra/exchangesharp
Fix HitBTC private api
329,148
26.05.2018 13:26:07
21,600
53fc836de9c5c597e0efd4957605af21e44309b2
Fix HitBTC API
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/BaseAPI.cs", "new_path": "ExchangeSharp/API/BaseAPI.cs", "diff": "@@ -449,11 +449,11 @@ namespace ExchangeSharp\n/// </summary>\n/// <param name=\"request\">Request</param>\n/// <param name=\"form\">Form to write</param>\n- protected void Wri...
C#
MIT License
jjxtra/exchangesharp
Fix HitBTC API
329,092
26.05.2018 17:16:35
18,000
a57311f4015abc2b2f21731245795ff4bb040ecf
Change encoding back to ASCII to fix Poloniex signature validation
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/BaseAPI.cs", "new_path": "ExchangeSharp/API/BaseAPI.cs", "diff": "@@ -453,7 +453,7 @@ namespace ExchangeSharp\n{\nif (!string.IsNullOrEmpty(form))\n{\n- using (StreamWriter writer = new StreamWriter(request.GetRequestStream(), Encoding.UTF8))...
C#
MIT License
jjxtra/exchangesharp
Change encoding back to ASCII to fix Poloniex signature validation (#154)
329,148
26.05.2018 16:26:49
21,600
10654adb9102d548fd7c2f7045e03cc2ec935391
Use utf-8 with no prefix for everything
[ { "change_type": "MODIFY", "old_path": "CONTRIBUTING.md", "new_path": "CONTRIBUTING.md", "diff": "@@ -10,6 +10,7 @@ Please follow these guidelines...\n- Easiest way is find another exchange and copy the file and customize as needed.\n- For any DateTime conversions, please use the ConvertDateTimeInva...
C#
MIT License
jjxtra/exchangesharp
Use utf-8 with no prefix for everything
329,148
26.05.2018 16:31:28
21,600
1bcdf674198c20ce90483845278b24d3c18e4132
Microsoft recommends to always throw on invalid bytes for security reasons
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/CryptoUtility.cs", "new_path": "ExchangeSharp/Utility/CryptoUtility.cs", "diff": "@@ -28,7 +28,7 @@ namespace ExchangeSharp\n{\nprivate static readonly DateTime unixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc);\nprivate ...
C#
MIT License
jjxtra/exchangesharp
Microsoft recommends to always throw on invalid bytes for security reasons
329,148
27.05.2018 12:11:54
21,600
050666dd4abd19540b82a2ccfecef4e2df23abe3
Fix gdax web socket tickers and add GetTickers implementation
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeGdaxAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeGdaxAPI.cs", "diff": "@@ -199,6 +199,40 @@ namespace ExchangeSharp\n};\n}\n+ protected override async Task<IEnumerable<KeyValuePair<string, ExchangeTicker>>> OnGe...
C#
MIT License
jjxtra/exchangesharp
Fix gdax web socket tickers and add GetTickers implementation
329,148
28.05.2018 15:54:57
21,600
8dc29564da8e9e1e67567485900835df9c9c6de9
Make web socket methods use On... pattern
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -26,11 +26,17 @@ namespace ExchangeSharp\n/// </summary>\npublic abstract class ExchangeAPI : BaseAPI, IExchangeAPI\n{\n+ #region Cosntants\n+\n/...
C#
MIT License
jjxtra/exchangesharp
Make web socket methods use On... pattern
329,148
28.05.2018 22:50:32
21,600
c1f94cd2ce76b523b5384d59c27908a1d1331df7
Add Binance support for multi symbol order book over web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -164,7 +164,7 @@ namespace ExchangeSharp\nprotected virtual Task OnCancelOrderAsync(string orderId, string symbol = null) => throw new NotImpleme...
C#
MIT License
jjxtra/exchangesharp
Add Binance support for multi symbol order book over web socket
329,148
28.05.2018 23:29:26
21,600
bd94aa2b852ac19acff10db8dec68ef99b0805d3
Add websocket trades interface. Implement on Binance.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -166,7 +166,9 @@ namespace ExchangeSharp\nprotected virtual Task<Dictionary<string, decimal>> OnGetMarginAmountsAvailableToTradeAsync() => throw ...
C#
MIT License
jjxtra/exchangesharp
Add websocket trades interface. Implement on Binance.
329,148
29.05.2018 08:43:18
21,600
06dd85229ed69c6fb8a3843020bf17a56c882a4a
Change Kraken to milliseconds nonce
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeKrakenAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeKrakenAPI.cs", "diff": "@@ -45,6 +45,7 @@ namespace ExchangeSharp\nRequestContentType = \"application/x-www-form-urlencoded\";\nSymbolSeparator = string.Empty;\...
C#
MIT License
jjxtra/exchangesharp
Change Kraken to milliseconds nonce
329,148
29.05.2018 14:07:52
21,600
dbcc8790b45b5064d90f8d1dda9a3749370f7ec6
Pull request cleanup, remove .Value<T> calls
[ { "change_type": "MODIFY", "old_path": "CONTRIBUTING.md", "new_path": "CONTRIBUTING.md", "diff": "Pull requests are encouraged and welcome. The more people contributing, the more features and faster this API will grow, serving everyone who uses C# and cryptocurrency.\nPlease follow these guidelines....
C#
MIT License
jjxtra/exchangesharp
Pull request cleanup, remove .Value<T> calls
329,148
29.05.2018 14:21:45
21,600
f66c5f2fbb524dc93138a9721be36da18013e96b
Accept non-US English
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/APIRequestMaker.cs", "new_path": "ExchangeSharp/API/APIRequestMaker.cs", "diff": "@@ -76,7 +76,7 @@ namespace ExchangeSharp\nstring fullUrl = (baseUrl ?? api.BaseUrl) + url;\nUri uri = api.ProcessRequestUrl(new UriBuilder(fullUrl), payload);\...
C#
MIT License
jjxtra/exchangesharp
Accept non-US English
329,148
29.05.2018 17:47:35
21,600
fcf4086efa66e1b2afca5f9d348dfcd83495ed10
Fix broken livecoin orders
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeLivecoinAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeLivecoinAPI.cs", "diff": "@@ -38,14 +38,14 @@ namespace ExchangeSharp\n#region ProcessRequest\n- protected override Task ProcessRequestAsync(HttpWebRequest re...
C#
MIT License
jjxtra/exchangesharp
Fix broken livecoin orders
329,148
29.05.2018 18:33:38
21,600
153f0fd502141609b809857918ea8b78c1494b78
More livecoin fixes and remove redundancy from function names
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAbucoinsAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAbucoinsAPI.cs", "diff": "@@ -44,12 +44,12 @@ namespace ExchangeSharp\nstring body = CryptoUtility.GetJsonForPayload(payload);\nstring timestamp = ((int)DateT...
C#
MIT License
jjxtra/exchangesharp
More livecoin fixes and remove redundancy from function names
329,148
29.05.2018 19:19:40
21,600
5deb058510858a833e0f19ee49fb66eee4f4fbb3
Make livecoin sign uppercase
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/APIRequestMaker.cs", "new_path": "ExchangeSharp/API/APIRequestMaker.cs", "diff": "@@ -93,7 +93,7 @@ namespace ExchangeSharp\n}\nrequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;\nawait api.ProcessReque...
C#
MIT License
jjxtra/exchangesharp
Make livecoin sign uppercase
329,148
29.05.2018 19:27:49
21,600
c94b51451464fc9580e8a0c1473b2fb36f1ff8fd
HitBTC GTC default for limit order
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "diff": "@@ -289,8 +289,8 @@ namespace ExchangeSharp\nif (order.OrderType == OrderType.Limit)\n{\npayload[\"price\"] = order.Price;\n+ payload[\"...
C#
MIT License
jjxtra/exchangesharp
HitBTC GTC default for limit order
329,148
01.06.2018 09:53:15
21,600
4588a47cd7d6604751b497842c100410086b763d
Bug fixes for order book, fix Binance, new nuget
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeBinanceAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeBinanceAPI.cs", "diff": "@@ -312,11 +312,14 @@ namespace ExchangeSharp\nstring name = token[\"stream\"].ToStringInvariant();\ntoken = token[\"data\"];\nstring ...
C#
MIT License
jjxtra/exchangesharp
Bug fixes for order book, fix Binance, new nuget
329,148
01.06.2018 10:11:30
21,600
a60f78cdb3d149cbc19dd42321662176ca41500e
Fix yobit nonce
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/BaseAPI.cs", "new_path": "ExchangeSharp/API/BaseAPI.cs", "diff": "@@ -60,7 +60,12 @@ namespace ExchangeSharp\n/// <summary>\n/// Seconds (string)\n/// </summary>\n- UnixSecondsString\n+ UnixSecondsString,\n+\n+ /// <summary>\n+ /// Persist no...
C#
MIT License
jjxtra/exchangesharp
Fix yobit nonce
329,148
01.06.2018 10:17:24
21,600
0beb8e40758b783a83e9f1541b663ffae31f83bd
Fix HitBTC open orders
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "diff": "@@ -287,9 +287,18 @@ namespace ExchangeSharp\n{\nList<ExchangeOrderResult> orders = new List<ExchangeOrderResult>();\nvar payload = awai...
C#
MIT License
jjxtra/exchangesharp
Fix HitBTC open orders
329,148
01.06.2018 23:09:49
21,600
d837e2f395b07c1f07c371e4d5bd55331c4f0120
Fix OKEX API
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeOkexAPI.cs", "diff": "@@ -22,7 +22,7 @@ namespace ExchangeSharp\npublic sealed class ExchangeOkexAPI : ExchangeAPI\n{\npublic override string BaseUrl { get; set; ...
C#
MIT License
jjxtra/exchangesharp
Fix OKEX API
329,115
03.06.2018 18:46:49
-3,600
f3cbb2bbb261b1feb3c9c8a5dfa5d6393b65f683
Replaced Monitor with Semaphore for proper thread synchronisation
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -10,15 +10,14 @@ The above copyright notice and this permission notice shall be included in all c\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WA...
C#
MIT License
jjxtra/exchangesharp
Replaced Monitor with Semaphore for proper thread synchronisation (#169)
329,115
03.06.2018 18:47:43
-3,600
1c44b2142d9a7d3842cdf77378be8bbcf8d05703
Binance does not accept quantities with more than 20 decimal places
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeBinanceAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeBinanceAPI.cs", "diff": "@@ -533,7 +533,8 @@ namespace ExchangeSharp\ndecimal outputQuantity = await ClampOrderQuantity(symbol, order.Amount);\ndecimal outputP...
C#
MIT License
jjxtra/exchangesharp
#170 - Binance does not accept quantities with more than 20 decimal places (#171)
329,138
04.06.2018 08:24:28
14,400
fc9405d0cf370c30744710864538a79e060dc4f4
Updates to Hitbtc & Livecoin OnGetSymbolsMetadataAsync() * Update ExchangeLivecoinAPI.cs Correct reversed BaseCurrency/MarketCurrency symbols in OnGetSymbolsMetadataAsync() * Livecoin: Correct reversed BaseCurrency/MarketCurrency symbols. Add MinTradeSize & PriceStepSize fields. * Hitbtc - Correct reversed symbols OnGetSymbolsMetadataAsync.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "diff": "@@ -96,8 +96,8 @@ namespace ExchangeSharp\nmarkets.Add(new ExchangeMarket()\n{\nMarketName = token[\"id\"].ToStringInvariant(),\n- BaseC...
C#
MIT License
jjxtra/exchangesharp
Updates to Hitbtc & Livecoin OnGetSymbolsMetadataAsync() (#176) * Update ExchangeLivecoinAPI.cs Correct reversed BaseCurrency/MarketCurrency symbols in OnGetSymbolsMetadataAsync() * Livecoin: Correct reversed BaseCurrency/MarketCurrency symbols. Add MinTradeSize & PriceStepSize fields. * Hitbtc - Correct reversed symbols OnGetSymbolsMetadataAsync.
329,092
09.06.2018 15:23:31
25,200
b6b7143c126ecda236dcaceaf2ca551e76061486
Processing of initial order book in OnGetOrderBookWebSocket had flipped price and amount
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangePoloniexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangePoloniexAPI.cs", "diff": "@@ -481,8 +481,8 @@ namespace ExchangeSharp\n{\nvar depth = new ExchangeOrderPrice\n{\n- Amount = jprop.Name.ConvertInvariant<decima...
C#
MIT License
jjxtra/exchangesharp
Processing of initial order book in OnGetOrderBookWebSocket had flipped price and amount (#181)
329,148
11.06.2018 10:38:40
21,600
6b2f14e1f3d44840980fd5afb58978be00aa75cf
Fix HitBTC API to not post data on GET requests
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "diff": "@@ -52,9 +52,12 @@ namespace ExchangeSharp\nif (CanMakeAuthenticatedRequest(payload))\n{\nrequest.Headers[\"Authorization\"] = CryptoUti...
C#
MIT License
jjxtra/exchangesharp
Fix HitBTC API to not post data on GET requests
329,148
11.06.2018 10:54:27
21,600
09a1cbb322c0d5aef2654fdbf5057927d6edc02c
Fix HitBTC urls, add helper method to append payload to url query
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/APIRequestMaker.cs", "new_path": "ExchangeSharp/API/APIRequestMaker.cs", "diff": "@@ -57,7 +57,7 @@ namespace ExchangeSharp\n/// <param name=\"baseUrl\">Override the base url, null for the default BaseUrl</param>\n/// <param name=\"payload\">...
C#
MIT License
jjxtra/exchangesharp
Fix HitBTC urls, add helper method to append payload to url query
329,148
11.06.2018 16:39:58
21,600
821aaeda94c05b65edb4e078398022bde97182ee
Rename private variables to follow standard
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/BaseAPI.cs", "new_path": "ExchangeSharp/API/BaseAPI.cs", "diff": "@@ -405,7 +405,7 @@ namespace ExchangeSharp\npublic WebSocketWrapper ConnectWebSocket(string url, Action<byte[], WebSocketWrapper> messageCallback, Action<WebSocketWrapper> con...
C#
MIT License
jjxtra/exchangesharp
Rename private variables to follow standard
329,148
12.06.2018 06:45:42
21,600
ab35a37cd27b69879470edf0792df20969a61f46
Fix Poloniex missing symbol for all completed orders
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangePoloniexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangePoloniexAPI.cs", "diff": "@@ -154,6 +154,10 @@ namespace ExchangeSharp\norder.AveragePrice = (order.AveragePrice * order.AmountFilled + tradeAmt * tradeRate) ...
C#
MIT License
jjxtra/exchangesharp
Fix Poloniex missing symbol for all completed orders
329,148
12.06.2018 07:29:42
21,600
246bf774e4cc4455075353edb96d5c67cfccdb05
Add unit test for Poloniex all symbol order results
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangePoloniexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangePoloniexAPI.cs", "diff": "@@ -133,18 +133,19 @@ namespace ExchangeSharp\nif (!orderMetadataSet)\n{\norder.IsBuy = trade[\"type\"].ToStringLowerInvariant() != ...
C#
MIT License
jjxtra/exchangesharp
Add unit test for Poloniex all symbol order results
329,148
12.06.2018 19:55:58
21,600
029a19c1b4f03c008c32a8f36c8463e03cb2d174
Handle Bittrex cancelled orders
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeBittrexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeBittrexAPI.cs", "diff": "@@ -477,7 +477,22 @@ namespace ExchangeSharp\norder.Price = token[\"Limit\"].ConvertInvariant<decimal>(order.AveragePrice);\norder.Mes...
C#
MIT License
jjxtra/exchangesharp
Handle Bittrex cancelled orders
329,148
13.06.2018 09:33:30
21,600
2bacfa4158ee1c520a6fd3ee3eac92342e96cf84
Okex bug fix, Poloniex symbol for order parse
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeOkexAPI.cs", "diff": "@@ -37,6 +37,22 @@ namespace ExchangeSharp\n}\n#region ProcessRequest\n+\n+ protected override JToken CheckJsonResponse(JToken result)\n+ {\...
C#
MIT License
jjxtra/exchangesharp
Okex bug fix, Poloniex symbol for order parse
329,148
13.06.2018 17:11:01
21,600
b4aa90fac4cdc0d78bc6d42f800f8dfe3c238985
Remove delta socket method Delta socket method for Binance is now in the standard GetOrderBookWebSocket call. Seems to work great! I also added an initial fetch of the order book, since Binance only sends the changes.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -133,7 +133,6 @@ namespace ExchangeSharp\nprotected virtual IDisposable OnGetTickersWebSocket(Action<IReadOnlyCollection<KeyValuePair<string, Exc...
C#
MIT License
jjxtra/exchangesharp
Remove delta socket method Delta socket method for Binance is now in the standard GetOrderBookWebSocket call. Seems to work great! I also added an initial fetch of the order book, since Binance only sends the changes.
329,148
13.06.2018 19:40:49
21,600
f2e9d18bd81c02cc349794d722ab5a9878613a71
Fix for Binance web socket order book
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeBinanceAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeBinanceAPI.cs", "diff": "@@ -60,6 +60,11 @@ namespace ExchangeSharp\npublic BinanceMarketDepthDiffUpdate Data { get; set; }\n}\n+ public class ExchangeBinanceO...
C#
MIT License
jjxtra/exchangesharp
Fix for Binance web socket order book
329,148
14.06.2018 20:38:14
21,600
2828965b011dbab89ec9f55b3e95d66fa17c5e66
Make order book model object for web socket order books
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -1188,7 +1188,8 @@ namespace ExchangeSharp\npublic IDisposable GetTradesWebSocket(Action<KeyValuePair<string, ExchangeTrade>> callback, params st...
C#
MIT License
jjxtra/exchangesharp
Make order book model object for web socket order books
329,148
15.06.2018 16:16:57
21,600
67a22fc1b5f5957c982f347b5d7f4120eabcd639
Refactor order book for web sockets Due to some great feedback, the public interface for exchange api is now only doing a delta order book scocket. An extension method is provided to manager a full order book.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -132,7 +132,7 @@ namespace ExchangeSharp\nprotected virtual IDisposable OnGetTickersWebSocket(Action<IReadOnlyCollection<KeyValuePair<string, Exc...
C#
MIT License
jjxtra/exchangesharp
Refactor order book for web sockets Due to some great feedback, the public interface for exchange api is now only doing a delta order book scocket. An extension method is provided to manager a full order book.
329,148
15.06.2018 18:41:36
21,600
5131bf01741958ba7bb72587b08a2e0d57d7b91d
Fix Binance order book web socket bug
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPIExtensions.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPIExtensions.cs", "diff": "@@ -47,7 +47,7 @@ namespace ExchangeSharp\n// see if we have a full order book for the symbol\nif (!fullBooks.TryGetValue(book.S...
C#
MIT License
jjxtra/exchangesharp
Fix Binance order book web socket bug
329,148
20.06.2018 10:08:37
21,600
b271275f05896a111ca13e9f04cefeac4639a598
Fix bug in Bitfinex place order
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeBitfinexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeBitfinexAPI.cs", "diff": "@@ -386,15 +386,18 @@ namespace ExchangeSharp\nstring symbol = NormalizeSymbolV1(order.Symbol);\nDictionary<string, object> payload ...
C#
MIT License
jjxtra/exchangesharp
Fix bug in Bitfinex place order
329,148
20.06.2018 16:24:16
21,600
aad249a6bbb19630c34d904fc1313c170ca16256
Add note about Windows support
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -9,7 +9,7 @@ I do cryptocurrency consulting, please don't hesitate to contact me if you have\n- Many exchanges supported with public, private and web socket API\n- Easy to use and well documented code and API\n-...
C#
MIT License
jjxtra/exchangesharp
Add note about Windows support
329,090
24.06.2018 18:42:37
10,800
679b6968dd72f44d87879866fbceb2eb9b46e704
Correction in get balance of HitBTC
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeHitbtcAPI.cs", "diff": "@@ -227,7 +227,7 @@ namespace ExchangeSharp\nDictionary<string, decimal> amounts = new Dictionary<string, decimal>();\n// [ {\"currency\...
C#
MIT License
jjxtra/exchangesharp
Correction in get balance of HitBTC (#186)
329,090
24.06.2018 20:42:04
10,800
4d63304fc9007234355b1465505f9e114f4c6757
PlaceMarginOrder to Bitfinex exchange
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeBitfinexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeBitfinexAPI.cs", "diff": "@@ -382,13 +382,28 @@ namespace ExchangeSharp\n}\nprotected override async Task<ExchangeOrderResult> OnPlaceOrderAsync(ExchangeOrder...
C#
MIT License
jjxtra/exchangesharp
PlaceMarginOrder to Bitfinex exchange (#188)
329,148
24.06.2018 20:38:41
21,600
43b7e2f7a51deed43df7989e3fbfbf8cce44b609
Add IsMargin order property, remove margin order methods
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeAPI.cs", "diff": "@@ -126,7 +126,6 @@ namespace ExchangeSharp\nprotected virtual Task OnCancelOrderAsync(string orderId, string symbol = null) => throw new NotImpleme...
C#
MIT License
jjxtra/exchangesharp
Add IsMargin order property, remove margin order methods
329,148
24.06.2018 20:39:18
21,600
b422fbb3628e19e8e5d5037178025bfa128ee559
Add comment about margin order
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Model/ExchangeOrderRequest.cs", "new_path": "ExchangeSharp/Model/ExchangeOrderRequest.cs", "diff": "@@ -44,7 +44,8 @@ namespace ExchangeSharp\n/// <summary>\n/// Whether the order is a margin order. Not all exchanges support margin orders, so thi...
C#
MIT License
jjxtra/exchangesharp
Add comment about margin order
329,090
25.06.2018 12:24:14
10,800
9d822bddd4bac08c834a76a9a2bd02901bbac755
Implement margin to Huobi exchange
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/ExchangeHuobiAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/ExchangeHuobiAPI.cs", "diff": "@@ -697,43 +697,27 @@ namespace ExchangeSharp\nstring symbol = NormalizeSymbol(order.Symbol);\nvar accounts = await OnGetAccountsAsync();\...
C#
MIT License
jjxtra/exchangesharp
Implement margin to Huobi exchange (#189)
329,115
27.06.2018 01:22:23
-3,600
4481bd883eefb71a9d45f7ee8c74529c13c692bd
Fixed WebSocketWrapper not disposing properly
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/WebSocketWrapper.cs", "new_path": "ExchangeSharp/API/WebSocketWrapper.cs", "diff": "@@ -77,6 +77,7 @@ namespace ExchangeSharp\n/// </summary>\npublic void Dispose()\n{\n+ disposed = true;\ntry\n{\nwebSocket.CloseAsync(WebSocketCloseStatus.Nor...
C#
MIT License
jjxtra/exchangesharp
Fixed WebSocketWrapper not disposing properly (#194)
329,148
03.07.2018 10:03:14
21,600
c0986552944e8fa15e9d9cb27eb69259a2cc6328
Bug fix for Bitfinex max count
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Bitfinex/ExchangeBitfinexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Bitfinex/ExchangeBitfinexAPI.cs", "diff": "@@ -296,7 +296,7 @@ namespace ExchangeSharp\nbreak;\n}\ntrades.Clear();\n- if (tradeChunk.Length < 500 || startDat...
C#
MIT License
jjxtra/exchangesharp
Bug fix for Bitfinex max count
329,161
06.07.2018 16:19:48
-10,800
b25faaf0f9d060c15fc5b842600025e2f5bf3360
Cryptopia bug fix
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Cryptopia/ExchangeCryptopiaAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Cryptopia/ExchangeCryptopiaAPI.cs", "diff": "@@ -208,7 +208,7 @@ namespace ExchangeSharp\nforeach (JToken currency in token)\n{\ndecimal amount = currency[...
C#
MIT License
jjxtra/exchangesharp
Cryptopia bug fix (#201)
329,158
06.07.2018 23:00:25
-28,800
191ff5720670c0f2b9fc674778b7c1fc9b3bc504
add BitMEX api
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs", "diff": "@@ -1230,6 +1230,11 @@ namespace ExchangeSharp\n/// </summary>\npublic const string Bithumb = \"Bithumb\";\n+ /// <summary>\n+ /// BitME...
C#
MIT License
jjxtra/exchangesharp
add BitMEX api (#202)
329,158
06.07.2018 23:24:58
-28,800
cd97b559796d26adace47912d8a21f457101498a
decimal format in GetJsonForPayload must same as GetFormForPayload
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/CryptoUtility.cs", "new_path": "ExchangeSharp/Utility/CryptoUtility.cs", "diff": "@@ -417,7 +417,8 @@ namespace ExchangeSharp\n{\nif (payload != null && payload.Count != 0)\n{\n- return JsonConvert.SerializeObject(payload);\n+ // the deci...
C#
MIT License
jjxtra/exchangesharp
decimal format in GetJsonForPayload must same as GetFormForPayload (#203)
329,158
09.07.2018 00:23:38
-28,800
9e8eee1d5efaa0d2710b68276edd216760323f61
add BitMEX private rest api
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/BitMEX/ExchangeBitMEXAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/BitMEX/ExchangeBitMEXAPI.cs", "diff": "@@ -26,6 +26,7 @@ namespace ExchangeSharp\npublic sealed partial class ExchangeBitMEXAPI : ExchangeAPI\n{\npublic override...
C#
MIT License
jjxtra/exchangesharp
add BitMEX private rest api (#204)
329,103
11.07.2018 16:11:16
-3,600
cb3fb024007a1492930b52eeaa5ca7a4be241ada
Fixed GetTickers request url From "/v2/spot/spot/markets/index-tickers" to "/v2/spot/markets/index-tickers"
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "diff": "@@ -156,7 +156,7 @@ namespace ExchangeSharp\nprotected override async Task<IEnumerable<KeyValuePair<string, ExchangeTicker>>> OnGe...
C#
MIT License
jjxtra/exchangesharp
Fixed GetTickers request url (#207) From "/v2/spot/spot/markets/index-tickers" to "/v2/spot/markets/index-tickers"
329,161
17.07.2018 17:56:08
-10,800
ccc6b5581940aaf39db69f0700b4d232e58a49f4
Added ZB.com Added basic public API functions for ZB.com
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs", "diff": "@@ -25,7 +25,7 @@ namespace ExchangeSharp\n/// </summary>\npublic abstract class ExchangeAPI : BaseAPI, IExchangeAPI\n{\n- #region Cosnt...
C#
MIT License
jjxtra/exchangesharp
Added ZB.com (#211) Added basic public API functions for ZB.com
329,148
17.07.2018 13:14:18
21,600
061058ba21247ac12f4018aff9aae9c8fe72c243
Don't close connection, prevents reconnect
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Bittrex/BittrexWebSocket.cs", "new_path": "ExchangeSharp/API/Exchanges/Bittrex/BittrexWebSocket.cs", "diff": "@@ -159,7 +159,8 @@ namespace ExchangeSharp\npublic override void LostConnection(IConnection con)\n{\n- connection.Stop();...
C#
MIT License
jjxtra/exchangesharp
Don't close connection, prevents reconnect
329,148
17.07.2018 17:11:57
21,600
305d33c84a3a3a74d741c8d366699a2bc54b77f6
Fix for Bittrex not reconnecting properly in web sockets
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Bittrex/BittrexWebSocket.cs", "new_path": "ExchangeSharp/API/Exchanges/Bittrex/BittrexWebSocket.cs", "diff": "@@ -52,13 +52,13 @@ namespace ExchangeSharp\n{\nprivate BittrexWebSocket client;\nprivate Action<string> callback;\n- priv...
C#
MIT License
jjxtra/exchangesharp
Fix for Bittrex not reconnecting properly in web sockets
329,148
17.07.2018 19:06:22
21,600
e878f6ec23628138a93b581f31d4d45d964735dd
Refactor Bittrex signalr code into common code In case we need signalr in the future we now have common classes to use for future exchanges
[ { "change_type": "RENAME", "old_path": "ExchangeSharp/API/APIException.cs", "new_path": "ExchangeSharp/API/Common/APIException.cs", "diff": "" }, { "change_type": "RENAME", "old_path": "ExchangeSharp/API/APIRequestMaker.cs", "new_path": "ExchangeSharp/API/Common/APIRequestMaker.cs", ...
C#
MIT License
jjxtra/exchangesharp
Refactor Bittrex signalr code into common code In case we need signalr in the future we now have common classes to use for future exchanges
329,148
17.07.2018 21:01:21
21,600
3816a4e69b73fcdf67cb4e06eefe0da9ff3eb9b5
Break out of connection loop if disposed
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/SignalrManager.cs", "new_path": "ExchangeSharp/API/Common/SignalrManager.cs", "diff": "@@ -187,6 +187,7 @@ namespace ExchangeSharp\nprivate IHubProxy hubProxy;\nprivate readonly Dictionary<string, HubListener> listeners = new Dictionar...
C#
MIT License
jjxtra/exchangesharp
Break out of connection loop if disposed
329,148
17.07.2018 21:10:48
21,600
3c7c51137687f324e2d57c233a3998a07cc5e43d
Remove un-necessary boolean
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/WebSocketWrapper.cs", "new_path": "ExchangeSharp/API/Common/WebSocketWrapper.cs", "diff": "@@ -166,7 +166,6 @@ namespace ExchangeSharp\nprivate async Task ListenWorkerThread()\n{\nArraySegment<byte> receiveBuffer = new ArraySegment<byt...
C#
MIT License
jjxtra/exchangesharp
Remove un-necessary boolean
329,148
17.07.2018 21:16:34
21,600
f43140f57d242cb370b43c265f9d31f5673c4af9
Move re-connect out of catch block In case socket is not open without exception we still want to re-create the socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/WebSocketWrapper.cs", "new_path": "ExchangeSharp/API/Common/WebSocketWrapper.cs", "diff": "@@ -21,7 +21,7 @@ using System.Threading.Tasks;\nnamespace ExchangeSharp\n{\n/// <summary>\n- /// Wraps a web socket for easy dispose later\n+ /...
C#
MIT License
jjxtra/exchangesharp
Move re-connect out of catch block In case socket is not open without exception we still want to re-create the socket
329,148
17.07.2018 21:18:10
21,600
4ed420ced1323b6719c13565675bf7a839374817
Use cancel token
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/WebSocketWrapper.cs", "new_path": "ExchangeSharp/API/Common/WebSocketWrapper.cs", "diff": "@@ -88,11 +88,11 @@ namespace ExchangeSharp\n{\nif (CloseCleanly)\n{\n- webSocket.CloseAsync(WebSocketCloseStatus.NormalClosure, \"Dispose\", Ca...
C#
MIT License
jjxtra/exchangesharp
Use cancel token
329,148
18.07.2018 08:15:11
21,600
38c49f960cda62f1f6c79e42f8f95103e8576751
Additional connect / disconnect web socket handling Improve web socket wrapper and signalr web sockets to better and more quickly handle disconnects.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/SignalrManager.cs", "new_path": "ExchangeSharp/API/Common/SignalrManager.cs", "diff": "@@ -28,12 +28,22 @@ namespace ExchangeSharp\n/// <summary>\n/// A connection to a specific end point in the hub\n/// </summary>\n- public sealed cla...
C#
MIT License
jjxtra/exchangesharp
Additional connect / disconnect web socket handling Improve web socket wrapper and signalr web sockets to better and more quickly handle disconnects.
329,148
18.07.2018 08:22:05
21,600
526f9fcf1d8d8016e96f81ab8a9a72d24db2cd58
Tweak web socket wrapper constructor Constructor is now parameter-less and does not start the web socket. This allows properties to be set, events wired up, etc. before the listener and message tasks start, eliminating race-conditions.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -405,7 +405,13 @@ namespace ExchangeSharp\npublic WebSocketWrapper ConnectWebSocket(string url, Action<byte[], WebSocketWrapper> messageCallback, Action<WebSoc...
C#
MIT License
jjxtra/exchangesharp
Tweak web socket wrapper constructor Constructor is now parameter-less and does not start the web socket. This allows properties to be set, events wired up, etc. before the listener and message tasks start, eliminating race-conditions.
329,148
18.07.2018 12:18:48
21,600
2f1c201487018d542901026eb8c531930bb23209
Allow multiple order book symbols again for Bittrex web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/SignalrManager.cs", "new_path": "ExchangeSharp/API/Common/SignalrManager.cs", "diff": "@@ -50,15 +50,20 @@ namespace ExchangeSharp\n/// <param name=\"manager\">Manager</param>\n/// <param name=\"functionName\">Function name</param>\n//...
C#
MIT License
jjxtra/exchangesharp
Allow multiple order book symbols again for Bittrex web socket
329,148
19.07.2018 07:47:41
21,600
405d1b5ec13d35af37f8a64367e6ae144f6e5324
Change keep alive of web socket to 5 seconds
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -405,7 +405,7 @@ namespace ExchangeSharp\npublic WebSocketWrapper ConnectWebSocket(string url, Action<byte[], WebSocketWrapper> messageCallback, Action<WebSock...
C#
MIT License
jjxtra/exchangesharp
Change keep alive of web socket to 5 seconds
329,148
20.07.2018 11:00:53
21,600
f3167143d82c0014462e999a8f8789ba87f4e830
Fix Bitfinex to not throw on bad pair, it's better to try and guess
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/SignalrManager.cs", "new_path": "ExchangeSharp/API/Common/SignalrManager.cs", "diff": "@@ -388,8 +388,14 @@ namespace ExchangeSharp\n// make a new hub connection\nhubConnection = new HubConnection(ConnectionUrl);\nhubConnection.Closed ...
C#
MIT License
jjxtra/exchangesharp
Fix Bitfinex to not throw on bad pair, it's better to try and guess
329,148
22.07.2018 19:35:29
21,600
1a694a391dcb47588e51b36d2231eb24fa0a20da
Websocket order book lock and refactor
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "new_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "diff": "@@ -35,6 +35,35 @@ namespace ExchangeSharp\n// * Receiving an event that removes a price level that is not in your l...
C#
MIT License
jjxtra/exchangesharp
Websocket order book lock and refactor
329,148
22.07.2018 19:48:05
21,600
0a12bd1eb761efe34473e675f99308860155535d
Upgrade C# language to 7.3, use task for open Bittrex web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -387,8 +387,7 @@ namespace ExchangeSharp\nstring stringResult = await MakeRequestAsync(url, baseUrl: baseUrl, payload: payload, method: requestMethod);\nT json...
C#
MIT License
jjxtra/exchangesharp
Upgrade C# language to 7.3, use task for open Bittrex web socket
329,148
22.07.2018 20:13:22
21,600
985b266763b68e15eee0f18df6f56a582dafc4a9
Simplify and refactor example code
[ { "change_type": "MODIFY", "old_path": "ExchangeSharpConsole/Console/ExchangeSharpConsole_Example.cs", "new_path": "ExchangeSharpConsole/Console/ExchangeSharpConsole_Example.cs", "diff": "@@ -13,6 +13,7 @@ THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI\nusing Syst...
C#
MIT License
jjxtra/exchangesharp
Simplify and refactor example code
329,148
23.07.2018 12:56:32
21,600
e265124d475487cbdff12d8295ce5a551d174921
Fix Bittrex web socket stalling by adding async callback
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/SignalrManager.cs", "new_path": "ExchangeSharp/API/Common/SignalrManager.cs", "diff": "@@ -50,21 +50,37 @@ namespace ExchangeSharp\n/// <param name=\"manager\">Manager</param>\n/// <param name=\"functionName\">Function name</param>\n//...
C#
MIT License
jjxtra/exchangesharp
Fix Bittrex web socket stalling by adding async callback
329,148
24.07.2018 14:48:13
21,600
d2af0efba0a2074f24c5a46ed2ef4335c4bdf7c6
Pass manager in constructor
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/SignalrManager.cs", "new_path": "ExchangeSharp/API/Common/SignalrManager.cs", "diff": "@@ -30,7 +30,7 @@ namespace ExchangeSharp\n/// </summary>\npublic sealed class SignalrSocketConnection : IWebSocket\n{\n- private SignalrManager man...
C#
MIT License
jjxtra/exchangesharp
Pass manager in constructor
329,148
26.07.2018 11:49:30
21,600
e5c3d5bf5a84f4970e8ae2cac9a6e2d4e24036d0
Assume utc for unspecified datetime kind
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/CryptoUtility.cs", "new_path": "ExchangeSharp/Utility/CryptoUtility.cs", "diff": "@@ -368,14 +368,10 @@ namespace ExchangeSharp\n/// <returns>Unix epoch in seconds</returns>\npublic static double UnixTimestampFromDateTimeSeconds(this Date...
C#
MIT License
jjxtra/exchangesharp
Assume utc for unspecified datetime kind
329,107
26.07.2018 22:02:41
-7,200
48a2cf38743d1b9f43d5a4166753ed67062e40e0
Changed volume and pair to actual BTC volume and coin name
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Kucoin/ExchangeKucoinAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Kucoin/ExchangeKucoinAPI.cs", "diff": "@@ -145,8 +145,8 @@ namespace ExchangeSharp\nVolume = new ExchangeVolume()\n{\nTimestamp = DateTimeOffset.FromUnixTimeMill...
C#
MIT License
jjxtra/exchangesharp
Changed volume and pair to actual BTC volume and coin name (#217)
329,125
29.07.2018 11:20:21
-28,800
84991e35081d2f6c3e5fdb108d3e898ebb9a53bd
CONTRIBUTE.md navigation added in readme 'How to contribute' section is added.
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -102,6 +102,8 @@ public static void Main(string[] args)\n}\n}\n```\n+## How to contribute\n+Please read the [contributing guideline](CONTRIBUTING.md) before submitting a pull request.\n## I Can Help\nI do crypto...
C#
MIT License
jjxtra/exchangesharp
CONTRIBUTE.md navigation added in readme (#220) 'How to contribute' section is added.
329,148
31.07.2018 15:31:02
21,600
44251d10164ff9588344eccd19d5f8c8a7500f9b
Big cache refactor Caching is now enabled for symbols, symbols metadata and completed order details by default for all exchanges. Caching is now much faster. All caching is handled in ExchangeAPI, meaning that sub-class exchanges don't have to worry about caching. In the future, caching may be more configurable.
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -164,7 +164,10 @@ namespace ExchangeSharp\n/// </summary>\npublic bool DateTimeAreLocal { get; set; }\n- private readonly Dictionary<string, KeyValuePair<DateT...
C#
MIT License
jjxtra/exchangesharp
Big cache refactor Caching is now enabled for symbols, symbols metadata and completed order details by default for all exchanges. Caching is now much faster. All caching is handled in ExchangeAPI, meaning that sub-class exchanges don't have to worry about caching. In the future, caching may be more configurable.
329,148
31.07.2018 15:49:27
21,600
a8397bed85254fe8b7b0e996fdfffc6c5437a7d8
Add this for JToken extensions for order book
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "new_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "diff": "@@ -134,7 +134,14 @@ namespace ExchangeSharp\n/// <param name=\"bids\">Bids key</param>\n/// <param name=\"maxCount\...
C#
MIT License
jjxtra/exchangesharp
Add this for JToken extensions for order book
329,148
31.07.2018 22:55:24
21,600
616130242c65228ed9bcab29e7701a4e1a8a9aa0
Ensure clamp decimal keeps value within min/max
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/CryptoUtility.cs", "new_path": "ExchangeSharp/Utility/CryptoUtility.cs", "diff": "@@ -295,21 +295,36 @@ namespace ExchangeSharp\n/// <returns>Clamped value</returns>\npublic static decimal ClampDecimal(decimal minValue, decimal maxValue, ...
C#
MIT License
jjxtra/exchangesharp
Ensure clamp decimal keeps value within min/max
329,148
31.07.2018 23:02:09
21,600
8fbc1623b37565af4a8ae97b43f3ec7eb53e1631
Use new default keyword
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Model/ExchangeOrderResult.cs", "new_path": "ExchangeSharp/Model/ExchangeOrderResult.cs", "diff": "@@ -75,7 +75,7 @@ namespace ExchangeSharp\nFeesCurrency = other.FeesCurrency;\nAveragePrice = (AveragePrice * (baseAmount / tradeSum)) + (other.Aver...
C#
MIT License
jjxtra/exchangesharp
Use new default keyword
329,148
31.07.2018 23:24:02
21,600
9075740ede2fc619e3c08026204f0b2cf2d056a3
Provide interface for order changes over web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs", "diff": "@@ -103,6 +103,7 @@ namespace ExchangeSharp\nprotected virtual IWebSocket OnGetTickersWebSocket(Action<IReadOnlyCollection<KeyValuePair<...
C#
MIT License
jjxtra/exchangesharp
Provide interface for order changes over web socket
329,148
31.07.2018 23:38:20
21,600
947018549a47fa036fd4bd3f8071050b672faa78
Expose ability to send message through IWebSocket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/SignalrManager.cs", "new_path": "ExchangeSharp/API/Common/SignalrManager.cs", "diff": "@@ -144,6 +144,26 @@ namespace ExchangeSharp\n{\n}\n}\n+\n+ /// <summary>\n+ /// Not supported\n+ /// </summary>\n+ /// <param name=\"message\">Not ...
C#
MIT License
jjxtra/exchangesharp
Expose ability to send message through IWebSocket
329,148
01.08.2018 09:52:43
21,600
463d1015669072230de1752ec8219d6aea1e810b
Add note for exchange not supported for full order book web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "new_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "diff": "@@ -111,6 +111,9 @@ namespace ExchangeSharp\nfullBooks[freshBook.Symbol] = fullOrderBook = freshBook;\nbreak;\n}\n+\...
C#
MIT License
jjxtra/exchangesharp
Add note for exchange not supported for full order book web socket
329,148
01.08.2018 11:21:51
21,600
e78aec2ca607e7848f452752a3ee3792e2076f5e
Honor maxCount param for order book web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "new_path": "ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs", "diff": "@@ -77,7 +77,7 @@ namespace ExchangeSharp\n// If we don't have an initial order book for this symbol, fetch it\nif (...
C#
MIT License
jjxtra/exchangesharp
Honor maxCount param for order book web socket
329,148
01.08.2018 12:25:17
21,600
140ae6a52dd9a865952a09de4c863f3660c4679a
Add additional nonce styles
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -42,6 +42,11 @@ namespace ExchangeSharp\n/// </summary>\nTicksString,\n+ /// <summary>\n+ /// Start with ticks, then increment by one\n+ /// </summary>\n+ Tick...
C#
MIT License
jjxtra/exchangesharp
Add additional nonce styles
329,148
01.08.2018 17:10:22
21,600
be45d75549e8fc0468c5650d8c4a1726443308a1
Fix yobit back to Int32.MaxValue for nonce
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -72,10 +72,15 @@ namespace ExchangeSharp\n/// </summary>\nUnixSecondsString,\n+ /// <summary>\n+ /// Persist nonce to counter and file for the API key, once it...
C#
MIT License
jjxtra/exchangesharp
Fix yobit back to Int32.MaxValue for nonce
329,148
02.08.2018 10:52:55
21,600
e9ab67eb066cded18bcd4ace0da425dea7b9f7c7
Cleanup Okex web socket, make shared helper function
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "diff": "@@ -161,13 +161,11 @@ namespace ExchangeSharp\nprotected override IWebSocket OnGetTradesWebSocket(Action<KeyValuePair<string, Exch...
C#
MIT License
jjxtra/exchangesharp
Cleanup Okex web socket, make shared helper function
329,148
02.08.2018 11:01:27
21,600
4fb9bd6d6ac393d6a1d3882e6bdeaac67a094e69
Helper method to add Okex symbols to channel web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "diff": "@@ -213,17 +213,7 @@ namespace ExchangeSharp\nreturn ConnectWebSocketOkex(async (_socket) =>\n{\n- if (symbols == null || symbols....
C#
MIT License
jjxtra/exchangesharp
Helper method to add Okex symbols to channel web socket
329,148
02.08.2018 11:39:08
21,600
bd5c826fe9bf58a0c9f3bbb576e21d69e7a7af19
Make web socket callbacks fully async
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -439,13 +439,23 @@ namespace ExchangeSharp\n/// <param name=\"messageCallback\">Callback for messages</param>\n/// <param name=\"connectCallback\">Connect call...
C#
MIT License
jjxtra/exchangesharp
Make web socket callbacks fully async
329,148
02.08.2018 12:12:52
21,600
5648305599e467fd22789e0b5351c0ffd1240a8b
Fix for multiple writers
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/MemoryCache.cs", "new_path": "ExchangeSharp/Utility/MemoryCache.cs", "diff": "@@ -48,6 +48,13 @@ namespace ExchangeSharp\n{\nprivate readonly Dictionary<string, KeyValuePair<DateTime, object>> cache = new Dictionary<string, KeyValuePair<D...
C#
MIT License
jjxtra/exchangesharp
Fix for multiple writers
329,148
02.08.2018 16:54:24
21,600
85b7b7714bb39e73ccd6754637da3440c84ffe61
Allow symbol array index
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "diff": "@@ -663,7 +663,7 @@ namespace ExchangeSharp\nreturn trades;\n}\n- private IWebSocket ConnectWebSocketOkex(Func<IWebSocket, Task> c...
C#
MIT License
jjxtra/exchangesharp
Allow symbol array index
329,148
02.08.2018 17:03:37
21,600
62377339baf02e8b8774271f455ecbab7ec48d12
Okex simplify authentication
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "diff": "@@ -33,6 +33,15 @@ namespace ExchangeSharp\nSymbolIsUppercase = false;\n}\n+ private string GetPayloadForm(Dictionary<string, obje...
C#
MIT License
jjxtra/exchangesharp
Okex simplify authentication
329,148
02.08.2018 17:04:29
21,600
51824cabeee44543e9203cb19ced1b7c469c72c9
Skip null/empty keys
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/CryptoUtility.cs", "new_path": "ExchangeSharp/Utility/CryptoUtility.cs", "diff": "@@ -498,7 +498,7 @@ namespace ExchangeSharp\nStringBuilder form = new StringBuilder();\nforeach (KeyValuePair<string, object> keyValue in payload.OrderBy(kv...
C#
MIT License
jjxtra/exchangesharp
Skip null/empty keys
329,148
02.08.2018 17:32:51
21,600
d357614dd0f7b676a9cfc47a64f8ac2b0e8d202c
Create auth signature for web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "diff": "@@ -36,12 +36,20 @@ namespace ExchangeSharp\nprivate string GetPayloadForm(Dictionary<string, object> payload)\n{\npayload[\"api_k...
C#
MIT License
jjxtra/exchangesharp
Create auth signature for web socket
329,148
02.08.2018 17:40:17
21,600
0f509ffdcb713415666f8f4853574d05a7f60814
Login mechanism for web socket
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "new_path": "ExchangeSharp/API/Exchanges/Okex/ExchangeOkexAPI.cs", "diff": "@@ -684,9 +684,19 @@ namespace ExchangeSharp\n{\nreturn;\n}\n+ else if (channel.EqualsWithOption(\"login\"))\n+ {\n+ if (token[\"d...
C#
MIT License
jjxtra/exchangesharp
Login mechanism for web socket
329,148
02.08.2018 20:33:00
21,600
35eed54f8678d62840128b27f8eb2a87be619178
Make dedicated ReaderWriterLockAsync class
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/Utility/MemoryCache.cs", "new_path": "ExchangeSharp/Utility/MemoryCache.cs", "diff": "@@ -48,6 +48,7 @@ namespace ExchangeSharp\n{\nprivate readonly Dictionary<string, KeyValuePair<DateTime, object>> cache = new Dictionary<string, KeyValuePair<Da...
C#
MIT License
jjxtra/exchangesharp
Make dedicated ReaderWriterLockAsync class
329,148
03.08.2018 09:19:54
21,600
ad30803cf813b531118703b809203f830bd9967e
Allow swapping out web socket implementation Fix a few web socket parameter types to be IWebSocket too
[ { "change_type": "MODIFY", "old_path": "ExchangeSharp/API/Common/BaseAPI.cs", "new_path": "ExchangeSharp/API/Common/BaseAPI.cs", "diff": "@@ -439,7 +439,7 @@ namespace ExchangeSharp\n/// <param name=\"messageCallback\">Callback for messages</param>\n/// <param name=\"connectCallback\">Connect callba...
C#
MIT License
jjxtra/exchangesharp
Allow swapping out web socket implementation Fix a few web socket parameter types to be IWebSocket too