Tim55667757 / TKSBrokerAPI

TKSBrokerAPI is the trading platform for automation and simplifying the implementation of trading scenarios, as well as working with Tinkoff Invest API server via the REST protocol. The TKSBrokerAPI platform may be used in two ways: from the console, it has a rich keys and commands, or you can use it as Python module.
https://tim55667757.github.io/TKSBrokerAPI/
Apache License 2.0
25 stars 9 forks source link

Remove `RUB000UTSTOM [RUB000UTSTOM]` from portfolio `Overview()` #105

Closed Tim55667757 closed 1 year ago

Tim55667757 commented 1 year ago

RUB000UTSTOM is a technical ticker for detecting margin used, and not need to show it to user in main overview table:

## Open positions

| Ticker [FIGI]               | Volume (blocked)                | Lots     | Curr. price  | Avg. price   | Current volume cost | Profit (%)                   |
|-----------------------------|---------------------------------|----------|--------------|--------------|---------------------|------------------------------|
| **Ruble:**                  |               608.38 (0.35) rub |          |              |              |                     |                              |
|                             |                                 |          |              |              |                     |                              |
| **Currencies:**             |                                 |          |              |              |          207.39 RUB |                              |
| CNYRUB_TOM [BBG0013HRTL0]   |                 1.42 (0.00) cny | —        |     8.72 rub |     8.75 rub |            8.72 rub | -0.03 rub (-0.24%)           |
| TRYRUB_TOM [BBG0013J12N1]   |                10.00 (0.00) try | —        |     3.28 rub |     3.40 rub |            3.28 rub | -1.16 rub (-3.41%)           |
| USD000UTSTOM [BBG0013HGFT4] |                 0.64 (0.00) usd | —        |    61.49 rub |    61.34 rub |           61.49 rub | +0.09 rub (+0.23%)           |
| RUB000UTSTOM [RUB000UTSTOM] |               629.90 (0.35) rub | —        |     1.00 rub |     1.00 rub |            1.00 rub | 0.00 rub (0.00%)             |
| EUR_RUB__TOM [BBG0013HJJ31] |                 0.46 (0.00) eur | —        |    64.48 rub |    63.08 rub |           64.48 rub | +0.64 rub (+2.21%)           |
| CHFRUB_TOM [BBG0013HQ5K4]   |                 1.00 (0.00) chf | —        |    60.54 rub |    64.00 rub |           60.54 rub | -3.46 rub (-5.41%)           |
| HKDRUB_TOM [BBG0013HSW87]   |                 1.41 (0.00) hkd | —        |     7.86 rub |     7.86 rub |            7.86 rub | +0.01 rub (+0.09%)           |
|                             |                                 |          |              |              |                     |                              |
Tim55667757 commented 1 year ago

RUB000UTSTOM [RUB000UTSTOM] not only technical ticker, it shows free money in Rouble currency. Stay it here.