Reformat /pd response into a table
The /pd command's response is quite long, It could be significantly shorter if formatted as a table.
Telegram doesn't allow for table formatting, but a combination of monospaced font and ASCII could be used to simulate one like so:
| Ticker | Nome | Alocação | Variação |
|--------|-----------------|----------|----------|
| IVVB11 | iShares S&P 500 | 16.47% | +0.02% |
| NATU3 | Natura | 14.2% | +2.3% |
Maybe not include the "Nome" column and let it for the user to use /d [ticker] to learn more.
Check out: https://ozh.github.io/ascii-tables/ & https://www.npmjs.com/package/table
Edited by Felipe Zavan