Skip to content

Commit aa88f7e

Browse files
rename reference
1 parent 404c787 commit aa88f7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+52
-97
lines changed

README.md

Lines changed: 4 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# bybit-go-api
2-
[![GO 1.21.0](https://img.shields.io/badge/Go-1.21.0-brightgreen.svg)](https://github.com/VictorFrWu/bybit-go-api) [![Contributor Victor](https://img.shields.io/badge/contributor-Victor-blue.svg)](https://github.com/wuhewuhe/bybit-go-api) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/VictorFrWu/bybit-go-api/blob/main/LICENSE)
2+
[![GO 1.21.0](https://img.shields.io/badge/Go-1.21.0-brightgreen.svg)](https://github.com/VictorFrWu/bybit-go-api) [![Contributor Victor](https://img.shields.io/badge/contributor-Victor-blue.svg)](https://github.com/bybit-exchange/bybit-go-api) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/VictorFrWu/bybit-go-api/blob/main/LICENSE)
33
## Table of Contents
44
- [About](#about)
55
- [Release](#release)
@@ -28,50 +28,6 @@ Initially conceptualized by go developer Victor, this module is now maintained b
2828

2929
Your contributions are most welcome!
3030

31-
## Release
32-
- refactor all the project
33-
- Market endpoints:
34-
- add server response adapter
35-
- Position endpoints:
36-
- SetPositionRiskLimit is deprecated;
37-
- SetPositionTpslMode is deprecated.
38-
- Add move position and history
39-
- trade
40-
- Rename v5/execution/list to trade history
41-
- account
42-
- Add transaction log to classical user
43-
- Get DCP Info
44-
- New endpoint /v5/account/smp-group
45-
- demo trading
46-
- Add request coin endpoint
47-
- asset
48-
- Add Get Convert Coin List
49-
- Add Request a Quote
50-
- Add Confirm a Quote
51-
- Add Get Convert Status
52-
- Add Get Convert history
53-
- user
54-
- Query unlimited sub members
55-
- spot margin uta
56-
- GetSpotMarginCoin is deprecated.
57-
- GetSpotMarginBorrowCoin is deprecated.
58-
- GetSpotMarginLoanAccountInfo is deprecated.
59-
- GetSpotMarginBorrowOrders is deprecated.
60-
- GetSpotMarginRepaymentOrders is deprecated.
61-
- BorrowSpotMarginLoan is deprecated.
62-
- RepaySpotMarginLoan is deprecated.
63-
- Add spot margin uta interest history
64-
- ins
65-
- GetC2cLendingAccountInfo is deprecated.
66-
- GetC2cLendingOrders is deprecated.
67-
- GetC2cLendingCoinInfo is deprecated.
68-
- C2cCancelRedeemFunds is deprecated.
69-
- C2cRedeemFunds is deprecated.
70-
- C2cDepositFunds is deprecated.
71-
- Add associate ins loan id
72-
- broker
73-
- Add Get Sub Account Deposit Records
74-
7531
## Development
7632
bybit-go-api is under active development with the latest features and updates from Bybit's API implemented promptly. The module utilizes minimal external libraries to provide a lightweight and efficient experience. If you've made enhancements or fixed bugs, please submit a pull request.
7733

@@ -86,7 +42,7 @@ require (
8642
```
8743

8844
To import my package you need just to put the link to your go mode file
89-
**github.com/wuhewuhe/bybit.go.api**
45+
**github.com/bybit-exchange/bybit.go.api**
9046

9147
## Usage
9248
Note: Replace placeholders (like YOUR_API_KEY, links, or other details) with the actual information. You can also customize this template to better fit the actual state and details of your Java API.
@@ -216,8 +172,8 @@ List of other contributors
216172
</sub>
217173
</a>
218174
<br />
219-
<a href="https://github.com/VictorFrWu/bybit.go.api/commits?author=wuhewuhe" title="Code">💻</a>
220-
<a href="https://github.com/VictorFrWu/bybit.go.api/commits?author=wuhewuhe" title="Documentation">📖</a>
175+
<a href="https://github.com/VictorFrWu/bybit.go.api/commits?author=bybit-exchange" title="Code">💻</a>
176+
<a href="https://github.com/VictorFrWu/bybit.go.api/commits?author=bybit-exchange" title="Documentation">📖</a>
221177
</td>
222178
</tr>
223179
</table>

account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package bybit_connector
22

33
import (
44
"context"
5-
"github.com/wuhewuhe/bybit.go.api/handlers"
5+
"github.com/bybit-exchange/bybit.go.api/handlers"
66
"net/http"
77
)
88

asset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package bybit_connector
22

33
import (
44
"context"
5-
"github.com/wuhewuhe/bybit.go.api/handlers"
5+
"github.com/bybit-exchange/bybit.go.api/handlers"
66
"net/http"
77
)
88

broker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package bybit_connector
22

33
import (
44
"context"
5-
"github.com/wuhewuhe/bybit.go.api/handlers"
5+
"github.com/bybit-exchange/bybit.go.api/handlers"
66
"net/http"
77
)
88

bybit_api_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"crypto/sha256"
88
"encoding/hex"
99
"fmt"
10-
"github.com/wuhewuhe/bybit.go.api/models"
10+
"github.com/bybit-exchange/bybit.go.api/models"
1111
"io"
1212
"log"
1313
"net/http"
@@ -17,8 +17,8 @@ import (
1717
"time"
1818

1919
"github.com/bitly/go-simplejson"
20+
"github.com/bybit-exchange/bybit.go.api/handlers"
2021
jsoniter "github.com/json-iterator/go"
21-
"github.com/wuhewuhe/bybit.go.api/handlers"
2222
)
2323

2424
var json = jsoniter.ConfigCompatibleWithStandardLibrary

examples/Account/get_account_info.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ package main
33
import (
44
"context"
55
"fmt"
6-
bybit "github.com/wuhewuhe/bybit.go.api"
6+
bybit "github.com/bybit-exchange/bybit.go.api"
77
)
88

99
func main() {
1010
GetAccountInfo()
1111
}
1212

1313
func GetAccountInfo() {
14-
client := bybit.NewBybitHttpClient("d08Wh6P037IXAvcrL2", "gLfd1BLGU9oq6YoRZRlwXkIQRYB4n5KvXDvv", bybit.WithBaseURL(bybit.TESTNET))
14+
client := bybit.NewBybitHttpClient("X6wmWloIPvaLXAKqv2", "rY1CWGYLHy0AUjdNZqqspvd3Krhp79fHp1sP", bybit.WithBaseURL(bybit.TESTNET))
1515
accountResult, err := client.NewUtaBybitServiceNoParams().GetAccountInfo(context.Background())
1616
if err != nil {
1717
fmt.Println(err)

examples/Account/get_fee_rate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"context"
55
"fmt"
6-
bybit "github.com/wuhewuhe/bybit.go.api"
6+
bybit "github.com/bybit-exchange/bybit.go.api"
77
)
88

99
func main() {

examples/Account/get_transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"context"
55
"fmt"
6-
bybit "github.com/wuhewuhe/bybit.go.api"
6+
bybit "github.com/bybit-exchange/bybit.go.api"
77
)
88

99
func main() {

examples/Account/get_wallet_balance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"context"
55
"fmt"
6-
bybit "github.com/wuhewuhe/bybit.go.api"
6+
bybit "github.com/bybit-exchange/bybit.go.api"
77
)
88

99
func main() {

examples/Asset/get_coin_info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"context"
55
"fmt"
6-
bybit "github.com/wuhewuhe/bybit.go.api"
6+
bybit "github.com/bybit-exchange/bybit.go.api"
77
)
88

99
func main() {

0 commit comments

Comments
 (0)