An open API service indexing awesome lists of open source software.

https://github.com/alleyway/bybit-kotlin-api

Connector SDK for ByBit API
https://github.com/alleyway/bybit-kotlin-api

api bybit jvm kotlin trading

Last synced: 6 months ago
JSON representation

Connector SDK for ByBit API

Awesome Lists containing this project

README

          

# ByBit jvm API Client SDK (written in Kotlin)

NOTE: this library is in early development stages. There is NO WARRANTY.

File an issue if you'd to add more functionality!

**Maintainers wanted!** Pull requests greatly appreciated/wanted!

To use the SDK in a Gradle project:

```groovy

dependencies {
implementation 'io.github.alleyway:bybit-kotlin-api:0.6.0'
}

```

To use the SDK in a Maven project:

```xml

io.github.alleyway
bybit-kotlin-api
0.6.0

```

Look in the *sample* project for examples in Java or Kotlin.

## Example code

Here's a little example to get you started...

https://github.com/alleyway/bybit-kotlin-api/blob/70d4b83dc8d1015a7fab04d0f1cc27bb0dcc34f3/sample/src/main/java/bybit/sdk/sample/KotlinUsageSample.kt#L21-L26

## Developer's Notes

### Deployment

Make sure you get the right artifacts in your ~/.m2/repository/

```bash
./mvnw clean install
```

### Publish to Sonatype

**Publish Command:**

Set ENV variables for demo acct

```bash
./mvnw -P release clean deploy
```

### Release non-snapshot
- update version in Version.kt, pom.xml and README.md file
- commit non-snapshot version
- create Release & tag of version in github
- run _Publish Command_ above - check _local.properties_ for more info