-
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.
Co-authored-by: s.radyukov <[email protected]>
- Loading branch information
Showing
7 changed files
with
150 additions
and
2 deletions.
There are no files selected for viewing
Submodule investAPI
updated
17 files
+1 −1 | src/docs/contracts/instruments.proto | |
+76 −3 | src/docs/contracts/marketdata.proto | |
+1 −0 | src/docs/contracts/orders.proto | |
+5 −0 | src/docs/errors.md | |
+25 −0 | src/docs/errors/api_errors.json | |
+8 −3 | src/docs/faq_identification.md | |
+112 −0 | src/docs/get_tech_indicators.md | |
+10 −1 | src/docs/instruments.md | |
+1 −1 | src/docs/limits.md | |
+131 −0 | src/docs/marketdata.md | |
+1 −0 | src/docs/orders.md | |
+251 −7 | src/docs/swagger-ui/openapi.yaml | |
+1 −1 | src/docs/tech_indicators.md | |
+24 −3 | src/docs/weekend_trading.md | |
+1 −1 | src/docs/ws/asyncapi.yaml | |
+1 −1 | src/docs/ws/websock/draft-asyncapi.yaml | |
+1 −0 | src/mkdocs.yml |
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
89 changes: 89 additions & 0 deletions
89
src/generated/tinkoff/public/invest/api/contract/v1/GetTechAnalysisRequest.ts
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,89 @@ | ||
// Original file: investAPI/src/docs/contracts/marketdata.proto | ||
|
||
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../../../../google/protobuf/Timestamp'; | ||
import type { Quotation as _tinkoff_public_invest_api_contract_v1_Quotation, Quotation__Output as _tinkoff_public_invest_api_contract_v1_Quotation__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/Quotation'; | ||
|
||
export interface _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Deviation { | ||
'deviationMultiplier'?: (_tinkoff_public_invest_api_contract_v1_Quotation | null); | ||
} | ||
|
||
export interface _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Deviation__Output { | ||
'deviationMultiplier': (_tinkoff_public_invest_api_contract_v1_Quotation__Output | null); | ||
} | ||
|
||
// Original file: investAPI/src/docs/contracts/marketdata.proto | ||
|
||
export enum _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorInterval { | ||
INDICATOR_INTERVAL_UNSPECIFIED = 0, | ||
INDICATOR_INTERVAL_ONE_MINUTE = 1, | ||
INDICATOR_INTERVAL_FIVE_MINUTES = 2, | ||
INDICATOR_INTERVAL_FIFTEEN_MINUTES = 3, | ||
INDICATOR_INTERVAL_ONE_HOUR = 4, | ||
INDICATOR_INTERVAL_ONE_DAY = 5, | ||
INDICATOR_INTERVAL_2_MIN = 6, | ||
INDICATOR_INTERVAL_3_MIN = 7, | ||
INDICATOR_INTERVAL_10_MIN = 8, | ||
INDICATOR_INTERVAL_30_MIN = 9, | ||
INDICATOR_INTERVAL_2_HOUR = 10, | ||
INDICATOR_INTERVAL_4_HOUR = 11, | ||
INDICATOR_INTERVAL_WEEK = 12, | ||
INDICATOR_INTERVAL_MONTH = 13, | ||
} | ||
|
||
// Original file: investAPI/src/docs/contracts/marketdata.proto | ||
|
||
export enum _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorType { | ||
INDICATOR_TYPE_UNSPECIFIED = 0, | ||
INDICATOR_TYPE_BB = 1, | ||
INDICATOR_TYPE_EMA = 2, | ||
INDICATOR_TYPE_RSI = 3, | ||
INDICATOR_TYPE_MACD = 4, | ||
INDICATOR_TYPE_SMA = 5, | ||
} | ||
|
||
export interface _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Smoothing { | ||
'fastLength'?: (number); | ||
'slowLength'?: (number); | ||
'signalSmoothing'?: (number); | ||
} | ||
|
||
export interface _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Smoothing__Output { | ||
'fastLength': (number); | ||
'slowLength': (number); | ||
'signalSmoothing': (number); | ||
} | ||
|
||
// Original file: investAPI/src/docs/contracts/marketdata.proto | ||
|
||
export enum _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_TypeOfPrice { | ||
TYPE_OF_PRICE_UNSPECIFIED = 0, | ||
TYPE_OF_PRICE_CLOSE = 1, | ||
TYPE_OF_PRICE_OPEN = 2, | ||
TYPE_OF_PRICE_HIGH = 3, | ||
TYPE_OF_PRICE_LOW = 4, | ||
TYPE_OF_PRICE_AVG = 5, | ||
} | ||
|
||
export interface GetTechAnalysisRequest { | ||
'indicatorType'?: (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorType | keyof typeof _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorType); | ||
'instrumentUid'?: (string); | ||
'from'?: (_google_protobuf_Timestamp | null); | ||
'to'?: (_google_protobuf_Timestamp | null); | ||
'interval'?: (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorInterval | keyof typeof _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorInterval); | ||
'typeOfPrice'?: (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_TypeOfPrice | keyof typeof _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_TypeOfPrice); | ||
'length'?: (number); | ||
'deviation'?: (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Deviation | null); | ||
'smoothing'?: (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Smoothing | null); | ||
} | ||
|
||
export interface GetTechAnalysisRequest__Output { | ||
'indicatorType': (keyof typeof _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorType); | ||
'instrumentUid': (string); | ||
'from': (_google_protobuf_Timestamp__Output | null); | ||
'to': (_google_protobuf_Timestamp__Output | null); | ||
'interval': (keyof typeof _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_IndicatorInterval); | ||
'typeOfPrice': (keyof typeof _tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_TypeOfPrice); | ||
'length': (number); | ||
'deviation': (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Deviation__Output | null); | ||
'smoothing': (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisRequest_Smoothing__Output | null); | ||
} |
40 changes: 40 additions & 0 deletions
40
src/generated/tinkoff/public/invest/api/contract/v1/GetTechAnalysisResponse.ts
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,40 @@ | ||
// Original file: investAPI/src/docs/contracts/marketdata.proto | ||
|
||
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../../../../google/protobuf/Timestamp'; | ||
import type { Quotation as _tinkoff_public_invest_api_contract_v1_Quotation, Quotation__Output as _tinkoff_public_invest_api_contract_v1_Quotation__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/Quotation'; | ||
|
||
export interface _tinkoff_public_invest_api_contract_v1_GetTechAnalysisResponse_TechAnalysisItem { | ||
'timestamp'?: (_google_protobuf_Timestamp | null); | ||
'middleBand'?: (_tinkoff_public_invest_api_contract_v1_Quotation | null); | ||
'upperBand'?: (_tinkoff_public_invest_api_contract_v1_Quotation | null); | ||
'lowerBand'?: (_tinkoff_public_invest_api_contract_v1_Quotation | null); | ||
'signal'?: (_tinkoff_public_invest_api_contract_v1_Quotation | null); | ||
'macd'?: (_tinkoff_public_invest_api_contract_v1_Quotation | null); | ||
'_middleBand'?: "middleBand"; | ||
'_upperBand'?: "upperBand"; | ||
'_lowerBand'?: "lowerBand"; | ||
'_signal'?: "signal"; | ||
'_macd'?: "macd"; | ||
} | ||
|
||
export interface _tinkoff_public_invest_api_contract_v1_GetTechAnalysisResponse_TechAnalysisItem__Output { | ||
'timestamp': (_google_protobuf_Timestamp__Output | null); | ||
'middleBand'?: (_tinkoff_public_invest_api_contract_v1_Quotation__Output | null); | ||
'upperBand'?: (_tinkoff_public_invest_api_contract_v1_Quotation__Output | null); | ||
'lowerBand'?: (_tinkoff_public_invest_api_contract_v1_Quotation__Output | null); | ||
'signal'?: (_tinkoff_public_invest_api_contract_v1_Quotation__Output | null); | ||
'macd'?: (_tinkoff_public_invest_api_contract_v1_Quotation__Output | null); | ||
'_middleBand': "middleBand"; | ||
'_upperBand': "upperBand"; | ||
'_lowerBand': "lowerBand"; | ||
'_signal': "signal"; | ||
'_macd': "macd"; | ||
} | ||
|
||
export interface GetTechAnalysisResponse { | ||
'technicalIndicators'?: (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisResponse_TechAnalysisItem)[]; | ||
} | ||
|
||
export interface GetTechAnalysisResponse__Output { | ||
'technicalIndicators': (_tinkoff_public_invest_api_contract_v1_GetTechAnalysisResponse_TechAnalysisItem__Output)[]; | ||
} |
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
3 changes: 3 additions & 0 deletions
3
src/generated/tinkoff/public/invest/api/contract/v1/OrderStage.ts
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,16 +1,19 @@ | ||
// Original file: investAPI/src/docs/contracts/orders.proto | ||
|
||
import type { MoneyValue as _tinkoff_public_invest_api_contract_v1_MoneyValue, MoneyValue__Output as _tinkoff_public_invest_api_contract_v1_MoneyValue__Output } from '../../../../../../tinkoff/public/invest/api/contract/v1/MoneyValue'; | ||
import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../../../../google/protobuf/Timestamp'; | ||
import type { Long } from '@grpc/proto-loader'; | ||
|
||
export interface OrderStage { | ||
'price'?: (_tinkoff_public_invest_api_contract_v1_MoneyValue | null); | ||
'quantity'?: (number | string | Long); | ||
'tradeId'?: (string); | ||
'executionTime'?: (_google_protobuf_Timestamp | null); | ||
} | ||
|
||
export interface OrderStage__Output { | ||
'price': (_tinkoff_public_invest_api_contract_v1_MoneyValue__Output | null); | ||
'quantity': (string); | ||
'tradeId': (string); | ||
'executionTime': (_google_protobuf_Timestamp__Output | null); | ||
} |