Skip to content

Commit

Permalink
#17 Readmes were updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim55667757 committed Jan 1, 2023
1 parent c736a7c commit a218528
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ Also, you can manipulate with chart and adding lines or markers to the main char

`lines` is a list with custom series, where additional chart-lines will place on main series. `None` by default. Line data must contain at least two columns. There are `datetime` with date and time and `custom_line_name` with y-coordinates. Length of the chart-line dataframes must be equal to the length of main candle series.

Example:

```python
from pricegenerator.PriceGenerator import PriceGenerator, uLogger
from datetime import datetime, timedelta
Expand Down
6 changes: 4 additions & 2 deletions README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,11 @@ priceModel.RenderBokeh(fileName="index.html", viewInBrowser=True)

Также вы можете манипулировать графиком и добавлять новые линии или маркеры на основной график. Используйте для этого параметры `markers` и `lines`.

Лист `markers` содержит новые ряды, которые показывают, какой маркер нанести для той или иной свечи. `None` by default. One marker is a custom symbol, e.g. ×, ↓ oror anyone else. Marker data must contain at least two columns. There are `datetime` with date and time and some markers columns (`markersUpper`, `markersCenter` or `markersLower`). Length of marker dataframes must be equal to the length of main candle series.
Лист `markers` содержит ряды, которые показывают, какой маркер нанести для той или иной свечи. `None` по умолчанию. Маркер представляет собой некоторый символ, например, ×, ↓ илиили какой-либо другой. Датафрейм с маркерами должен содержать, как минимум, два столбца. Это столбец `datetime`, с датой и временем, и один из столбцов или все сразу: `markersUpper`, `markersCenter` или `markersLower`, с маркерами, которые нужно поставить сверху, по центру или снизу свечи соответственно. Длины рядов с маркерами должны быть равны длине основного ряда со свечами.

`lines` is a list with custom series, where additional chart-lines will place on main series. `None` by default. Line data must contain at least two columns. There are `datetime` with date and time and `custom_line_name` with y-coordinates. Length of the chart-line dataframes must be equal to the length of main candle series.
Лист `lines` содержит ряды с данными о точках новых линий, которые нужно разместить на основном свечном графике. `None` по умолчанию. Датафрейм с линиями должен содержать, как минимум, два столбца. Это `datetime`, с датой и временем, и произвольно названный столбец `custom_line_name`, с y-координатами точек линии. Длины рядов с точками линий должны быть равны длине основного ряда со свечами.

Пример:

```python
from pricegenerator.PriceGenerator import PriceGenerator, uLogger
Expand Down

0 comments on commit a218528

Please sign in to comment.