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
- Host: GitHub
- URL: https://github.com/alleyway/bybit-kotlin-api
- Owner: alleyway
- License: mit
- Created: 2023-06-07T10:43:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-19T12:31:07.000Z (about 2 years ago)
- Last Synced: 2024-05-19T13:39:29.305Z (about 2 years ago)
- Topics: api, bybit, jvm, kotlin, trading
- Language: Kotlin
- Homepage:
- Size: 430 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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