Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 20 additions & 15 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: CD

on:
workflow_dispatch:
inputs:
target:
description: "Triplet to build (linux-x64-gnu / win32-x64-msvc)"
required: false
type: string

# on:
# pull_request:
# push:
# branches:
# - master
# workflow_dispatch:
# inputs:
# target:
# description: "Triplet to build (linux-x64-gnu / win32-x64-msvc)"
# required: false
# type: string

on:
pull_request:
push:
branches:
- master

# workflow_run:
# workflows: ["CI"]
Expand All @@ -31,11 +31,12 @@ jobs:

strategy:
matrix:
# https://docs.github.com/en/actions/how-tos/writing-workflows/choosing-where-your-workflow-runs/choosing-the-runner-for-a-job#overview
include:
- os: ubuntu-24.04
triplet: linux-x64-gnu
- os: ubuntu-24.04
triplet: linux-aarch64-gnu
# - os: ubuntu-24.04-arm
# triplet: linux-aarch64-gnu
- os: windows-latest
triplet: win32-x64-msvc
- os: macos-13
Expand Down Expand Up @@ -92,7 +93,7 @@ jobs:

- name: Install Python dependencies
run: |
pip install pytest 'numpy<2' pandas matplotlib scikit-learn maturin wheel requests tqdm plotly colorama
pip install pytest 'numpy<2' pandas matplotlib scikit-learn maturin wheel requests tqdm plotly colorama twine

- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
Expand Down Expand Up @@ -159,6 +160,10 @@ jobs:
echo "Contents of build/_bazed/__core_napi/core/pkg_napi:"
ls build/_bazed/__core_napi/core/pkg_napi

- name: Validate wheel
run: |
python -m twine check build/_bazed/___wheel/dist/*.whl

- name: Upload wheel
uses: actions/upload-artifact@v4
with:
Expand Down
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,53 @@ const customMa = pine.script.custom_ma(ctx.copy(), ohlcv.close, 14);
console.log(customMa); // [1.0, 2.0, ...]
```

## Suite

**qPACE Suite**: Free collection of the best indicators and strategies (separate package to `qpace`).

Python:

```bash
pip install qpace_suite
```

JavaScript:

```bash
npm install @qpace/suite
```

### _Jdehorty_

- [_Machine Learning: Lorentzian Classification_](https://www.tradingview.com/v/WhBzgfDu/)
- [_WaveTrend 3D_](https://www.tradingview.com/v/clUzC70G/)
- [_Nadaraya-Watson: Envelope_](https://www.tradingview.com/v/WeLssFxl/)
- [_MLExtensions_](https://www.tradingview.com/v/ia5ozyMF/)
- [_KernelFunctions_](https://www.tradingview.com/v/e0Ek9x99/)

### _AlgoAlpha_

- [_Adaptive Schaff Trend Cycle (STC)_](https://www.tradingview.com/v/yOxili7R/)
- [_Amazing Oscillator_](https://www.tradingview.com/v/g9j9piQE/)
- [_Donchian Trend Ranges_](https://www.tradingview.com/v/td0irJcf/)
- [_Exponential Trend_](https://www.tradingview.com/v/CDb3oR6A/)
- [_Supertrended RSI_](https://www.tradingview.com/v/tjP35RG5/)
- [_Triple Smoothed Signals_](https://www.tradingview.com/v/FoMINXVf/)

## TA

Built-in TA functions.

```python
import qpace as qp
rsi = qp.ta.rsi(ctx.copy(), src=ohlcv.close, length=14)
```

```javascript
import * as qp from "qpace/node";
const rsi = qp.ta.rsi(ctx.copy(), ohlcv.close, 14);
```

[Roadmap](https://github.com/nersent/qpace/issues/7)

> Every TA indicator was compiled using Pine to Python/JavaScript compiler.
Expand Down
23 changes: 0 additions & 23 deletions algoalpha/.qpace.json

This file was deleted.

Loading
Loading