Skip to content

Commit

Permalink
Merge pull request #2874 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
Dev merge
  • Loading branch information
GuillaumeDSM authored Jan 28, 2025
2 parents 67fd3c1 + abd763f commit 48b4b5b
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 5 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

*It is strongly advised to perform an update of your tentacles after updating OctoBot. (start.py tentacles --install --all)*

## [2.0.8] - 2025-01-27
### Added
- [Profiles] Trailing grid default profile
- [GridTrading] Trading up and down options
- [TradingView] Support LEVERAGE parameter to update position leverage value
- [TradingView] Send REDUCE_ONLY param to exchange orders
- [Exchanges] Support exchange-side spot market stop losses for Binance, Coinbase, Kucoin and BingX
- [Exchanges] Add http, https and ws proxy support
- [Exchanges] Add http requests counter
- [Exchanges] Add request counter
- [Exchanges] Add custom exchange domain support
### Updated
- [GPTService] Improve custom LLM docs
- [GPTService] Support empty token when calling custom LLMs
- [Orders] Make chained orders more reliable
- [Exchanges] Reduce log size for html content errors
### Fixed
- [FuturesTrading] Fix position sync issues
- [TradingModes] Fix rare sell orders creation issues
- [GridTrading & StaggeredOrders] Fix many live & backtesting quantity and price related issues
- [DCATradingMode] Fix a rare init issue
- [MarketPrice] Fix mark price issue
- [Backtesting] Fix futures trading backtesting issues
- [MEXC] Many fixes
- [BingX] Order fixes
- [Exchanges] Fix rare incorrect stop orders parsing
- [Exchanges] Fix rare cancel order errors
- [Exchanges] Fix rare exchange request spamming issues on looping errors
- [Community] Fix expired session error
- [Community] Fix /community page error
- [Community] Fix SSL-related issues

## [2.0.7] - 2024-10-26
### Added
- [TradingView] Support multiple take profits
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OctoBot [2.0.7](https://github.com/Drakkar-Software/OctoBot/blob/master/CHANGELOG.md)
# OctoBot [2.0.8](https://github.com/Drakkar-Software/OctoBot/blob/master/CHANGELOG.md)
[![PyPI](https://img.shields.io/pypi/v/OctoBot.svg?logo=pypi)](https://pypi.org/project/OctoBot)
[![Downloads](https://pepy.tech/badge/octobot/month)](https://pepy.tech/project/octobot)
[![Dockerhub](https://img.shields.io/docker/pulls/drakkarsoftware/octobot.svg?logo=docker)](https://hub.docker.com/r/drakkarsoftware/octobot)
Expand Down
2 changes: 1 addition & 1 deletion octobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@

PROJECT_NAME = "OctoBot"
AUTHOR = "Drakkar-Software"
VERSION = "2.0.7" # major.minor.revision
VERSION = "2.0.8" # major.minor.revision
LONG_VERSION = f"{VERSION}"
3 changes: 2 additions & 1 deletion octobot/community/community_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import octobot_commons.logging as logging
import octobot_commons.constants as commons_constants
import octobot_commons.aiohttp_util as aiohttp_util
import octobot.constants as constants
import octobot.community.identifiers_provider as identifiers_provider

Expand All @@ -41,7 +42,7 @@ async def _get_stats(endpoint_by_key):

async def get_stats(url, stats_key):
try:
async with aiohttp.ClientSession() as session:
async with aiohttp_util.ssl_fallback_aiohttp_client_session(url) as session:
async with session.get(url) as resp:
if resp.status > 299:
logger.error(f"Error when getting community status : error code={resp.status}")
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Drakkar-Software requirements
OctoBot-Commons==1.9.70
OctoBot-Trading==2.4.149
OctoBot-Trading==2.4.152
OctoBot-Evaluators==1.9.7
OctoBot-Tentacles-Manager==2.9.16
OctoBot-Services==1.6.23
OctoBot-Backtesting==1.9.7
Async-Channel==2.2.1
trading-backend==1.2.33
trading-backend==1.2.34

## Others
colorlog==6.8.0
Expand Down

0 comments on commit 48b4b5b

Please sign in to comment.