Skip to content

Commit

Permalink
Merge pull request #132 from Bisonai/feat/klay-krw-cypress
Browse files Browse the repository at this point in the history
(cypress) KLAY-KRW pair update
  • Loading branch information
nick-bisonai authored Nov 4, 2024
2 parents ee92fa2 + 1580b35 commit 00ed1ea
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 22 deletions.
2 changes: 1 addition & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
| IQ-KRW | [v1](https://github.com/Bisonai/orakl-config/blob/3bbe0a47de37a37ca939709fafbaf408f1d251f8/config/cypress/IQ-KRW.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/2083a8baa27cf7208252c7c0ff1a48e66e93b8c1/config/cypress/IQ-KRW.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/35c73795c9510a4759a2dc71a30bcf4717d9ef9f/config/cypress/IQ-KRW.config.json) |
| JOY-USDT | [v1](https://github.com/Bisonai/orakl-config/blob/0cf899151e9ec6afb6c6fe06baa19a1a08258201/config/cypress/JOY-USDT.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/4a5a004a7563dc8a1b7ac206736199407d472ccf/config/cypress/JOY-USDT.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/4ad7cc9cd4a77db4a2ee550ba63d2ab6f536c01f/config/cypress/JOY-USDT.config.json), [v4](https://github.com/Bisonai/orakl-config/blob/128c9b2d8bf9a1aca84f081a1c3db349260622b0/config/cypress/JOY-USDT.config.json), [v5](https://github.com/Bisonai/orakl-config/blob/208e0453e27fec5ec2f2eb4540e8b0cf90787c47/config/cypress/JOY-USDT.config.json), [v6](https://github.com/Bisonai/orakl-config/blob/1101d48287151dc436daa7129434c78cfb67e842/config/cypress/JOY-USDT.config.json), [v7](https://github.com/Bisonai/orakl-config/blob/f511f640c59c2d17ae06fae240d01aaa34d7fc5d/config/cypress/JOY-USDT.config.json), [v8](https://github.com/Bisonai/orakl-config/blob/1047a7bc644926e127b6c747f741d5b899aed322/config/cypress/JOY-USDT.config.json), [v9](https://github.com/Bisonai/orakl-config/blob/a159aebcd34d32668b31f79f1488da491bfb5e9a/config/cypress/JOY-USDT.config.json), [v10](https://github.com/Bisonai/orakl-config/blob/72755a2e283637bd83ec6caee543c72384312cab/config/cypress/JOY-USDT.config.json), [v11](https://github.com/Bisonai/orakl-config/blob/1ef68cb36919d5d647c76bcd3632cb7b41e9bf01/config/cypress/JOY-USDT.config.json), [v12](https://github.com/Bisonai/orakl-config/blob/201cdd1396c534f8b4815a5d7f7b25b70182ac18/config/cypress/JOY-USDT.config.json), [v13](https://github.com/Bisonai/orakl-config/blob/2edae7b9e225947c9f6086c22c9296d709b27fc8/config/cypress/JOY-USDT.config.json), [v14](https://github.com/Bisonai/orakl-config/blob/7fa23f0ebfc3c1e5bafb58a6f52caa03d5ab3604/config/cypress/JOY-USDT.config.json) |
| JPY-USD | [v1](https://github.com/Bisonai/orakl-config/blob/0cf899151e9ec6afb6c6fe06baa19a1a08258201/config/cypress/JPY-USD.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/4a5a004a7563dc8a1b7ac206736199407d472ccf/config/cypress/JPY-USD.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/5b17b4cfa762ae650b3fa5ec7fd9109d297bbca7/config/cypress/JPY-USD.config.json), [v4](https://github.com/Bisonai/orakl-config/blob/8e8c8321c8ca96d21e264bc5a81e540217f5424a/config/cypress/JPY-USD.config.json), [v5](https://github.com/Bisonai/orakl-config/blob/72755a2e283637bd83ec6caee543c72384312cab/config/cypress/JPY-USD.config.json), [v6](https://github.com/Bisonai/orakl-config/blob/1ef68cb36919d5d647c76bcd3632cb7b41e9bf01/config/cypress/JPY-USD.config.json), [v7](https://github.com/Bisonai/orakl-config/blob/201cdd1396c534f8b4815a5d7f7b25b70182ac18/config/cypress/JPY-USD.config.json), [v8](https://github.com/Bisonai/orakl-config/blob/2edae7b9e225947c9f6086c22c9296d709b27fc8/config/cypress/JPY-USD.config.json), [v9](https://github.com/Bisonai/orakl-config/blob/7fa23f0ebfc3c1e5bafb58a6f52caa03d5ab3604/config/cypress/JPY-USD.config.json), [v10](https://github.com/Bisonai/orakl-config/blob/298eda759494f8458ee0b353bd8332ad0bb35398/config/cypress/JPY-USD.config.json), [v11](https://github.com/Bisonai/orakl-config/blob/81103743bea1cb4829b41dc828a92050f3473484/config/cypress/JPY-USD.config.json), [v12](https://github.com/Bisonai/orakl-config/blob/b3fc7ed27fabde4c9e9168c54a68d4d0af642ad1/config/cypress/JPY-USD.config.json), [v13](https://github.com/Bisonai/orakl-config/blob/04e900e572c0e08370d9049f09b366c20a3664f4/config/cypress/JPY-USD.config.json), [v14](https://github.com/Bisonai/orakl-config/blob/0a450fa5a5158616c09275b34c49198fa488cede/config/cypress/JPY-USD.config.json), [v15](https://github.com/Bisonai/orakl-config/blob/851c81c2b792c1ded0fabfffd29b9a0e1bc44afd/config/cypress/JPY-USD.config.json), [v16](https://github.com/Bisonai/orakl-config/blob/35c73795c9510a4759a2dc71a30bcf4717d9ef9f/config/cypress/JPY-USD.config.json) |
| KLAY-KRW | [v1](https://github.com/Bisonai/orakl-config/blob/3bbe0a47de37a37ca939709fafbaf408f1d251f8/config/cypress/KLAY-KRW.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/2083a8baa27cf7208252c7c0ff1a48e66e93b8c1/config/cypress/KLAY-KRW.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/35c73795c9510a4759a2dc71a30bcf4717d9ef9f/config/cypress/KLAY-KRW.config.json), [v4](https://github.com/Bisonai/orakl-config/blob/6ee06a15400aff50c801cba86f27b75b5f1e38c9/config/cypress/KLAY-KRW.config.json) |
| KLAY-KRW | [v1](https://github.com/Bisonai/orakl-config/blob/3bbe0a47de37a37ca939709fafbaf408f1d251f8/config/cypress/KLAY-KRW.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/2083a8baa27cf7208252c7c0ff1a48e66e93b8c1/config/cypress/KLAY-KRW.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/35c73795c9510a4759a2dc71a30bcf4717d9ef9f/config/cypress/KLAY-KRW.config.json), [v4](https://github.com/Bisonai/orakl-config/blob/6ee06a15400aff50c801cba86f27b75b5f1e38c9/config/cypress/KLAY-KRW.config.json), [v5](https://github.com/Bisonai/orakl-config/blob/097a8d7452e5f07cd4cecf7ee329eddb2dbf1541/config/cypress/KLAY-KRW.config.json) |
| KLAY-USDT | [v1](https://github.com/Bisonai/orakl-config/blob/0cf899151e9ec6afb6c6fe06baa19a1a08258201/config/cypress/KLAY-USDT.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/4a5a004a7563dc8a1b7ac206736199407d472ccf/config/cypress/KLAY-USDT.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/5301e0f5ff4ccf535dc9691688b1337ae306e8dc/config/cypress/KLAY-USDT.config.json), [v4](https://github.com/Bisonai/orakl-config/blob/4ad7cc9cd4a77db4a2ee550ba63d2ab6f536c01f/config/cypress/KLAY-USDT.config.json), [v5](https://github.com/Bisonai/orakl-config/blob/208e0453e27fec5ec2f2eb4540e8b0cf90787c47/config/cypress/KLAY-USDT.config.json), [v6](https://github.com/Bisonai/orakl-config/blob/1047a7bc644926e127b6c747f741d5b899aed322/config/cypress/KLAY-USDT.config.json), [v7](https://github.com/Bisonai/orakl-config/blob/a159aebcd34d32668b31f79f1488da491bfb5e9a/config/cypress/KLAY-USDT.config.json), [v8](https://github.com/Bisonai/orakl-config/blob/72755a2e283637bd83ec6caee543c72384312cab/config/cypress/KLAY-USDT.config.json), [v9](https://github.com/Bisonai/orakl-config/blob/1ef68cb36919d5d647c76bcd3632cb7b41e9bf01/config/cypress/KLAY-USDT.config.json), [v10](https://github.com/Bisonai/orakl-config/blob/201cdd1396c534f8b4815a5d7f7b25b70182ac18/config/cypress/KLAY-USDT.config.json), [v11](https://github.com/Bisonai/orakl-config/blob/2edae7b9e225947c9f6086c22c9296d709b27fc8/config/cypress/KLAY-USDT.config.json), [v12](https://github.com/Bisonai/orakl-config/blob/7fa23f0ebfc3c1e5bafb58a6f52caa03d5ab3604/config/cypress/KLAY-USDT.config.json), [v13](https://github.com/Bisonai/orakl-config/blob/35c73795c9510a4759a2dc71a30bcf4717d9ef9f/config/cypress/KLAY-USDT.config.json), [v14](https://github.com/Bisonai/orakl-config/blob/224116296c7406375b13ea94c79d871b24382e17/config/cypress/KLAY-USDT.config.json), [v15](https://github.com/Bisonai/orakl-config/blob/2c413800ba49a373baf7b8aed3b0e0b8cd19f8dc/config/cypress/KLAY-USDT.config.json), [v16](https://github.com/Bisonai/orakl-config/blob/6ee06a15400aff50c801cba86f27b75b5f1e38c9/config/cypress/KLAY-USDT.config.json), [v17](https://github.com/Bisonai/orakl-config/blob/7668082e0a601bfdeb75917d078acdee1a24f6c5/config/cypress/KLAY-USDT.config.json), [v18](https://github.com/Bisonai/orakl-config/blob/71ce2c8a605fa1ddef79fb20e9ddadcb27fd97ff/config/cypress/KLAY-USDT.config.json) |
| KNC-KRW | [v1](https://github.com/Bisonai/orakl-config/blob/3bbe0a47de37a37ca939709fafbaf408f1d251f8/config/cypress/KNC-KRW.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/2083a8baa27cf7208252c7c0ff1a48e66e93b8c1/config/cypress/KNC-KRW.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/35c73795c9510a4759a2dc71a30bcf4717d9ef9f/config/cypress/KNC-KRW.config.json) |
| KRW-USD | [v1](https://github.com/Bisonai/orakl-config/blob/0cf899151e9ec6afb6c6fe06baa19a1a08258201/config/cypress/KRW-USD.config.json), [v2](https://github.com/Bisonai/orakl-config/blob/4a5a004a7563dc8a1b7ac206736199407d472ccf/config/cypress/KRW-USD.config.json), [v3](https://github.com/Bisonai/orakl-config/blob/5b17b4cfa762ae650b3fa5ec7fd9109d297bbca7/config/cypress/KRW-USD.config.json), [v4](https://github.com/Bisonai/orakl-config/blob/8e8c8321c8ca96d21e264bc5a81e540217f5424a/config/cypress/KRW-USD.config.json), [v5](https://github.com/Bisonai/orakl-config/blob/72755a2e283637bd83ec6caee543c72384312cab/config/cypress/KRW-USD.config.json), [v6](https://github.com/Bisonai/orakl-config/blob/1ef68cb36919d5d647c76bcd3632cb7b41e9bf01/config/cypress/KRW-USD.config.json), [v7](https://github.com/Bisonai/orakl-config/blob/201cdd1396c534f8b4815a5d7f7b25b70182ac18/config/cypress/KRW-USD.config.json), [v8](https://github.com/Bisonai/orakl-config/blob/2edae7b9e225947c9f6086c22c9296d709b27fc8/config/cypress/KRW-USD.config.json), [v9](https://github.com/Bisonai/orakl-config/blob/7fa23f0ebfc3c1e5bafb58a6f52caa03d5ab3604/config/cypress/KRW-USD.config.json), [v10](https://github.com/Bisonai/orakl-config/blob/298eda759494f8458ee0b353bd8332ad0bb35398/config/cypress/KRW-USD.config.json), [v11](https://github.com/Bisonai/orakl-config/blob/81103743bea1cb4829b41dc828a92050f3473484/config/cypress/KRW-USD.config.json), [v12](https://github.com/Bisonai/orakl-config/blob/b3fc7ed27fabde4c9e9168c54a68d4d0af642ad1/config/cypress/KRW-USD.config.json), [v13](https://github.com/Bisonai/orakl-config/blob/04e900e572c0e08370d9049f09b366c20a3664f4/config/cypress/KRW-USD.config.json), [v14](https://github.com/Bisonai/orakl-config/blob/35c73795c9510a4759a2dc71a30bcf4717d9ef9f/config/cypress/KRW-USD.config.json) |
Expand Down
20 changes: 10 additions & 10 deletions config/cypress/KLAY-KRW.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@
"submitInterval": 60000,
"feeds": [
{
"name": "korbit-wss-KLAY-KRW",
"name": "gopax-wss-KLAY-KRW",
"definition": {
"type": "wss",
"provider": "korbit",
"provider": "gopax",
"base": "KLAY",
"quote": "KRW"
}
},
{
"name": "coinone-wss-KLAY-KRW",
"name": "korbit-wss-KAIA-KRW",
"definition": {
"type": "wss",
"provider": "coinone",
"base": "KLAY",
"provider": "korbit",
"base": "KAIA",
"quote": "KRW"
}
},
{
"name": "gopax-wss-KLAY-KRW",
"name": "bithumb-wss-KAIA-KRW",
"definition": {
"type": "wss",
"provider": "gopax",
"base": "KLAY",
"provider": "bithumb",
"base": "KAIA",
"quote": "KRW"
}
},
{
"name": "bithumb-wss-KAIA-KRW",
"name": "coinone-wss-KAIA-KRW",
"definition": {
"type": "wss",
"provider": "bithumb",
"provider": "coinone",
"base": "KAIA",
"quote": "KRW"
}
Expand Down
20 changes: 10 additions & 10 deletions cypress_configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3942,37 +3942,37 @@
"submitInterval": 60000,
"feeds": [
{
"name": "korbit-wss-KLAY-KRW",
"name": "gopax-wss-KLAY-KRW",
"definition": {
"type": "wss",
"provider": "korbit",
"provider": "gopax",
"base": "KLAY",
"quote": "KRW"
}
},
{
"name": "coinone-wss-KLAY-KRW",
"name": "korbit-wss-KAIA-KRW",
"definition": {
"type": "wss",
"provider": "coinone",
"base": "KLAY",
"provider": "korbit",
"base": "KAIA",
"quote": "KRW"
}
},
{
"name": "gopax-wss-KLAY-KRW",
"name": "bithumb-wss-KAIA-KRW",
"definition": {
"type": "wss",
"provider": "gopax",
"base": "KLAY",
"provider": "bithumb",
"base": "KAIA",
"quote": "KRW"
}
},
{
"name": "bithumb-wss-KAIA-KRW",
"name": "coinone-wss-KAIA-KRW",
"definition": {
"type": "wss",
"provider": "bithumb",
"provider": "coinone",
"base": "KAIA",
"quote": "KRW"
}
Expand Down
52 changes: 51 additions & 1 deletion script/generate-configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,30 +231,80 @@ def store_symbols(urls_path, symbols_path):
urls = load_json_from_path(urls_path)

result["binance"] = get_binance_symbols(urls["binance"])
print("binance symbol loaded")

result["coinbase"] = get_coinbase_symbols(urls["coinbase"])
print("coinbase symbol loaded")

result["kucoin"] = get_kucoin_symbols(urls["kucoin"])
print("kucoin symbol loaded")

result["bybit"] = get_bybit_symbols(urls["bybit"])
print("bybit symbol loaded")

result["bitstamp"] = get_bistamp_symbols(urls["bitstamp"])
print("bitstamp symbol loaded")

result["gemini"] = get_gemini_symbols(urls["gemini"])
print("gemini symbol loaded")

result["upbit"] = get_upbit_symbols(urls["upbit"])
print("upbit symbol loaded")

result["korbit"] = get_korbit_symbols(urls["korbit"])
print("korbit symbol loaded")

result["crypto"] = get_crypto_symbols(urls["crypto"])
print("crypto symbol loaded")

result["btse"] = get_btse_symbols(urls["btse"])
print("btse symbol loaded")

result["bithumb"] = get_bithumb_symbols(urls["bithumb"])
print("bithumb symbol loaded")

result["gateio"] = get_gateio_symbols(urls["gateio"])
print("gateio symbol loaded")

result["lbank"] = get_lbank_symbols(urls["lbank"])
print("lbank symbol loaded")

result["coinex"] = get_coinex_symbols(urls["coinex"])
print("coinex symbol loaded")

result["bitget"] = get_bitget_symbols(urls["bitget"])
print("coinex symbol loaded")

result["coinone"] = get_coinone_symbols(urls["coinone"])
print("coinex symbol loaded")

result["huobi"] = get_huobi_symbols(urls["huobi"])
print("coinex symbol loaded")

result["mexc"] = get_mexc_symbols(urls["mexc"])
print("coinex symbol loaded")

result["okx"] = get_okx_symbols(urls["okx"])
print("coinex symbol loaded")

result["kraken"] = get_kraken_symbols(urls["kraken"])
print("coinex symbol loaded")

result["bingx"] = get_bingx_symbols(urls["bingx"])
print("coinex symbol loaded")

result["bitmart"] = get_bitmart_symbols(urls["bitmart"])
print("coinex symbol loaded")

result["xt"] = get_xt_symbols(urls["xt"])
print("coinex symbol loaded")

result["gopax"] = get_gopax_symbols(urls["gopax"])
print("coinex symbol loaded")

result["orangex"] = get_orangex_symbols(urls["orangex"])
print("coinex symbol loaded")


with open(symbols_path, "w") as f:
json.dump(result, f, indent=4)
Expand Down Expand Up @@ -341,7 +391,7 @@ def update_or_make_config_file(config_folder_path, symbol, feeds):

symbols_only = args.onlysymbols
refresh = args.refresh
input_symbols = args.symbols.split(",")
input_symbols = args.symbols.replace(" ","").split(",")
network = args.network

if not os.path.exists(SYMBOLS_PATH) or refresh or symbols_only:
Expand Down

0 comments on commit 00ed1ea

Please sign in to comment.