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

feature: a new command /chart #10

Open
Zidious opened this issue Jan 8, 2022 · 1 comment
Open

feature: a new command /chart #10

Zidious opened this issue Jan 8, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Zidious
Copy link
Owner

Zidious commented Jan 8, 2022

Why?

Another useful bot command allowing users to fetch the market chart of their favourite coin

How?

Utilising the CoinGecko API to use the endpoint coins_ohlc (candlestick statistics).

The user would use the command /chart and then pass in the required arguments, these would be coin and days . It would look something like:

/chart bitcoin 7

Research is required to find a library to map the fetched data and post the generate chart into the TG chat.

endpoint response for reference:

https://pastebin.com/7MSZYUR0

@Zidious Zidious added the enhancement New feature or request label Jan 8, 2022
@Zidious Zidious self-assigned this Jan 8, 2022
@Zidious Zidious changed the title feature: a new command "/chart` feature: a new command /chart Jan 8, 2022
@Zidious Zidious removed their assignment Jan 8, 2022
@Zidious
Copy link
Owner Author

Zidious commented Feb 26, 2022

TradingView have an awesome library but issues with nodeJS: tradingview/lightweight-charts#613

A possible options is it is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant