Kotlin cryptocurrency exchange interface
- supports Bitfinex, Kraken,
WEX - supports Depth, Trade fee, Withdraw fee monitoring
- implemets Balances, Orders(create\monitor\cancel), Withdraw methods
- HkariCP as SQL connection pool
- Exposed as SQL DSL
- Ktor as web framework
- Kotlin coroutines, actors, channels to handle high frequency depth update
use
gradlew build
then
gradlew run
open localhost:9009 to watch implemented stocks info, for wallets info use keys.json like:
{
keys: {
Kraken:[
{key:WALLET_KEY,secret:WALLET_KEY_SERET,type:WALLET},
{key:TRADE_KEY,secret:TRADE_KEY_SECRET,type:TRADE},
{key:HISTORY_KEY,secret:HISTORY_KEY_SECRET,type:HISTORY},
{key:WITHDRAW_KEY,secret:WITHDRAW_KEY_SECRET,type:WITHDRAW},
{key:ACTIVE_KEY,secret:ACTIVE_KEY_SECRET,type:ACTIVE}
]
}
}