Giter Club home page Giter Club logo

bitget.net's People

Contributors

jankorf avatar jkorf avatar william-thomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bitget.net's Issues

GetDepositHistoryAsync: null values are returned by Bitget in BitgetDeposit => JsonSerializationException

Error:
{[DeserializeError] Deserialize JsonSerializationException: Error converting value {null} to type 'System.Decimal'. Path 'data[0].fee', line 1, position 284.

When performing GetDepositHistoryAsync null values are returned by Bitget, therefore nullables are missing in the BitgetDeposit class.

Fee & Confirm should be nullable :
public decimal? Fee { get; set; }
public int? Confirm { get; set; }

Sample data received from Bitget:
{"code":"00000","msg":"success","requestTime":1714511193057,
"data":
[{"id":"1168865492476243968","txId":"FWxxxxxxx9S","coin":"Wxxx","type":"deposit","amount":"3x.xxxxx000",
"status":"success","toAddress":"3xxxxxxxxxxxxxxxxxxxJ","fee":null,"chain":"Wxxx","confirm":null,"clientOid":null,"tag":null,
"fromAddress":null,"dest":"on_chain","cTime":"1714405170554","uTime":"1714405626011"},

Error from function GetPlanOrderHistoryAsync

Dim BitgetHistoryOrders_Algo = Await clientBitget.FuturesApi.Trading.GetPlanOrderHistoryAsync(StartTime, Endtime, symbol:=Symbol_CoinFuture, pageSize:=100)

I got the error from BitgetHistoryOrders_Algo.Error.Message: Request Method 'POST' not supported

WithdrawAsync not supported in version 1

Bitget is not supporting v1:
await client.SpotApi.Account.WithdrawAsync(...)
calls "/api/spot/v1/wallet/withdrawal-v2"
and I received : [ServerError] 400172: Quantity spot.wallet.amount.empty which was nonsense as the available balance of the spot wallet was 10 x Withdraw Amount. I also double checked my parameters in debug mode.

The code written in #18 proposes a method with a different signature.

error GetPlanOrdersAsync in FuturesApi

Dim PlanOrders = Await clientFutureBitget.FuturesApi.Trading.GetPlanOrdersAsync("ETHUSD_DMCBL")

i got PlanOrders.Success is False
and error from PlanOrders.Error.Message is Deserialize JsonSerializationException: Error setting value to 'UpdateTime' on 'Bitget.Net.Objects.Models.BitgetFuturesPlanOrder

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.