Skip to content

Set predicted funding rate to None in OKX if nextFundingRate is empty. #21

Set predicted funding rate to None in OKX if nextFundingRate is empty.

Set predicted funding rate to None in OKX if nextFundingRate is empty. #21

Workflow file for this run

name: cryptofeed tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest cython
pip install aiohttp==3.8.1
pip install pyyaml
python setup.py develop
- name: Test with pytest
run: |
pytest tests/