ccxt-net / ccxt.net Goto Github PK
View Code? Open in Web Editor NEWCCXT.NET – CryptoCurrency eXchange Trading Library for .NET
License: MIT License
CCXT.NET – CryptoCurrency eXchange Trading Library for .NET
License: MIT License
Hello. Are there any plans on moving the Bittrex API supported version from the current 1.1. up to 3 in the near future?
I was just looking through the code, and it looks like the CreateOrder functions are not implemented yet.
Is it correct, that this library cannot yet be used to place orders?
MAIL-FROM: Andrew Tollervey [email protected]
Hi there,
Firstly, good work on your ccxt.net. It must have taken you a good while.
Quick question regarding - https://github.com/lisa3907/ccxt.net
Can you explain the different between FetchMarkets method on public API and LoadMarkets in your base library, and why I would use one over the other in various scenarios…
Many thanks,
Andrew
p.s. I added a possible fix to a bug - kraten publicApi.cs file:
added following within FetchMarkets method:
if ((_market.baseId.Substring(0, 1) == "X" || _market.baseId.Substring(0, 1) == "Z") && _market.baseId.Length > 3)
OKExchange is already at api v5 version, at the same time, ccxt.net is at V1 version.
When can users expect the OKExchange API v5 support?
Does it support futures trading? Thank you!
Are there plans to support the FetchPositions from CCXT? I've opened some leveraged short sells through the Kraken UI as examples, and I was wondering how I could see them in any CCXT.Net call? It appears that there is the facility in CCXT to do it already, but I'm assuming that it hasn't been extended in CCXT.Net to be plugged in?
var _public_api = new CCXT.NET.Binance.Public.PublicApi(); var _tickers = await _public_api.FetchTickersAsync();
throws:
at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
at System.Number.ParseDecimal(ReadOnlySpan1 value, NumberStyles styles, NumberFormatInfo info) at System.Decimal.Parse(String s, NumberStyles style) at CCXT.NET.Shared.Serialize.DecimalConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at CCXT.NET.Shared.Coin.XApiClient.DeserializeObject[T](String json_string) at CCXT.NET.Binance.Public.PublicApi.<FetchTickersAsync>d__5.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask
1.get_Result()
at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
Any plans to inlcude the phemex exchange soon or in progress allready?
This Library isn't compatible with Netcoreapp2.2 therefore I can't download it to my Project. Is there a way solve this problem?
Phemex is supported in python/js/php vesions but not here.
Any plans to be added?
MAIL-FROM: Nir Samocha [mailto:[email protected]]
Hi,
Thank you for contributing and providing the framework for working with CCXT and .net.
I am trying to work with the code on
https://github.com/lisa3907/ccxt.net.
However, it is not clear to me how to work with it.
I am getting the following errors when building the project:
1. The current .NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.0. ccxt.net
2. NETSDK1050 The version of Microsoft.NET.Sdk used by this project is insufficient to support references to libraries targeting .NET Standard 1.5 or higher. Please install version 2.0 or higher of the .NET Core SDK. ccxt.net (src\ccxt.net) C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\Microsoft.NET.Build.Extensions.NETFramework.targets 67
3.The current .NET SDK does not support targeting .NET Standard 2.0. Either target .NET Standard 1.6 or lower, or use a version of the .NET SDK that supports .NET Standard 2.0. ccxt.net (src\ccxt.net) C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets 126
I've installed the .net core 3 ,2.2 and every SDK stated in the errors.
Could you please help?
Thank you in advance,
Nir
The package 'CCXT.NET 1.0.0' can not be installed.Why?
Error
Could not install package 'CCXT.NET 1.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
Hello:
I used CCXT JavaScript for a while, but I have issue to for FetchAddress on its JavaScript for exchange Poloniex.
I looked at ccxt.net source code, and I found there is one statement like this:
var _new_address = await _private_api.CreateAddressAsync("XRP", GetJsonContent(_private_api.privateClient, "createAddress", _args));
But I can't find the corresponding function in JavaScript.
Let me know if I have to use this function before I can use FetchAddressAsync, or this is the only exception for exchange: Poloniex.
I am using Windows 10 (21H2), and nuget package CCXT.NET version 1.4.13.
Please advise,
Thanks,
Hello, I'm kinda struggling with the Binance API... My working code for Binance API stopped working.
Everytime I try to fetch a ticker or multiple tickers I get the same error:
"An item with the same key has already been added. Key: BCH/BNB"
I think there's something messed up in ccxt.net source code... How can we fix this issue?
run binance sample . i'm in china.
request timeout: 0/3, /exchangeInfo
request timeout: 1/3, /exchangeInfo
request timeout: 2/3, /exchangeInfo
I've written a simplistic trading tool using the Nuget package linked within this application. I need to make some minor additions for my own needs, so I forked and pulled down the project. I'm sure this isn't an exhausted list but I can't find project members like IPublicOrder
or PublicTicker
. Specifically, these are within the Poloniex library.
Is a part of this project source missing from this repo, that's built into the Nuget package?
HI I am having an issue creating orders on Bittrex and I noticed you are still using version 1.1 of Bittrex API. Bittrex say this needs to be upgraded to version 3 so I wondered if you had any plans to do this?
Issue seems to be with TradeApi CreateLimitOrder
Thanks!
hello , I'm struggling with the implementation of Bit stamp buy and sell API functions it doesn't work for me because I m working in .Net core environment and the version of this dll is .Net Framework
can you please help me with that.
thanks in advance
Not sure if this is the appropriate place to post, or if it should be in CCXT, or the Odinsoft library.
I've had CCXT.Net working perfectly in c# until I mistakenly hit "Update all Nuget packages" yesterday. Things seem to have gone a little awry. "FetchOHLCVs" on the public api for example appears to have now completely disappeared to be replaced with "FetchOHLCVsAsync" as the only option which in return gives me a "Not Supported" error. I've switched packages back and forward in version (OdinSoft and CCXT.Net) to try and get things working as they were, but cannot get a version of Fetching OHLCVs to work again (I've had the old one working for 4 months without issue). I've broken it down to a simple 2 lines now for testing purposes (I had it doing reflection to create objects from config files previously). Basically, I want to call for OHLCVs on the Kraken exchange. Any thoughts on why it's not working any more and what my approach should be...
var kPublic = new CCXT.NET.Kraken.Public.PublicApi();
var OHLCVs = await kPublic.FetchOHLCVs(BaseAsset, QuoteAsset, timeframe, Since, MaxCount);
gives me a "Method not found" at runtime (but not at design time)
var kPublic = new CCXT.NET.Kraken.Public.PublicApi();
var OHLCVs = await kPublic.FetchOHLCVsAsync(BaseAsset, QuoteAsset, timeframe, Since, MaxCount);
gives me a "Not supported" error code.
What has changed to make this suddenly appear incompatible? I have the following versions:
CCXT.Net: 1.3.6
OdinSdk.BaseLib: 2.2.8 (I noticed that this seems to have been changed more recently)
I cannot find the PUT /order/bulk endpoint in the bitmex tradeApi.
Is it correct that it is missing?
Hi
As original ccxt added support for C#, I had 2 questions?
Is there any relation with this project & original ccxt (C# version)?
Will this project develop anymore?
예전에 clone받아서 살짝 테스트만 해보고 손놓고 있었는데 watch를 해두었더니 issues들에 대한 메일이 와서 들어와봤습니다.
한국분 이신것 같은데 제가 혹시 도와드릴 일은 없을까요?
라이브러리를 더 깊게 알려면 프로젝트에 참여하는것도 하나의 도움이 될것 같아서요.
Hi, I've tried getting ticker on multiple pairs and still getting ""not supoorted yet".
I mean like:
var ticker = await _public_api.FetchTickerAsync("btc", "usd");
but in markets I can see this pair. In what state i currently this library? Tickers are not implemented as I see in code?
Can we have at least basic documentation, please?
Both exchanges are well known and are supported by CCXT (Python and Javascript) library but not CCXT.Net.
Is there any plan to support them?
How to create a limit buy order using ccxt.net for exchange Kraken?
The below exception is being returned when I execute the following code:
var client = new TradeApi(publicKey, privateKey);
var _trades = client.GetTrades(CurrencyPair.Parse("XRP_BTC"), startDate, endDate).Result;
System.AggregateException
HResult=0x80131500
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task
1.get_Result()
at KpmgKY.PrivateApiTool.Service.Services.PoloniexService.GetTradeHistory(String publicKey, String privateKey, DateTime startDate, DateTime endDate) in C:\KpmgKY.Development\KpmgKY.PrivateAPITool\src\KpmgKY.PrivateApiTool.Service\Services\PoloniexService.cs:line 48
Inner Exception 1:
JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[CCXT.NET.Poloniex.Trade.TradeOrder]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'error', line 1, position 9.
Are there any plans to support websocket
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.