-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
1,478 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
SESSION_USER_ID=D7E7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | ||
TINKOFF_OPEN_API_SANDBOX=aaa | ||
TINKOFF_OPEN_API_EXCHANGE=bbb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# чтобы отличать лоты от акций | ||
entity OperationUnit: | ||
values: | ||
lot: | ||
%lemma | ||
лот | ||
share: | ||
%lemma | ||
акция | ||
|
||
# чтобы различать покупку и продажу | ||
entity OperationType: | ||
values: | ||
buy: | ||
%lemma | ||
купи | ||
sell: | ||
%lemma | ||
продай | ||
|
||
# чтобы различать тикеры | ||
entity FIGI: | ||
values: | ||
BBG005DXJS36: | ||
тиньков(банк)? | ||
тинькоф(банк)? | ||
тинькофф(банк)? | ||
ти си эс (груп)? | ||
BBG004S681B4: | ||
нлмк | ||
эн эл эм ка | ||
BBG004730ZJ9: | ||
(банк)? втб | ||
(банк)? вэ тэ бэ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Заявка на покупку или продажу по рыночной цене | ||
# market.order | ||
|
||
slots: | ||
operation: | ||
source: $Operation | ||
type: OperationType | ||
figi: | ||
source: $Stock | ||
type: FIGI | ||
amount: | ||
source: $Amount | ||
type: YANDEX.NUMBER | ||
unit: | ||
source: $Unit | ||
type: OperationUnit | ||
root: | ||
$Operation [$Amount $Unit $Stock $Market?] | ||
$Operation: | ||
$OperationType | ||
$Amount: | ||
$YANDEX.NUMBER | ||
$Unit: | ||
$OperationUnit | ||
$Stock: | ||
$FIGI | ||
$Market: | ||
%lemma | ||
по рынку | по рыночной цене | ||
filler: | ||
%lemma | ||
пожалуйста | алиса | оливер |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Описание интента "my.orders" | ||
# Эта грамматика позволяет распознать, | ||
# когда пользователь просит список активных заявок | ||
# на брокерском счёте | ||
|
||
root: | ||
мои (активные)? заявки | ||
список (моих)? (активных)? заявок |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Описание интента "my.stocks" | ||
# Эта грамматика позволяет распознать, | ||
# когда пользователь просит рассказать об акциях | ||
# на своём брокерском счёте | ||
|
||
root: | ||
мои акции | ||
список (моих)? акций |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.