Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ccxt/ccxt into add-binance-watch-…
Browse files Browse the repository at this point in the history
…tickers
  • Loading branch information
carlosmiei committed Jan 4, 2023
2 parents cd6a067 + 8b98963 commit 18edf5d
Show file tree
Hide file tree
Showing 607 changed files with 36,491 additions and 21,367 deletions.
73 changes: 73 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
@@ -0,0 +1,73 @@
name: New Issue
description: Report bugs here
labels: ["bug"]
assignees: [ "carlosmiei", "frosty00" ]
body:
- type: markdown
attributes:
value: |
## If you want your issue to be resolved quickly, we strongly recommend that you
- Read the [Manual](https://github.com/ccxt/ccxt/wiki/Manual), and give special attention to the following sections:
- [Exchange Properties](https://github.com/ccxt/ccxt/wiki/Manual#exchange-properties)
- [Rate Limit](https://github.com/ccxt/ccxt/wiki/Manual#rate-limit)
- [DDoS Protection](https://github.com/ccxt/ccxt/wiki/Manual#ddos-protection-by-cloudflare--incapsula)
- [Authentication](https://github.com/ccxt/ccxt/wiki/Manual#authentication)
- [API Keys Setup](https://github.com/ccxt/ccxt/wiki/Manual#api-keys-setup)
- Read the [API docs](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) for your exchange.
---
## Ensure
- You have already searched for [existing issues](https://github.com/ccxt/ccxt/issues) and confirmed that this issue is not a duplicate
- This question is directly related to ccxt
- You have read the [FAQ](https://github.com/ccxt/ccxt/wiki/FAQ) for most frequently asked questions
- You have read the [Troubleshooting](https://github.com/ccxt/ccxt/wiki/Manual#troubleshooting) section of the manual and followed troubleshooting steps
---
- type: input
id: operating-system
attributes:
label: Operating System
validations:
required: false

- type: dropdown
id: language
attributes:
multiple: true
label: Programming Languages
description: Which language are you using?
options:
- JS
- python
- php
validations:
required: false

- type: input
id: ccxt-version
attributes:
label: CCXT Version
validations:
required: false

- type: textarea
attributes:
label: Description
description: Describe the issue that you're having precisely. Include clear steps for how to reproduce the issue.
validations:
required: false

- type: textarea
attributes:
label: Code
description: Don't post your API keys or secret keys!
value: |
```
  
```
validations:
required: false
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT2.yml
@@ -0,0 +1,27 @@
name: Blank Issue
description: "Create an Issue"
labels: []
assignees: [ "carlosmiei", "frosty00" ]
body:
- type: markdown
attributes:
value: |
MUST READ THIS BEFORE SUBMITTING ISSUES (read the links, then delete this message before submitting):
- https://github.com/ccxt/ccxt/wiki/FAQ
- https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-submit-an-issue
Make sure your local version of CCXT is up to date. Check by comparing the output of `ccxt.version` to https://github.com/ccxt/ccxt/blob/master/package.json#L3
- OS:
- Programming Language version:
- CCXT version:
\`\`\`
REPLACE_THIS_WITH_YOUR_CODE_TO_REPRODUCE_THE_ISSUE_WITHOUT_YOUR_KEYS
\`\`\`
- type: textarea
attributes:
# invisible arabic question mark
label: ؜
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
@@ -0,0 +1,38 @@
name: Feature Request
description: Suggest an idea to help improve CCXT
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
## Thank you for creating a new feature request report!
If you feel that you would be useful in implementing the feature yourself, please read our [contributing guidelines](https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md)
- type: checkboxes
attributes:
label: Preliminary Checks
options:
- label: "I have already searched for [existing issues](https://github.com/ccxt/ccxt/issues) and confirmed that this issue is not a duplicate"
required: true

- type: textarea
attributes:
label: Is your feature request related to a problem? Please describe
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: false

- type: textarea
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true

- type: textarea
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered
validations:
required: false
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/NEW_EXCHANGE.yml
@@ -0,0 +1,33 @@
name: New Exchange Request
description: Request the implementation of an exchange not yet implemented in the CCXT library
labels: ["new exchange"]
body:
- type: input
id: exchange-name
attributes:
label: Exchange Name
validations:
required: true

- type: input
id: exchange-url
attributes:
label: URL of the Exchange
placeholder: https://www.binance.com
validations:
required: true

- type: input
id: api-docs
attributes:
label: URL of the Exchange's API docs
placeholder: https://binance-docs.github.io/apidocs
validations:
required: true

- type: textarea
attributes:
label: Why should this exchange be implemented?
description: We would love to add this exchange to CCXT. There are a lot of other exchanges that we would also love to add to CCXT. Why should resources be devoted to adding this exchange to CCXT before adding other exchanges?
validations:
required: false
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: CCXT Documentation
url: https://docs.ccxt.com/en/latest/manual.html
about: Read CCXT documentation for answers to common questions
- name: Troubleshooting
url: https://docs.ccxt.com/en/latest/manual.html#troubleshooting
about: Read our troubleshooting recommendations in our documentation
- name: CCXT Discord
url: https://discord.gg/dhzSKYU
about: Ask questions, get help and discuss new things you're building with the CCXT community
23 changes: 6 additions & 17 deletions .travis.yml
Expand Up @@ -3,7 +3,7 @@ dist: jammy
python:
- 3.8.3
git:
depth: 1
depth: 2
cache:
directories:
- ".cache"
Expand All @@ -26,29 +26,18 @@ before_install:
- php --version
- composer install
script:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
npm config set git-tag-version=false && NPM_VERSION=$(npm version patch); fi
- cp package.json README.md LICENSE.txt keys.json python
- npm run force-build
- cd python
- tox -e doc
- cd ..
- ls "$VIRTUAL_ENV/lib/python3.8/site-packages/"
- npm run test-base
- npm run test-base-ws
- pip list
- node run-tests --js --python-async --php-async 5 2>&1 &
- rest_pid=$!
- node run-tests-ws --js --python-async --php-async 5 2>&1 &
- ws_pid=$!
- wait $rest_pid
- wait $ws_pid
- ./tests-manager.sh 2>&1
- git checkout master composer.json
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
env COMMIT_MESSAGE=${NPM_VERSION:1} GITHUB_TOKEN=${GITHUB_TOKEN} ./build/push.sh;
npm config set git-tag-version=false && NPM_VERSION=$(npm version patch);
npm run vss && npm run copy-python-files;
env COMMIT_MESSAGE=${NPM_VERSION:1} GITHUB_TOKEN=${GITHUB_TOKEN} ./build/push.sh;
cd python && env PYPI_TOKEN=${PYPI_TOKEN} ./deploy.sh && cd ..;
fi
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
cd python && env PYPI_TOKEN=${PYPI_TOKEN} ./deploy.sh && cd ..; fi
after_failure:
- dmesg | grep -i kill
deploy:
Expand Down

0 comments on commit 18edf5d

Please sign in to comment.