Skip to content

Commit

Permalink
Update the documentation (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger authored Jan 25, 2025
1 parent 9e55b4e commit b8bbfbc
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 4 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Practices](https://www.bestpractices.dev/projects/9956/badge)](https://www.bestp
[![release](https://shields.io/github/release-date/btschwertfeger/kraken-infinity-grid)](https://github.com/btschwertfeger/kraken-infinity-grid/releases)
[![release](https://img.shields.io/pypi/v/kraken-infinity-grid)](https://pypi.org/project/kraken-infinity-grid/)
[![Documentation Status Stable](https://readthedocs.org/projects/kraken-infinity-grid/badge/?version=stable)](https://kraken-infinity-grid.readthedocs.io/en/stable)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14735203.svg)](https://doi.org/10.5281/zenodo.14735203)

</div>

Expand Down Expand Up @@ -407,6 +408,8 @@ current state of the algorithm via Telegram Bots (see
calculation is based on timestamps and a sent nonce must always be the highest
nonce ever sent of that API key. Having multiple algorithms using the same
keys will result in invalid nonce errors.
- Always keep an eye on https://status.kraken.com/ when encountering
connectivity problems.

---

Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Welcome to kraken-infinity-grid's documentation!

|GitHub badge| |PyVersions badge| |Downloads badge|
|CI/CD badge| |Typing badge| |codecov badge|
|Release date badge| |Release version badge|
|Release date badge| |Release version badge| |DOI badge|

.. toctree::
:caption: Contents:
Expand Down
5 changes: 3 additions & 2 deletions doc/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Introduction

|GitHub badge| |PyVersions badge| |Downloads badge|
|CI/CD badge| |Typing badge| |codecov badge|
|Release date badge| |Release version badge|
|Release date badge| |Release version badge| |DOI badge|


Disclaimer
Expand Down Expand Up @@ -65,9 +65,10 @@ Troubleshooting
calculation is based on timestamps and a sent nonce must always be the highest
nonce ever sent of that API key. Having multiple algorithms using the same
keys will result in invalid nonce errors.
- Always keep an eye on https://status.kraken.com/ when encountering
connectivity problems.
- Feel free to open an issue at `kraken-infinity-grid/issues`_.


References
----------

Expand Down
3 changes: 3 additions & 0 deletions doc/links.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@
.. |Docs stable| image:: https://readthedocs.org/projects/kraken-infinity-grid/badge/?version=stable
:target: https://kraken-infinity-grid.readthedocs.io/en/stable
:alt: Documentation status stable
.. |DOI badge| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.14735203.svg
:target: https://doi.org/10.5281/zenodo.14735203
:alt: Zenodo DOI
12 changes: 12 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
# GitHub: https://github.com/btschwertfeger
#

# This Docker Compose file creates a PostgreSQL and kraken-infinity-grid
# container.
#
# In order to use this file to run the trading algorithm, a few environment
# variables must be set, see
# https://kraken-infinity-grid.readthedocs.io/en/latest/configuration.html#environment-variables
# for more information.
#
# Note: For running multiple instances of the kraken-infinity-grid in parallel,
# you can simply duplicate and configure the service, as it supports sharing the
# same database.

services:
postgresql:
image: postgres:13-bookworm
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@ asyncio_default_fixture_loop_scope = "function"

[tool.coverage.run]
source = ["."]

omit = ["*tests*", "_version.py"]

[tool.coverage.report]
exclude_lines = ["coverage: disable", "if TYPE_CHECKING:"]
skip_empty = true

[tool.codespell]
check-filenames = true

# ========= T Y P I N G ========================================================
#
[tool.mypy]
Expand Down

0 comments on commit b8bbfbc

Please sign in to comment.