Skip to content

Commit

Permalink
docs, defaults, OKex API upgrade
Browse files Browse the repository at this point in the history
docs, defaults, OKex API upgrade
  • Loading branch information
taoteh1221 committed Sep 27, 2022
1 parent 2e0a292 commit b8911b9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
2 changes: 2 additions & 0 deletions DOCUMENTATION-ETC/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,8 @@ v3.09.6
---------------------------------------------------------
v3.10.0

-OKex API upgrade

-Code cleanup

-Revised default config
Expand Down
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Issue Reporting (Features / Issues / Help): https://github.com/taoteh1221/Slides

Discord: https://discord.gg/WZVK2nm

Telegram: https://t.me/joinchat/Oo2XZRS2HsOXSMGejgSO0A
Telegram: https://t.me/dragonfrugal

Twitter: https://twitter.com/taoteh1221

Expand Down
26 changes: 13 additions & 13 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ var exchange_markets = []; // LEAVE ALONE, AND DON'T DELETE (REQUIRED!!)

// Kraken formatting example: 'XBT/USD|XBT/CAD|XBT/EUR|ETH/USD|ETH/EUR|ETH/CAD'

// Hitbtc formatting example (MULTIPLE TICKERS NOT SUPPORTED): 'ETHBTC'

// Bitstamp formatting example (MULTIPLE TICKERS NOT SUPPORTED): 'btcgbp'

// Binance formatting example: 'btcusdt|ethusdt|ethbtc|mkrusdt'
Expand All @@ -37,6 +35,8 @@ var exchange_markets = []; // LEAVE ALONE, AND DON'T DELETE (REQUIRED!!)

// Okex formatting example: 'ENJ-USDT|ENJ-BTC'

// Hitbtc formatting example (MULTIPLE TICKERS NOT SUPPORTED): 'ETHBTC'

// Gate.io formatting example: 'MANA_USDT|SAMO_USDT'
////
////
Expand All @@ -51,23 +51,23 @@ exchange_markets['bitfinex'] = 'BTCUSD';
////
////
// Coinbase markets (set to '' to disable)
exchange_markets['coinbase'] = 'ETH-USD|ETH-BTC|SOL-USD';
////
////
// Coingecko markets (set to '' to disable)
// USE COINGECKO'S API ID FOR EACH ASSET! (SEE COINGECKO ASSET PAGE'S INFO SECTION)
// PAIRING ASSET MUST BE SUPPORTED BY COINGECKO'S 'vs_currencies' API PARAMETER!
// FORMAT IS 'api-id-here:symbol/pairing'
exchange_markets['coingecko'] = 'solana:sol/btc|solana:sol/eth|genesysgo-shadow:shdw/usd|wrapped-cusd-allbridge-from-celo:acusd/usd';
exchange_markets['coinbase'] = 'ETH-USD|SOL-USD';
////
////
// OKex markets (set to '' to disable)
exchange_markets['okex'] = '';
exchange_markets['okex'] = 'ETH-BTC|SOL-BTC';
////
////
// HitBTC markets (set to '' to disable)
// !!HITBTC WEBSOCKET API ONLY SUPPORTS ONE ASSET!!
exchange_markets['hitbtc'] = '';
exchange_markets['hitbtc'] = 'SOLETH';
////
////
// Coingecko markets (set to '' to disable)
// USE COINGECKO'S API ID FOR EACH ASSET! (SEE COINGECKO ASSET PAGE'S INFO SECTION)
// PAIRING ASSET MUST BE SUPPORTED BY COINGECKO'S 'vs_currencies' API PARAMETER!
// FORMAT IS 'api-id-here:symbol/pairing'
exchange_markets['coingecko'] = 'genesysgo-shadow:shdw/usd|wrapped-cusd-allbridge-from-celo:acusd/usd';
////
////
// Kucoin markets (set to '' to disable)
Expand All @@ -84,7 +84,7 @@ exchange_markets['binance'] = 'manabtc|rayusdt';
////
////
// Gateio markets (set to '' to disable)
exchange_markets['gateio'] = 'ATLAS_USDT|SLC_USDT|SAMO_USDT';
exchange_markets['gateio'] = 'ATLAS_USDT|SLC_USDT|SLRS_USDT|SAMO_USDT';


// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Expand Down
2 changes: 1 addition & 1 deletion js/core/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ api['bitstamp'] = 'wss://ws.bitstamp.net/';

api['bitfinex'] = 'wss://api.bitfinex.com/ws/1';

api['okex'] = 'wss://ws.okex.com:8443/ws/v5/public';
api['okex'] = 'wss://ws.okx.com:8443/ws/v5/public';

api['gateio'] = 'wss://ws.gate.io/v3/';

Expand Down

0 comments on commit b8911b9

Please sign in to comment.