Skip to content

Commit

Permalink
#81 readmes were updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim55667757 committed Nov 11, 2022
1 parent d452f59 commit 0160248
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 48 deletions.
59 changes: 35 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1083,30 +1083,40 @@ TKSBrokerAPI.py L:4309 DEBUG [2022-10-28 00:22:48,930] >>> TKSBrokerAPI mo
<summary>Команда для получения стакана цен</summary>

```commandline
$ tksbrokerapi --ticker IBM --depth=5 --price
TKSBrokerAPI.py L:871 INFO [2022-07-27 00:11:35,189] Current prices in order book:
Orders book actual at [2022-07-26 21:11:35] (UTC)
Ticker: [IBM], FIGI: [BBG000BLNNH6], Depth of Market: [5]
----------------------------------------
Orders of Buyers | Orders of Sellers
----------------------------------------
Sell prices (vol.) | Buy prices (vol.)
----------------------------------------
| 129.2 (1)
| 129.0 (9)
| 128.96 (21)
| 128.7 (1)
| 128.65 (150)
127.67 (1) |
127.66 (1) |
127.65 (60) |
127.53 (2) |
127.5 (5) |
----------------------------------------
Total sell: 69 | Total buy: 182
----------------------------------------
$ tksbrokerapi -t TRUR --depth 10 --price
TKSBrokerAPI.py L:1231 INFO [2022-11-11 18:01:48,273] Current prices in order book:
Orders book actual at [2022-11-11 15:01:48] (UTC)
Ticker: [TRUR], FIGI: [BBG000000001], Depth of Market: [10]
------------------------------------------------------------
Orders of Buyers | Orders of Sellers
------------------------------------------------------------
Sell prices (volumes) | Buy prices (volumes)
------------------------------------------------------------
| 5.71 (1158)
| 5.7 (93508)
| 5.69 (112074)
| 5.68 (12804)
| 5.67 (106064)
| 5.66 (23593)
| 5.65 (1457706)
| 5.64 (32957)
| 5.63 (823159)
| 5.62 (1991386)
5.61 (3351948) |
5.6 (1780747) |
5.59 (1354789) |
5.58 (1167135) |
5.57 (770161) |
5.56 (521801) |
5.55 (337911) |
5.54 (6204) |
5.53 (5603) |
5.52 (1110590) |
------------------------------------------------------------
Total sell: 10406889 | Total buy: 4654409
------------------------------------------------------------
```

</details>
Expand Down Expand Up @@ -2976,6 +2986,7 @@ uLogger.debug("Trading scenario finished: [{}] UTC, it is [{}] local time".forma
))
uLogger.debug("=--=" * 20)
```

</details>

<details>
Expand Down
59 changes: 35 additions & 24 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -1060,30 +1060,40 @@ The `--price` key is used, and one of the two parameters must be specified: the
<summary>Command for getting Depth of Market</summary>

```commandline
$ tksbrokerapi --ticker IBM --depth=5 --price
TKSBrokerAPI.py L:871 INFO [2022-07-27 00:11:35,189] Current prices in order book:
Orders book actual at [2022-07-26 21:11:35] (UTC)
Ticker: [IBM], FIGI: [BBG000BLNNH6], Depth of Market: [5]
----------------------------------------
Orders of Buyers | Orders of Sellers
----------------------------------------
Sell prices (vol.) | Buy prices (vol.)
----------------------------------------
| 129.2 (1)
| 129.0 (9)
| 128.96 (21)
| 128.7 (1)
| 128.65 (150)
127.67 (1) |
127.66 (1) |
127.65 (60) |
127.53 (2) |
127.5 (5) |
----------------------------------------
Total sell: 69 | Total buy: 182
----------------------------------------
$ tksbrokerapi -t TRUR --depth 10 --price
TKSBrokerAPI.py L:1231 INFO [2022-11-11 18:01:48,273] Current prices in order book:
Orders book actual at [2022-11-11 15:01:48] (UTC)
Ticker: [TRUR], FIGI: [BBG000000001], Depth of Market: [10]
------------------------------------------------------------
Orders of Buyers | Orders of Sellers
------------------------------------------------------------
Sell prices (volumes) | Buy prices (volumes)
------------------------------------------------------------
| 5.71 (1158)
| 5.7 (93508)
| 5.69 (112074)
| 5.68 (12804)
| 5.67 (106064)
| 5.66 (23593)
| 5.65 (1457706)
| 5.64 (32957)
| 5.63 (823159)
| 5.62 (1991386)
5.61 (3351948) |
5.6 (1780747) |
5.59 (1354789) |
5.58 (1167135) |
5.57 (770161) |
5.56 (521801) |
5.55 (337911) |
5.54 (6204) |
5.53 (5603) |
5.52 (1110590) |
------------------------------------------------------------
Total sell: 10406889 | Total buy: 4654409
------------------------------------------------------------
```

</details>
Expand Down Expand Up @@ -2953,6 +2963,7 @@ uLogger.debug("Trading scenario finished: [{}] UTC, it is [{}] local time".forma
))
uLogger.debug("=--=" * 20)
```

</details>

<details>
Expand Down

0 comments on commit 0160248

Please sign in to comment.