Skip to content

Commit

Permalink
Merge pull request #117 from Bisonai/fix/fix-wrong-interval
Browse files Browse the repository at this point in the history
Fix wrong submit interval
  • Loading branch information
nick-bisonai authored Sep 13, 2024
2 parents efd4d1d + 543aafe commit e605e98
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 117 deletions.
16 changes: 8 additions & 8 deletions HISTORY.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
| [PEPE-KRW](config/baobab/PEPE-KRW.config.json) | 2000 | 400 | 60000 | 3 |
| [PEPE-USDT](config/baobab/PEPE-USDT.config.json) | 2000 | 400 | 15000 | 14 |
| [PER-KLAY](config/baobab/PER-KLAY.config.json) | 2000 | 400 | 15000 | 1 |
| [POL-KRW](config/baobab/POL-KRW.config.json) | 2000 | 400 | 3600000 | 5 |
| [POL-KRW](config/baobab/POL-KRW.config.json) | 2000 | 400 | 60000 | 5 |
| [PYTH-KRW](config/baobab/PYTH-KRW.config.json) | 2000 | 400 | 60000 | 4 |
| [SAND-KRW](config/baobab/SAND-KRW.config.json) | 2000 | 400 | 60000 | 5 |
| [SEI-KRW](config/baobab/SEI-KRW.config.json) | 2000 | 400 | 60000 | 5 |
Expand Down Expand Up @@ -183,7 +183,7 @@
| [PEPE-KRW](config/cypress/PEPE-KRW.config.json) | 2000 | 400 | 60000 | 3 |
| [PEPE-USDT](config/cypress/PEPE-USDT.config.json) | 2000 | 400 | 15000 | 14 |
| [PER-KLAY](config/cypress/PER-KLAY.config.json) | 2000 | 400 | 15000 | 1 |
| [POL-KRW](config/cypress/POL-KRW.config.json) | 2000 | 400 | 3600000 | 5 |
| [POL-KRW](config/cypress/POL-KRW.config.json) | 2000 | 400 | 60000 | 5 |
| [PYTH-KRW](config/cypress/PYTH-KRW.config.json) | 2000 | 400 | 60000 | 4 |
| [SAND-KRW](config/cypress/SAND-KRW.config.json) | 2000 | 400 | 60000 | 5 |
| [SEI-KRW](config/cypress/SEI-KRW.config.json) | 2000 | 400 | 60000 | 5 |
Expand Down
2 changes: 1 addition & 1 deletion baobab_configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5007,7 +5007,7 @@
"name": "POL-KRW",
"fetchInterval": 2000,
"aggregateInterval": 400,
"submitInterval": 3600000,
"submitInterval": 60000,
"feeds": [
{
"name": "upbit-wss-POL-KRW",
Expand Down
104 changes: 52 additions & 52 deletions config/baobab/POL-KRW.config.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"name": "POL-KRW",
"fetchInterval": 2000,
"aggregateInterval": 400,
"submitInterval": 3600000,
"feeds": [
{
"name": "upbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "upbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "korbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "korbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "bithumb-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "bithumb",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "coinone-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "coinone",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "gopax-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "gopax",
"base": "POL",
"quote": "KRW"
}
}
]
}
"name": "POL-KRW",
"fetchInterval": 2000,
"aggregateInterval": 400,
"submitInterval": 60000,
"feeds": [
{
"name": "upbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "upbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "korbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "korbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "bithumb-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "bithumb",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "coinone-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "coinone",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "gopax-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "gopax",
"base": "POL",
"quote": "KRW"
}
}
]
}
104 changes: 52 additions & 52 deletions config/cypress/POL-KRW.config.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
{
"name": "POL-KRW",
"fetchInterval": 2000,
"aggregateInterval": 400,
"submitInterval": 3600000,
"feeds": [
{
"name": "upbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "upbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "korbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "korbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "bithumb-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "bithumb",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "coinone-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "coinone",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "gopax-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "gopax",
"base": "POL",
"quote": "KRW"
}
}
]
}
"name": "POL-KRW",
"fetchInterval": 2000,
"aggregateInterval": 400,
"submitInterval": 60000,
"feeds": [
{
"name": "upbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "upbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "korbit-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "korbit",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "bithumb-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "bithumb",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "coinone-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "coinone",
"base": "POL",
"quote": "KRW"
}
},
{
"name": "gopax-wss-POL-KRW",
"definition": {
"type": "wss",
"provider": "gopax",
"base": "POL",
"quote": "KRW"
}
}
]
}
2 changes: 1 addition & 1 deletion cypress_configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5007,7 +5007,7 @@
"name": "POL-KRW",
"fetchInterval": 2000,
"aggregateInterval": 400,
"submitInterval": 3600000,
"submitInterval": 60000,
"feeds": [
{
"name": "upbit-wss-POL-KRW",
Expand Down
2 changes: 1 addition & 1 deletion script/generate-configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

DEFAULT_FETCH_INTERVAL = 2000
DEFAULT_AGGREGATE_INTERVAL = 400
DEFAULT_SUBMIT_INTERVAL = 3_600_000 # 1 hour
DEFAULT_SUBMIT_INTERVAL = 60000 # 1 minute

def load_json_from_url(url):
response = requests.get(url)
Expand Down

0 comments on commit e605e98

Please sign in to comment.