Skip to content

XO490/xookx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

used okx api v5

Build

git clone https://github.com/XO490/xookx
cd xookx
make build

cd bin
./xookx-l64 -h
Usage of ./xookx-l64:
  -config
    	create config.yaml file
  -custom-sound string
    	your custom sound notification: --custom-sound=btc.mp3 (use --sound OR --custom-sound)
  -index string
    	return 'last', see https://www.okx.com/docs-v5/en/#rest-api-market-data-get-index-components
  -sound
    	default sound notification: --sound (use --sound OR --custom-sound)

Usage

./xookx-l64 --config
./xookx-l64 --index=BTC-USDT
27350.40

Example of usage in polybar

polybar

Warning

Use paid proxies, as okx blocks free proxies.