c9s / bbgo

The modern cryptocurrency trading bot framework written in Go.
https://bbgo.finance
GNU Affero General Public License v3.0
1.18k stars 283 forks source link

FIX: [telegram] prevent sending error to telegram for the case of no opened position #1521

Closed michaljirman closed 7 months ago

michaljirman commented 7 months ago

Executing the Telegram command /position to request information about open positions results in an error message when there are no open positions. The state of having no open positions should not be treated as an error.

bbgokarma-bot commented 7 months ago

Hi @michaljirman,

This is KarmaBot, and we reward your contributions with tokens sent directly to your wallet to support development.

This pull request may get 205 BBG.

To receive BBG tokens, please provide your Polygon (can be Ethereum) address as an issue comment in this pull request, following this format:

polygon:0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B

Once this pull request is merged, your BBG tokens will be transferred to your wallet.

-- If you're interested in our project, feel free to join our Telegram group https://t.me/bbgo_intl

Best, KarmaBot

CLAassistant commented 7 months ago

CLA assistant check
All committers have signed the CLA.