diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..a0782e9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,28 @@ +--- +name: Bug Report +about: Report something that isn't working +labels: bug +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Run '...' +3. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Environment (please complete the following information):** + - OS: [e.g. Ubuntu] + - Node version [e.g. 20] + - Browser [if applicable] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..5d2b17e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,17 @@ +--- +name: Feature Request +about: Suggest a new idea or improvement +labels: enhancement +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/improvement.md b/.github/ISSUE_TEMPLATE/improvement.md new file mode 100644 index 0000000..eecf504 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/improvement.md @@ -0,0 +1,14 @@ +--- +name: Improvement +about: Suggest an improvement to existing features or docs +labels: improvement +--- + +**What needs improving?** +Describe the current behavior and how it could be improved. + +**Proposed solution** +Describe the changes you'd like to see. + +**Additional context** +Add any other context or screenshots about the suggestion here. diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..fadaa81 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,16 @@ +labels: + - name: bug + color: ff0000 + description: Something isn't working + - name: enhancement + color: a2eeef + description: New feature or request + - name: improvement + color: c2e0c6 + description: Enhancement to existing functionality or docs + - name: documentation + color: 0075ca + description: Documentation related work + - name: hft + color: 5319e7 + description: Core high-frequency trading code diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c57fcf3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: + push: + branches: ["main"] + pull_request: + branches: ["main"] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm run check diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml new file mode 100644 index 0000000..9f3290b --- /dev/null +++ b/.github/workflows/labels.yml @@ -0,0 +1,13 @@ +name: Sync Labels + +on: + workflow_dispatch: + +jobs: + labels: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-ecosystem/action-create-labels@v1 + with: + config-file: .github/labels.yml diff --git a/code/README.md b/code/README.md new file mode 100644 index 0000000..80887c6 --- /dev/null +++ b/code/README.md @@ -0,0 +1,3 @@ +# HFT Core Code + +This directory will contain the Rust code for the high-frequency trading framework. Implementations will be added incrementally.