Skip to content

Commit

Permalink
Merge pull request #50 from EA31337/dev-v1.000
Browse files Browse the repository at this point in the history
First release
  • Loading branch information
kenorb authored Sep 11, 2024
2 parents fa254e4 + 04e674c commit f707f99
Show file tree
Hide file tree
Showing 11 changed files with 166 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 120
IndentPPDirectives: BeforeHash
21 changes: 21 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Check

# yamllint disable-line rule:truthy
on:
pull_request:
push:

jobs:
Pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
47 changes: 47 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Compile

# yamllint disable-line rule:truthy
on:
pull_request:
paths-ignore:
- '*.md'
push:
paths-ignore:
- '*.md'

env:
INDI_COMMON_WORKDIR: ${{ vars.INDI_COMMON_WORKDIR || 'src/indicators/Common' }}
INDI_OSCILLATORS_WORKDIR: ${{ vars.INDI_OTHER_WORKDIR || 'src/indicators/Oscillators' }}
INDI_OTHER_WORKDIR: ${{ vars.INDI_OTHER_WORKDIR || 'src/indicators/Other' }}
INDI_STATS_WORKDIR: ${{ vars.INDI_STATS_WORKDIR || 'src/indicators/Stats' }}

jobs:

compile-indicators-common:
name: Compile Indicators (Common)
uses: EA31337/EA31337-Indicators-Common/.github/workflows/compile.yml@master
with:
artifact_prefix: mt0
checkout_branch: master

compile-indicators-oscillators:
name: Compile Indicators (Oscillators)
uses: EA31337/EA31337-Indicators-Oscillators/.github/workflows/compile.yml@master
with:
artifact_prefix: mt1
checkout_branch: master

compile-indicators-other:
name: Compile Indicators (Other)
uses: EA31337/EA31337-Indicators-Other/.github/workflows/compile.yml@master
with:
artifact_prefix: mt2
checkout_branch: master

compile-indicators-stats:
name: Compile Indicators (Stats)
uses: EA31337/EA31337-Indicators-Stats/.github/workflows/compile.yml@master
with:
artifact_prefix: mt3
checkout_branch: master
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/igorshubovych/markdownlint-cli.git
rev: v0.35.0
hooks:
- id: markdownlint

- repo: https://github.com/adrienverge/yamllint.git
rev: v1.32.0
hooks:
- id: yamllint
args: ["-c", ".yamllint", "-s"]
11 changes: 11 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
extends: default

rules:
line-length:
max: 120
level: warning
truthy:
ignore: |
?appveyor.yml
.github/workflows/*.yml
2 changes: 1 addition & 1 deletion Common
Submodule Common updated 157 files
2 changes: 1 addition & 1 deletion Price
53 changes: 52 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,53 @@
# EA31337-indicators
# EA31337 Indicators

[![Tag][gh-tag-image]][gh-tag-link]
[![Channel][tg-channel-image]][tg-channel-link]
[![Discuss][gh-discuss-badge]][gh-discuss-link]
[![X][x-pimage]][x-plink]
[![X][x-cimage]][x-clink]
[![Status][gha-image-check-master]][gha-link-check-master]
[![Status][gha-image-compile-master]][gha-link-compile-master]
[![Edit][gh-edit-badge]][gh-edit-link]

## About the project

Collection of indicators used for EA31337 strategies.

Related project:

- [EA31337 framework][gh-repo-classes]
- [EA31337 strategies][gh-repo-strats]

## Dependencies

| Tag | Classes |
|:--------:|:---------:|
| v1.000 | v3.000.2 |
| v1.001 | v3.001.1 |

<!-- Named links -->

[gh-discuss-badge]: https://img.shields.io/badge/Discussions-Q&A-blue.svg?logo=github
[gh-discuss-link]: https://github.com/EA31337/EA31337-indicators/discussions

[gh-edit-badge]: https://img.shields.io/badge/GitHub-edit-purple.svg?logo=github
[gh-edit-link]: https://github.dev/EA31337/EA31337-indicators

[gh-tag-image]: https://img.shields.io/github/tag/EA31337/EA31337-indicators.svg?logo=github
[gh-tag-link]: https://github.com/EA31337/EA31337-indicators/tags

[gha-link-check-master]: https://github.com/EA31337/EA31337-indicators/actions?query=workflow:Check+branch%3Amaster
[gha-image-check-master]: https://github.com/EA31337/EA31337-indicators/workflows/Check/badge.svg?branch=master
[gha-link-compile-master]: https://github.com/EA31337/EA31337-indicators/actions?query=workflow:Compile+branch%3Amaster
[gha-image-compile-master]: https://github.com/EA31337/EA31337-indicators/workflows/Compile/badge.svg?branch=master

[gh-repo-classes]: https://github.com/EA31337/EA31337-classes
[gh-repo-strats]: https://github.com/EA31337/EA31337-strategies

[tg-channel-image]: https://img.shields.io/badge/Telegram-join-0088CC.svg?logo=telegram
[tg-channel-link]: https://t.me/EA31337

[x-cimage]: https://img.shields.io/badge/EA31337-Join-1DA1F2.svg?logo=X
[x-clink]: https://twitter.com/i/communities/1700228512274174098
[x-pimage]: https://img.shields.io/badge/EA31337-Follow-1DA1F2.svg?logo=X
[x-plink]: https://x.com/EA31337

0 comments on commit f707f99

Please sign in to comment.