Utilities and Examples for use in Trality crypto trading bots.
- Multicoin Bot Template
- Multi-coin bot using PositionManager.
- Plotting Example
- Simple example of how to use the plotting functionality
- EMA Crossover example
- RSI Double Bottom Example
Two methods to check the state of limit orders.
Example of how to implement a bot using a class to manage positions.
Custom benchmark example using the Trality ema crossover rsi strategy as an example
Enum class that works with Trality live bots. Implements __getstate__
and __setstate__
to work with pickling.
Sample code to get the current date. Works in backtesting and live bot.
Skips missing data in backtests.
Function to format currencies, with symbols and decimal points.