Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Docs #639

Merged
merged 1 commit into from
Aug 7, 2023
Merged
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
6 changes: 4 additions & 2 deletions docs/01_start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ Create your channel/room and your platform bot:
Exchange Credentials
====================

- DEX wallet address and private key: :doc:`plugins/dex`
- CEX API Keys: :doc:`plugins/cex`
Get your DEX or CEX credentials:
- DEX wallet address and private key: :doc:`talky:plugins/dex`
- CEX API Keys: :doc:`talky:plugins/cex`

Setup your config
=================

Create your config file settings.toml or use env variables.
Refer to :doc:`talky:02_config` for details.

Expand Down
68 changes: 64 additions & 4 deletions docs/03_module.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,70 @@
==================
TalkyTrader Module
==================
===========
TalkyTrader
===========

API EndPoint
============

Talky Trader is an app built with FastAPI https://fastapi.tiangolo.com
It allows you to connect to a messaging chat platform to interact with
trading module.

HealthCheck
-----------

End point to know if the API is up and running

.. autofunction::tt.bot.health_check

Webhook
-------

Webhook endpoint to send your trade generated via http://tradingview.com
or anyother platform you work with.
Endpoint is :file:`/webhook/{settings.webhook_secret}` so in trading view you can add:
https://talky.trader.com/webhook/123456

.. autofunction::tt.bot.webhook

Startup
-------

Starting the coroutine run_bot

.. autofunction::tt.bot.start_bot_task


iamlistening
============

:doc:`iamlistening:index`


FindMyOrder
===========

:doc:`findmyorder:index`

Plugins
=======

Plugins are the core of Talky Trader, they are loaded at startup and
are used to interact with the trading platform.


.. toctree::
:maxdepth: 2

plugins



TalkyTrader Module Reference
=====================

.. autosummary::
:toctree: _autosummary
:template: custom-module-template.rst
:recursive:

tt
tt
22 changes: 2 additions & 20 deletions docs/plugins/cex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,12 @@
CEX
===


User Guide
==========
- CEX API Keys

SPOT
----


LIMIT ORDER
-----------


MARGIN ORDER
------------


FUTURE ORDER
------------
- Retrieve your CEX API Keys


Module Reference
================



:doc:`cex:index`
.. automodule::tt.plugins.default_plugins.cex_exchange_plugin
2 changes: 0 additions & 2 deletions docs/plugins/dex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
DEX
===


Module Reference
================

:doc:`dxsp:index`

14 changes: 13 additions & 1 deletion docs/plugins/helper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,40 @@
helper
=====

Provide multiple function such as giving the list of
available command, network ping or restarting the bot

.. toctree::
:maxdepth: 2

plugins/helper


Function
=====

Help
----

:file:`/help` command to return the list of available command

Trading Switch
--------------

:file:`/trading` command to turn off or on the trading capability

Network
-------

:file:`/network` command to retrieve the network ping latency and IP of the bot

Restart
--------

:file:`/restart` command to restart the bot


Module Reference
================

:doc:`iamlistening:index`
.. automodule::tt.plugins.default_plugins.helper_plugin
7 changes: 1 addition & 6 deletions docs/plugins/myllm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
MyLLM
=====






Module Reference
================

:doc:`myllm:index`
:doc:`myllm:index`
3 changes: 1 addition & 2 deletions docs/plugins/talkytrend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ Talkytrend
Module Reference
================


:doc:`talkytrend:index`
:doc:`talkytrend:index`
Loading