Skip to content

Commit

Permalink
#80 little typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim55667757 committed Nov 15, 2022
1 parent 91d480c commit ec74bd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,7 @@ for ticker in TICKERS_LIST_FOR_TRADING:
# лимитный ордер на весь объём позиции по цене на 0.1% выше, чем текущая рыночная цена. Это нужно для того, чтобы позиция
# закрылась с профитом, с большой вероятностью в течение текущей торговой сессии.

uLogger.info("Ticker [{}]: there is an open position with that instrument, checking closure rules...".format(trader.ticker))
uLogger.info("Ticker [{}]: there is an open position with that instrument, checking close rules...".format(trader.ticker))

# Получаем информацию по инструменту из списка текущих открытых позиций в портфеле пользователя:
iData = trader.GetInstrumentFromPortfolio(portfolio) # TKSBrokerAPI: https://tim55667757.github.io/TKSBrokerAPI/docs/tksbrokerapi/TKSBrokerAPI.html#TinkoffBrokerServer.GetInstrumentFromPortfolio
Expand Down
2 changes: 1 addition & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2981,7 +2981,7 @@ for ticker in TICKERS_LIST_FOR_TRADING:
# limit order with all volumes 0.1% higher than the current price so that the position is closed
# with a profit with a high probability during the current trade session.

uLogger.info("Ticker [{}]: there is an open position with that instrument, checking closure rules...".format(trader.ticker))
uLogger.info("Ticker [{}]: there is an open position with that instrument, checking close rules...".format(trader.ticker))

# Getting instrument from list of instruments in user portfolio:
iData = trader.GetInstrumentFromPortfolio(portfolio) # TKSBrokerAPI: https://tim55667757.github.io/TKSBrokerAPI/docs/tksbrokerapi/TKSBrokerAPI.html#TinkoffBrokerServer.GetInstrumentFromPortfolio
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/scenario1.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
# limit order with all volumes 0.1% higher than the current price so that the position is closed
# with a profit with a high probability during the current session.

uLogger.info("Ticker [{}]: there is an open position with that instrument, checking closure rules...".format(trader.ticker))
uLogger.info("Ticker [{}]: there is an open position with that instrument, checking close rules...".format(trader.ticker))

# Getting instrument from list of instruments in user portfolio:
iData = trader.GetInstrumentFromPortfolio(portfolio) # TKSBrokerAPI: https://tim55667757.github.io/TKSBrokerAPI/docs/tksbrokerapi/TKSBrokerAPI.html#TinkoffBrokerServer.GetInstrumentFromPortfolio
Expand Down

0 comments on commit ec74bd8

Please sign in to comment.