knowm / XChange

XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
http://knowm.org/open-source/xchange/
MIT License
3.82k stars 1.93k forks source link

Support bybit v5 api #4731

Open m1dnightc0der opened 1 year ago

m1dnightc0der commented 1 year ago

https://bybit-exchange.github.io/docs/v5/guide

wesssup commented 11 months ago

V1 , as implemented now in the XCHANGE lib is not supported anymore.

Message of Bybit on Telegram 4th July (https://t.me/s/Bybit_API_Announcements?q=V1)

[IMPORTANT] Dear Bybit trader,

We offically inform you that we will suspend the use of our old version openAPI service. This decision was made in order to reduce unnecessary maintenance and cost, and also to ensure the stability our platform. You can migrate to V5 API, which has the full ability.

bigscoop commented 11 months ago

Can do that if there is still need for it

wesssup commented 11 months ago

V5 will be great ;-) or bybit DEX :-) even better

bigscoop commented 11 months ago

Feel free to contact me to discuss details

bigscoop commented 11 months ago

linkedin

damiano1996 commented 10 months ago

Hi, i'm interested. Are you working on it? Can I help you?

wesssup commented 10 months ago

Hi I'm was looking into this ... :-) But seen the changes on EU rules I'm looking now to the DEX solution of Bybit ... https://api-docs.pro.apex.exchange/#introduction

damiano1996 commented 10 months ago

Ah, ok. I need the classic version. Did you fork it? Can I resume your work? Otherwise, I can create a new fork and start looking into it.

damiano1996 commented 10 months ago

I forked and I'm actively working on it. Almost done. Give me few days to do end-to-end tests.

douggie commented 10 months ago

Oh wow, happy to help on tests

On Sun, Sep 10, 2023, 9:09 PM Damiano Derin @.***> wrote:

I forked and I'm actively working on it. Almost done. Give me few days to do end-to-end tests.

— Reply to this email directly, view it on GitHub https://github.com/knowm/XChange/issues/4731#issuecomment-1712925988, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBUO2RC3E6XSIQ2R5HLWFTXZYM7ZANCNFSM6AAAAAAZOSCBME . You are receiving this because you are subscribed to this thread.Message ID: @.***>

damiano1996 commented 10 months ago

Hi, I opened the PR #4771 , but I have problems with placing orders and UNIFIED account mode. This evening I'll go on with end-to-end tests, but in the meanwhile, if you would like to try with your APIs, it could be great. Thanks in advance.

damiano1996 commented 10 months ago

Hi @douggie , now it works for me. Please, can you review it? PR: #4771 Many thanks

marcelv3612 commented 5 months ago

It has been implemented, and I confirm that the Spot functionality is operational.

There is an issue with executing Futures, I've filed a new bug report here: https://github.com/knowm/XChange/issues/4822

rizer1980 commented 3 months ago

close please