kabuspb

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Exchange_name = map[int32]string{
		0:  "EXCHANGE_UNSPECIFIED",
		1:  "EXCHANGE_TOUSHOU",
		3:  "EXCHANGE_MEISHOU",
		5:  "EXCHANGE_FUKUSHOU",
		6:  "EXCHANGE_SATSUSHOU",
		2:  "EXCHANGE_ALL_SESSION",
		23: "EXCHANGE_DAY_SESSION",
		24: "EXCHANGE_NIGHT_SESSION",
	}
	Exchange_value = map[string]int32{
		"EXCHANGE_UNSPECIFIED":   0,
		"EXCHANGE_TOUSHOU":       1,
		"EXCHANGE_MEISHOU":       3,
		"EXCHANGE_FUKUSHOU":      5,
		"EXCHANGE_SATSUSHOU":     6,
		"EXCHANGE_ALL_SESSION":   2,
		"EXCHANGE_DAY_SESSION":   23,
		"EXCHANGE_NIGHT_SESSION": 24,
	}
)

Enum value maps for Exchange.

View Source
var (
	StockExchange_name = map[int32]string{
		0: "STOCK_EXCHANGE_UNSPECIFIED",
		1: "STOCK_EXCHANGE_TOUSHOU",
		3: "STOCK_EXCHANGE_MEISHOU",
		5: "STOCK_EXCHANGE_FUKUSHOU",
		6: "STOCK_EXCHANGE_SATSUSHOU",
	}
	StockExchange_value = map[string]int32{
		"STOCK_EXCHANGE_UNSPECIFIED": 0,
		"STOCK_EXCHANGE_TOUSHOU":     1,
		"STOCK_EXCHANGE_MEISHOU":     3,
		"STOCK_EXCHANGE_FUKUSHOU":    5,
		"STOCK_EXCHANGE_SATSUSHOU":   6,
	}
)

Enum value maps for StockExchange.

View Source
var (
	FutureExchange_name = map[int32]string{
		0:  "FUTURE_EXCHANGE_UNSPECIFIED",
		2:  "FUTURE_EXCHANGE_ALL_SESSION",
		23: "FUTURE_EXCHANGE_DAY_SESSION",
		24: "FUTURE_EXCHANGE_NIGHT_SESSION",
	}
	FutureExchange_value = map[string]int32{
		"FUTURE_EXCHANGE_UNSPECIFIED":   0,
		"FUTURE_EXCHANGE_ALL_SESSION":   2,
		"FUTURE_EXCHANGE_DAY_SESSION":   23,
		"FUTURE_EXCHANGE_NIGHT_SESSION": 24,
	}
)

Enum value maps for FutureExchange.

View Source
var (
	OptionExchange_name = map[int32]string{
		0:  "OPTION_EXCHANGE_UNSPECIFIED",
		2:  "OPTION_EXCHANGE_ALL_SESSION",
		23: "OPTION_EXCHANGE_DAY_SESSION",
		24: "OPTION_EXCHANGE_NIGHT_SESSION",
	}
	OptionExchange_value = map[string]int32{
		"OPTION_EXCHANGE_UNSPECIFIED":   0,
		"OPTION_EXCHANGE_ALL_SESSION":   2,
		"OPTION_EXCHANGE_DAY_SESSION":   23,
		"OPTION_EXCHANGE_NIGHT_SESSION": 24,
	}
)

Enum value maps for OptionExchange.

View Source
var (
	FutureCode_name = map[int32]string{
		0:  "FUTURE_CODE_UNSPECIFIED",
		1:  "FUTURE_CODE_NK225",
		2:  "FUTURE_CODE_NK225_MINI",
		3:  "FUTURE_CODE_TOPIX",
		4:  "FUTURE_CODE_TOPIX_MINI",
		5:  "FUTURE_CODE_MOTHERS",
		6:  "FUTURE_CODE_JPX400",
		7:  "FUTURE_CODE_DOW",
		8:  "FUTURE_CODE_VI",
		9:  "FUTURE_CODE_CORE30",
		10: "FUTURE_CODE_REIT",
	}
	FutureCode_value = map[string]int32{
		"FUTURE_CODE_UNSPECIFIED": 0,
		"FUTURE_CODE_NK225":       1,
		"FUTURE_CODE_NK225_MINI":  2,
		"FUTURE_CODE_TOPIX":       3,
		"FUTURE_CODE_TOPIX_MINI":  4,
		"FUTURE_CODE_MOTHERS":     5,
		"FUTURE_CODE_JPX400":      6,
		"FUTURE_CODE_DOW":         7,
		"FUTURE_CODE_VI":          8,
		"FUTURE_CODE_CORE30":      9,
		"FUTURE_CODE_REIT":        10,
	}
)

Enum value maps for FutureCode.

View Source
var (
	CallPut_name = map[int32]string{
		0: "CALL_PUT_UNSPECIFIED",
		1: "CALL_PUT_CALL",
		2: "CALL_PUT_PUT",
	}
	CallPut_value = map[string]int32{
		"CALL_PUT_UNSPECIFIED": 0,
		"CALL_PUT_CALL":        1,
		"CALL_PUT_PUT":         2,
	}
)

Enum value maps for CallPut.

View Source
var (
	Product_name = map[int32]string{
		0: "PRODUCT_UNSPECIFIED",
		1: "PRODUCT_ALL",
		2: "PRODUCT_STOCK",
		3: "PRODUCT_MARGIN",
		4: "PRODUCT_FUTURE",
		5: "PRODUCT_OPTION",
	}
	Product_value = map[string]int32{
		"PRODUCT_UNSPECIFIED": 0,
		"PRODUCT_ALL":         1,
		"PRODUCT_STOCK":       2,
		"PRODUCT_MARGIN":      3,
		"PRODUCT_FUTURE":      4,
		"PRODUCT_OPTION":      5,
	}
)

Enum value maps for Product.

View Source
var (
	State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_WAIT",
		2: "STATE_PROCESSING",
		3: "STATE_PROCESSED",
		4: "STATE_IN_MODIFY",
		5: "STATE_DONE",
	}
	State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STATE_WAIT":        1,
		"STATE_PROCESSING":  2,
		"STATE_PROCESSED":   3,
		"STATE_IN_MODIFY":   4,
		"STATE_DONE":        5,
	}
)

Enum value maps for State.

View Source
var (
	OrderState_name = map[int32]string{
		0: "ORDER_STATE_UNSPECIFIED",
		1: "ORDER_STATE_WAIT",
		2: "ORDER_STATE_PROCESSING",
		3: "ORDER_STATE_PROCESSED",
		4: "ORDER_STATE_IN_MODIFY",
		5: "ORDER_STATE_DONE",
	}
	OrderState_value = map[string]int32{
		"ORDER_STATE_UNSPECIFIED": 0,
		"ORDER_STATE_WAIT":        1,
		"ORDER_STATE_PROCESSING":  2,
		"ORDER_STATE_PROCESSED":   3,
		"ORDER_STATE_IN_MODIFY":   4,
		"ORDER_STATE_DONE":        5,
	}
)

Enum value maps for OrderState.

View Source
var (
	Side_name = map[int32]string{
		0: "SIDE_UNSPECIFIED",
		1: "SIDE_BUY",
		2: "SIDE_SELL",
	}
	Side_value = map[string]int32{
		"SIDE_UNSPECIFIED": 0,
		"SIDE_BUY":         1,
		"SIDE_SELL":        2,
	}
)

Enum value maps for Side.

View Source
var (
	TradeType_name = map[int32]string{
		0: "TRADE_TYPE_UNSPECIFIED",
		1: "TRADE_TYPE_ENTRY",
		2: "TRADE_TYPE_EXIT",
	}
	TradeType_value = map[string]int32{
		"TRADE_TYPE_UNSPECIFIED": 0,
		"TRADE_TYPE_ENTRY":       1,
		"TRADE_TYPE_EXIT":        2,
	}
)

Enum value maps for TradeType.

View Source
var (
	OrderType_name = map[int32]string{
		0: "ORDER_TYPE_UNSPECIFIED",
		1: "ORDER_TYPE_ZARABA",
		2: "ORDER_TYPE_OPEN",
		3: "ORDER_TYPE_CLOSE",
		4: "ORDER_TYPE_FUNARI",
		5: "ORDER_TYPE_MTLO",
		6: "ORDER_TYPE_IOC",
	}
	OrderType_value = map[string]int32{
		"ORDER_TYPE_UNSPECIFIED": 0,
		"ORDER_TYPE_ZARABA":      1,
		"ORDER_TYPE_OPEN":        2,
		"ORDER_TYPE_CLOSE":       3,
		"ORDER_TYPE_FUNARI":      4,
		"ORDER_TYPE_MTLO":        5,
		"ORDER_TYPE_IOC":         6,
	}
)

Enum value maps for OrderType.

View Source
var (
	OrderExchange_name = map[int32]string{
		0:  "ORDER_EXCHANGE_UNSPECIFIED",
		1:  "ORDER_EXCHANGE_TOUSHOU",
		3:  "ORDER_EXCHANGE_MEISHOU",
		5:  "ORDER_EXCHANGE_FUKUSHOU",
		6:  "ORDER_EXCHANGE_SATSUSHOU",
		9:  "ORDER_EXCHANGE_SOR",
		2:  "ORDER_EXCHANGE_ALL_SESSION",
		23: "ORDER_EXCHANGE_DAY_SESSION",
		24: "ORDER_EXCHANGE_NIGHT_SESSION",
	}
	OrderExchange_value = map[string]int32{
		"ORDER_EXCHANGE_UNSPECIFIED":   0,
		"ORDER_EXCHANGE_TOUSHOU":       1,
		"ORDER_EXCHANGE_MEISHOU":       3,
		"ORDER_EXCHANGE_FUKUSHOU":      5,
		"ORDER_EXCHANGE_SATSUSHOU":     6,
		"ORDER_EXCHANGE_SOR":           9,
		"ORDER_EXCHANGE_ALL_SESSION":   2,
		"ORDER_EXCHANGE_DAY_SESSION":   23,
		"ORDER_EXCHANGE_NIGHT_SESSION": 24,
	}
)

Enum value maps for OrderExchange.

View Source
var (
	AccountType_name = map[int32]string{
		0:  "ACCOUNT_TYPE_UNSPECIFIED",
		2:  "ACCOUNT_TYPE_GENERAL",
		4:  "ACCOUNT_TYPE_SPECIFIC",
		12: "ACCOUNT_TYPE_CORPORATION",
	}
	AccountType_value = map[string]int32{
		"ACCOUNT_TYPE_UNSPECIFIED": 0,
		"ACCOUNT_TYPE_GENERAL":     2,
		"ACCOUNT_TYPE_SPECIFIC":    4,
		"ACCOUNT_TYPE_CORPORATION": 12,
	}
)

Enum value maps for AccountType.

View Source
var (
	DeliveryType_name = map[int32]string{
		0: "DELIVERY_TYPE_UNSPECIFIED",
		1: "DELIVERY_TYPE_AUTO",
		2: "DELIVERY_TYPE_CASH",
	}
	DeliveryType_value = map[string]int32{
		"DELIVERY_TYPE_UNSPECIFIED": 0,
		"DELIVERY_TYPE_AUTO":        1,
		"DELIVERY_TYPE_CASH":        2,
	}
)

Enum value maps for DeliveryType.

View Source
var (
	MarginTradeType_name = map[int32]string{
		0: "MARGIN_TRADE_TYPE_UNSPECIFIED",
		1: "MARGIN_TRADE_TYPE_SYSTEM",
		2: "MARGIN_TRADE_TYPE_GENERAL_LONG",
		4: "MARGIN_TRADE_TYPE_GENERAL_DAY",
	}
	MarginTradeType_value = map[string]int32{
		"MARGIN_TRADE_TYPE_UNSPECIFIED":  0,
		"MARGIN_TRADE_TYPE_SYSTEM":       1,
		"MARGIN_TRADE_TYPE_GENERAL_LONG": 2,
		"MARGIN_TRADE_TYPE_GENERAL_DAY":  4,
	}
)

Enum value maps for MarginTradeType.

View Source
var (
	TimeInForce_name = map[int32]string{
		0: "TIME_IN_FORCE_UNSPECIFIED",
		1: "TIME_IN_FORCE_FAS",
		2: "TIME_IN_FORCE_FAK",
		3: "TIME_IN_FORCE_FOK",
	}
	TimeInForce_value = map[string]int32{
		"TIME_IN_FORCE_UNSPECIFIED": 0,
		"TIME_IN_FORCE_FAS":         1,
		"TIME_IN_FORCE_FAK":         2,
		"TIME_IN_FORCE_FOK":         3,
	}
)

Enum value maps for TimeInForce.

View Source
var (
	RecordType_name = map[int32]string{
		0: "RECORD_TYPE_UNSPECIFIED",
		1: "RECORD_TYPE_RECEIVE",
		2: "RECORD_TYPE_CARRIED",
		3: "RECORD_TYPE_EXPIRED",
		4: "RECORD_TYPE_ORDERED",
		5: "RECORD_TYPE_MODIFIED",
		6: "RECORD_TYPE_CANCELED",
		7: "RECORD_TYPE_REVOCATION",
		8: "RECORD_TYPE_CONTRACTED",
	}
	RecordType_value = map[string]int32{
		"RECORD_TYPE_UNSPECIFIED": 0,
		"RECORD_TYPE_RECEIVE":     1,
		"RECORD_TYPE_CARRIED":     2,
		"RECORD_TYPE_EXPIRED":     3,
		"RECORD_TYPE_ORDERED":     4,
		"RECORD_TYPE_MODIFIED":    5,
		"RECORD_TYPE_CANCELED":    6,
		"RECORD_TYPE_REVOCATION":  7,
		"RECORD_TYPE_CONTRACTED":  8,
	}
)

Enum value maps for RecordType.

View Source
var (
	OrderDetailState_name = map[int32]string{
		0: "ORDER_DETAIL_STATE_UNSPECIFIED",
		1: "ORDER_DETAIL_STATE_WAIT",
		2: "ORDER_DETAIL_STATE_PROCESSING",
		3: "ORDER_DETAIL_STATE_PROCESSED",
		4: "ORDER_DETAIL_STATE_ERROR",
		5: "ORDER_DETAIL_STATE_DELETED",
	}
	OrderDetailState_value = map[string]int32{
		"ORDER_DETAIL_STATE_UNSPECIFIED": 0,
		"ORDER_DETAIL_STATE_WAIT":        1,
		"ORDER_DETAIL_STATE_PROCESSING":  2,
		"ORDER_DETAIL_STATE_PROCESSED":   3,
		"ORDER_DETAIL_STATE_ERROR":       4,
		"ORDER_DETAIL_STATE_DELETED":     5,
	}
)

Enum value maps for OrderDetailState.

View Source
var (
	SecurityType_name = map[int32]string{
		0:   "SECURITY_TYPE_UNSPECIFIED",
		1:   "SECURITY_TYPE_STOCK",
		101: "SECURITY_TYPE_NK225",
		901: "SECURITY_TYPE_NK225_MINI",
		121: "SECURITY_TYPE_JPX400",
		107: "SECURITY_TYPE_TOPIX",
		907: "SECURITY_TYPE_TOPIX_MINI",
		154: "SECURITY_TYPE_MOTHERS",
		155: "SECURITY_TYPE_REIT",
		144: "SECURITY_TYPE_DOW",
		145: "SECURITY_TYPE_VI",
		171: "SECURITY_TYPE_CODE30",
		103: "SECURITY_TYPE_NK225_OP",
	}
	SecurityType_value = map[string]int32{
		"SECURITY_TYPE_UNSPECIFIED": 0,
		"SECURITY_TYPE_STOCK":       1,
		"SECURITY_TYPE_NK225":       101,
		"SECURITY_TYPE_NK225_MINI":  901,
		"SECURITY_TYPE_JPX400":      121,
		"SECURITY_TYPE_TOPIX":       107,
		"SECURITY_TYPE_TOPIX_MINI":  907,
		"SECURITY_TYPE_MOTHERS":     154,
		"SECURITY_TYPE_REIT":        155,
		"SECURITY_TYPE_DOW":         144,
		"SECURITY_TYPE_VI":          145,
		"SECURITY_TYPE_CODE30":      171,
		"SECURITY_TYPE_NK225_OP":    103,
	}
)

Enum value maps for SecurityType.

View Source
var (
	ExchangeDivision_name = map[int32]string{
		0: "EXCHANGE_DIVISION_UNSPECIFIED",
		1: "EXCHANGE_DIVISION_ALL",
		2: "EXCHANGE_DIVISION_TOUSHOU_ALL",
		3: "EXCHANGE_DIVISION_TOUSHOU_1",
		4: "EXCHANGE_DIVISION_TOUSHOU_2",
		5: "EXCHANGE_DIVISION_MOTHERS",
		6: "EXCHANGE_DIVISION_JASDAQ",
		7: "EXCHANGE_DIVISION_MEISHOU",
		8: "EXCHANGE_DIVISION_FUKUSHOU",
		9: "EXCHANGE_DIVISION_SATSUSHOU",
	}
	ExchangeDivision_value = map[string]int32{
		"EXCHANGE_DIVISION_UNSPECIFIED": 0,
		"EXCHANGE_DIVISION_ALL":         1,
		"EXCHANGE_DIVISION_TOUSHOU_ALL": 2,
		"EXCHANGE_DIVISION_TOUSHOU_1":   3,
		"EXCHANGE_DIVISION_TOUSHOU_2":   4,
		"EXCHANGE_DIVISION_MOTHERS":     5,
		"EXCHANGE_DIVISION_JASDAQ":      6,
		"EXCHANGE_DIVISION_MEISHOU":     7,
		"EXCHANGE_DIVISION_FUKUSHOU":    8,
		"EXCHANGE_DIVISION_SATSUSHOU":   9,
	}
)

Enum value maps for ExchangeDivision.

View Source
var (
	PriceRankingType_name = map[int32]string{
		0: "PRICE_RANKING_TYPE_UNSPECIFIED",
		1: "PRICE_RANKING_TYPE_INCREASE_RATE",
		2: "PRICE_RANKING_TYPE_DECREASE_RATE",
		3: "PRICE_RANKING_TYPE_VOLUME",
		4: "PRICE_RANKING_TYPE_VALUE",
	}
	PriceRankingType_value = map[string]int32{
		"PRICE_RANKING_TYPE_UNSPECIFIED":   0,
		"PRICE_RANKING_TYPE_INCREASE_RATE": 1,
		"PRICE_RANKING_TYPE_DECREASE_RATE": 2,
		"PRICE_RANKING_TYPE_VOLUME":        3,
		"PRICE_RANKING_TYPE_VALUE":         4,
	}
)

Enum value maps for PriceRankingType.

View Source
var (
	MarginRankingType_name = map[int32]string{
		0: "MARGIN_RANKING_TYPE_UNSPECIFIED",
		1: "MARGIN_RANKING_TYPE_SELL_BALANCE_INCREASE",
		2: "MARGIN_RANKING_TYPE_SELL_BALANCE_DECREASE",
		3: "MARGIN_RANKING_TYPE_BUY_BALANCE_INCREASE",
		4: "MARGIN_RANKING_TYPE_BUY_BALANCE_DECREASE",
		5: "MARGIN_RANKING_TYPE_HIGH_MAGNIFICATION",
		6: "MARGIN_RANKING_TYPE_LOW_MAGNIFICATION",
	}
	MarginRankingType_value = map[string]int32{
		"MARGIN_RANKING_TYPE_UNSPECIFIED":           0,
		"MARGIN_RANKING_TYPE_SELL_BALANCE_INCREASE": 1,
		"MARGIN_RANKING_TYPE_SELL_BALANCE_DECREASE": 2,
		"MARGIN_RANKING_TYPE_BUY_BALANCE_INCREASE":  3,
		"MARGIN_RANKING_TYPE_BUY_BALANCE_DECREASE":  4,
		"MARGIN_RANKING_TYPE_HIGH_MAGNIFICATION":    5,
		"MARGIN_RANKING_TYPE_LOW_MAGNIFICATION":     6,
	}
)

Enum value maps for MarginRankingType.

View Source
var (
	IndustryRankingType_name = map[int32]string{
		0: "INDUSTRY_RANKING_TYPE_UNSPECIFIED",
		1: "INDUSTRY_RANKING_TYPE_INCREASE_RATE",
		2: "INDUSTRY_RANKING_TYPE_DECREASE_RATE",
	}
	IndustryRankingType_value = map[string]int32{
		"INDUSTRY_RANKING_TYPE_UNSPECIFIED":   0,
		"INDUSTRY_RANKING_TYPE_INCREASE_RATE": 1,
		"INDUSTRY_RANKING_TYPE_DECREASE_RATE": 2,
	}
)

Enum value maps for IndustryRankingType.

View Source
var (
	RankingTrend_name = map[int32]string{
		0: "RANKING_TREND_UNSPECIFIED",
		1: "RANKING_TREND_NO_DATA",
		2: "RANKING_TREND_RISE_OVER_20",
		3: "RANKING_TREND_RISE",
		4: "RANKING_TREND_NO_CHANGE",
		5: "RANKING_TREND_DESCENT",
		6: "RANKING_TREND_DESCENT_OVER_20",
	}
	RankingTrend_value = map[string]int32{
		"RANKING_TREND_UNSPECIFIED":     0,
		"RANKING_TREND_NO_DATA":         1,
		"RANKING_TREND_RISE_OVER_20":    2,
		"RANKING_TREND_RISE":            3,
		"RANKING_TREND_NO_CHANGE":       4,
		"RANKING_TREND_DESCENT":         5,
		"RANKING_TREND_DESCENT_OVER_20": 6,
	}
)

Enum value maps for RankingTrend.

View Source
var (
	FundType_name = map[int32]string{
		0: "FUND_TYPE_UNSPECIFIED",
		1: "FUND_TYPE_PROTECTED",
		2: "FUND_TYPE_SUBSTITUTE_MARGIN",
		3: "FUND_TYPE_MARGIN_TRADING",
	}
	FundType_value = map[string]int32{
		"FUND_TYPE_UNSPECIFIED":       0,
		"FUND_TYPE_PROTECTED":         1,
		"FUND_TYPE_SUBSTITUTE_MARGIN": 2,
		"FUND_TYPE_MARGIN_TRADING":    3,
	}
)

Enum value maps for FundType.

View Source
var (
	StockOrderType_name = map[int32]string{
		0:  "STOCK_ORDER_TYPE_UNSPECIFIED",
		10: "STOCK_ORDER_TYPE_MO",
		13: "STOCK_ORDER_TYPE_MOMO",
		14: "STOCK_ORDER_TYPE_MOAO",
		15: "STOCK_ORDER_TYPE_MOMC",
		16: "STOCK_ORDER_TYPE_MOAC",
		17: "STOCK_ORDER_TYPE_IOC_MO",
		20: "STOCK_ORDER_TYPE_LO",
		21: "STOCK_ORDER_TYPE_LOMO",
		22: "STOCK_ORDER_TYPE_LOAO",
		23: "STOCK_ORDER_TYPE_LOMC",
		24: "STOCK_ORDER_TYPE_LOAC",
		25: "STOCK_ORDER_TYPE_FUNARI_M",
		26: "STOCK_ORDER_TYPE_FUNARI_A",
		27: "STOCK_ORDER_TYPE_IOC_LO",
		30: "STOCK_ORDER_TYPE_STOP",
	}
	StockOrderType_value = map[string]int32{
		"STOCK_ORDER_TYPE_UNSPECIFIED": 0,
		"STOCK_ORDER_TYPE_MO":          10,
		"STOCK_ORDER_TYPE_MOMO":        13,
		"STOCK_ORDER_TYPE_MOAO":        14,
		"STOCK_ORDER_TYPE_MOMC":        15,
		"STOCK_ORDER_TYPE_MOAC":        16,
		"STOCK_ORDER_TYPE_IOC_MO":      17,
		"STOCK_ORDER_TYPE_LO":          20,
		"STOCK_ORDER_TYPE_LOMO":        21,
		"STOCK_ORDER_TYPE_LOAO":        22,
		"STOCK_ORDER_TYPE_LOMC":        23,
		"STOCK_ORDER_TYPE_LOAC":        24,
		"STOCK_ORDER_TYPE_FUNARI_M":    25,
		"STOCK_ORDER_TYPE_FUNARI_A":    26,
		"STOCK_ORDER_TYPE_IOC_LO":      27,
		"STOCK_ORDER_TYPE_STOP":        30,
	}
)

Enum value maps for StockOrderType.

View Source
var (
	FutureOrderType_name = map[int32]string{
		0:   "FUTURE_ORDER_TYPE_UNSPECIFIED",
		120: "FUTURE_ORDER_TYPE_MO",
		18:  "FUTURE_ORDER_TYPE_MOC",
		20:  "FUTURE_ORDER_TYPE_LO",
		28:  "FUTURE_ORDER_TYPE_LOC",
		30:  "FUTURE_ORDER_TYPE_STOP",
	}
	FutureOrderType_value = map[string]int32{
		"FUTURE_ORDER_TYPE_UNSPECIFIED": 0,
		"FUTURE_ORDER_TYPE_MO":          120,
		"FUTURE_ORDER_TYPE_MOC":         18,
		"FUTURE_ORDER_TYPE_LO":          20,
		"FUTURE_ORDER_TYPE_LOC":         28,
		"FUTURE_ORDER_TYPE_STOP":        30,
	}
)

Enum value maps for FutureOrderType.

View Source
var (
	OptionOrderType_name = map[int32]string{
		0:   "OPTION_ORDER_TYPE_UNSPECIFIED",
		120: "OPTION_ORDER_TYPE_MO",
		18:  "OPTION_ORDER_TYPE_MOC",
		20:  "OPTION_ORDER_TYPE_LO",
		28:  "OPTION_ORDER_TYPE_LOC",
		30:  "OPTION_ORDER_TYPE_STOP",
	}
	OptionOrderType_value = map[string]int32{
		"OPTION_ORDER_TYPE_UNSPECIFIED": 0,
		"OPTION_ORDER_TYPE_MO":          120,
		"OPTION_ORDER_TYPE_MOC":         18,
		"OPTION_ORDER_TYPE_LO":          20,
		"OPTION_ORDER_TYPE_LOC":         28,
		"OPTION_ORDER_TYPE_STOP":        30,
	}
)

Enum value maps for OptionOrderType.

View Source
var (
	Currency_name = map[int32]string{
		0:  "CURRENCY_UNSPECIFIED",
		1:  "CURRENCY_USD_JPY",
		2:  "CURRENCY_EUR_JPY",
		3:  "CURRENCY_GBP_JPY",
		4:  "CURRENCY_AUD_JPY",
		5:  "CURRENCY_CHF_JPY",
		6:  "CURRENCY_CAD_JPY",
		7:  "CURRENCY_NZD_JPY",
		8:  "CURRENCY_ZAR_JPY",
		9:  "CURRENCY_EUR_USD",
		10: "CURRENCY_GBP_USD",
		11: "CURRENCY_AUD_USD",
	}
	Currency_value = map[string]int32{
		"CURRENCY_UNSPECIFIED": 0,
		"CURRENCY_USD_JPY":     1,
		"CURRENCY_EUR_JPY":     2,
		"CURRENCY_GBP_JPY":     3,
		"CURRENCY_AUD_JPY":     4,
		"CURRENCY_CHF_JPY":     5,
		"CURRENCY_CAD_JPY":     6,
		"CURRENCY_NZD_JPY":     7,
		"CURRENCY_ZAR_JPY":     8,
		"CURRENCY_EUR_USD":     9,
		"CURRENCY_GBP_USD":     10,
		"CURRENCY_AUD_USD":     11,
	}
)

Enum value maps for Currency.

View Source
var (
	RegulationExchange_name = map[int32]string{
		0:  "REGULATION_EXCHANGE_UNSPECIFIED",
		1:  "REGULATION_EXCHANGE_TOUSHOU",
		3:  "REGULATION_EXCHANGE_MEISHOU",
		5:  "REGULATION_EXCHANGE_FUKUSHOU",
		6:  "REGULATION_EXCHANGE_SATSUSHOU",
		9:  "REGULATION_EXCHANGE_SOR",
		10: "REGULATION_EXCHANGE_CXJ",
		21: "REGULATION_EXCHANGE_JNX",
	}
	RegulationExchange_value = map[string]int32{
		"REGULATION_EXCHANGE_UNSPECIFIED": 0,
		"REGULATION_EXCHANGE_TOUSHOU":     1,
		"REGULATION_EXCHANGE_MEISHOU":     3,
		"REGULATION_EXCHANGE_FUKUSHOU":    5,
		"REGULATION_EXCHANGE_SATSUSHOU":   6,
		"REGULATION_EXCHANGE_SOR":         9,
		"REGULATION_EXCHANGE_CXJ":         10,
		"REGULATION_EXCHANGE_JNX":         21,
	}
)

Enum value maps for RegulationExchange.

View Source
var (
	RegulationProduct_name = map[int32]string{
		0:  "REGULATION_PRODUCT_UNSPECIFIED",
		1:  "REGULATION_PRODUCT_ALL",
		2:  "REGULATION_PRODUCT_STOCK",
		3:  "REGULATION_PRODUCT_MARGIN_ENTRY_SYSTEM",
		4:  "REGULATION_PRODUCT_MARGIN_ENTRY_GENERAL",
		5:  "REGULATION_PRODUCT_ENTRY",
		6:  "REGULATION_PRODUCT_MARGIN_EXIT_SYSTEM",
		7:  "REGULATION_PRODUCT_MARGIN_EXIT_GENERAL",
		8:  "REGULATION_PRODUCT_EXIT",
		9:  "REGULATION_PRODUCT_RECEIPT",
		10: "REGULATION_PRODUCT_DELIVERY",
	}
	RegulationProduct_value = map[string]int32{
		"REGULATION_PRODUCT_UNSPECIFIED":          0,
		"REGULATION_PRODUCT_ALL":                  1,
		"REGULATION_PRODUCT_STOCK":                2,
		"REGULATION_PRODUCT_MARGIN_ENTRY_SYSTEM":  3,
		"REGULATION_PRODUCT_MARGIN_ENTRY_GENERAL": 4,
		"REGULATION_PRODUCT_ENTRY":                5,
		"REGULATION_PRODUCT_MARGIN_EXIT_SYSTEM":   6,
		"REGULATION_PRODUCT_MARGIN_EXIT_GENERAL":  7,
		"REGULATION_PRODUCT_EXIT":                 8,
		"REGULATION_PRODUCT_RECEIPT":              9,
		"REGULATION_PRODUCT_DELIVERY":             10,
	}
)

Enum value maps for RegulationProduct.

View Source
var (
	RegulationSide_name = map[int32]string{
		0: "REGULATION_SIDE_UNSPECIFIED",
		1: "REGULATION_SIDE_ALL",
		2: "REGULATION_SIDE_BUY",
		3: "REGULATION_SIDE_SELL",
	}
	RegulationSide_value = map[string]int32{
		"REGULATION_SIDE_UNSPECIFIED": 0,
		"REGULATION_SIDE_ALL":         1,
		"REGULATION_SIDE_BUY":         2,
		"REGULATION_SIDE_SELL":        3,
	}
)

Enum value maps for RegulationSide.

View Source
var (
	RegulationLevel_name = map[int32]string{
		0: "REGULATION_LEVEL_UNSPECIFIED",
		1: "REGULATION_LEVEL_WARNING",
		2: "REGULATION_LEVEL_ERROR",
	}
	RegulationLevel_value = map[string]int32{
		"REGULATION_LEVEL_UNSPECIFIED": 0,
		"REGULATION_LEVEL_WARNING":     1,
		"REGULATION_LEVEL_ERROR":       2,
	}
)

Enum value maps for RegulationLevel.

View Source
var (
	TriggerType_name = map[int32]string{
		0: "TRIGGER_TYPE_UNSPECIFIED",
		1: "TRIGGER_TYPE_ORDER_SYMBOL",
		2: "TRIGGER_TYPE_NK225",
		3: "TRIGGER_TYPE_TOPIX",
	}
	TriggerType_value = map[string]int32{
		"TRIGGER_TYPE_UNSPECIFIED":  0,
		"TRIGGER_TYPE_ORDER_SYMBOL": 1,
		"TRIGGER_TYPE_NK225":        2,
		"TRIGGER_TYPE_TOPIX":        3,
	}
)

Enum value maps for TriggerType.

View Source
var (
	UnderOver_name = map[int32]string{
		0: "UNDER_OVER_UNSPECIFIED",
		1: "UNDER_OVER_UNDER",
		2: "UNDER_OVER_OVER",
	}
	UnderOver_value = map[string]int32{
		"UNDER_OVER_UNSPECIFIED": 0,
		"UNDER_OVER_UNDER":       1,
		"UNDER_OVER_OVER":        2,
	}
)

Enum value maps for UnderOver.

View Source
var (
	StockAfterHitOrderType_name = map[int32]string{
		0: "STOCK_AFTER_HIT_ORDER_TYPE_UNSPECIFIED",
		1: "STOCK_AFTER_HIT_ORDER_TYPE_MO",
		2: "STOCK_AFTER_HIT_ORDER_TYPE_LO",
		3: "STOCK_AFTER_HIT_ORDER_TYPE_FUNARI",
	}
	StockAfterHitOrderType_value = map[string]int32{
		"STOCK_AFTER_HIT_ORDER_TYPE_UNSPECIFIED": 0,
		"STOCK_AFTER_HIT_ORDER_TYPE_MO":          1,
		"STOCK_AFTER_HIT_ORDER_TYPE_LO":          2,
		"STOCK_AFTER_HIT_ORDER_TYPE_FUNARI":      3,
	}
)

Enum value maps for StockAfterHitOrderType.

View Source
var (
	FutureAfterHitOrderType_name = map[int32]string{
		0: "FUTURE_AFTER_HIT_ORDER_TYPE_UNSPECIFIED",
		1: "FUTURE_AFTER_HIT_ORDER_TYPE_MO",
		2: "FUTURE_AFTER_HIT_ORDER_TYPE_LO",
	}
	FutureAfterHitOrderType_value = map[string]int32{
		"FUTURE_AFTER_HIT_ORDER_TYPE_UNSPECIFIED": 0,
		"FUTURE_AFTER_HIT_ORDER_TYPE_MO":          1,
		"FUTURE_AFTER_HIT_ORDER_TYPE_LO":          2,
	}
)

Enum value maps for FutureAfterHitOrderType.

View Source
var (
	OptionAfterHitOrderType_name = map[int32]string{
		0: "OPTION_AFTER_HIT_ORDER_TYPE_UNSPECIFIED",
		1: "OPTION_AFTER_HIT_ORDER_TYPE_MO",
		2: "OPTION_AFTER_HIT_ORDER_TYPE_LO",
	}
	OptionAfterHitOrderType_value = map[string]int32{
		"OPTION_AFTER_HIT_ORDER_TYPE_UNSPECIFIED": 0,
		"OPTION_AFTER_HIT_ORDER_TYPE_MO":          1,
		"OPTION_AFTER_HIT_ORDER_TYPE_LO":          2,
	}
)

Enum value maps for OptionAfterHitOrderType.

View Source
var File_kabuspb_kabus_proto protoreflect.FileDescriptor
View Source
var KabusService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kabuspb.KabusService",
	HandlerType: (*KabusServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SendStockOrder",
			Handler:    _KabusService_SendStockOrder_Handler,
		},
		{
			MethodName: "SendMarginOrder",
			Handler:    _KabusService_SendMarginOrder_Handler,
		},
		{
			MethodName: "SendFutureOrder",
			Handler:    _KabusService_SendFutureOrder_Handler,
		},
		{
			MethodName: "SendOptionOrder",
			Handler:    _KabusService_SendOptionOrder_Handler,
		},
		{
			MethodName: "CancelOrder",
			Handler:    _KabusService_CancelOrder_Handler,
		},
		{
			MethodName: "GetStockWallet",
			Handler:    _KabusService_GetStockWallet_Handler,
		},
		{
			MethodName: "GetMarginWallet",
			Handler:    _KabusService_GetMarginWallet_Handler,
		},
		{
			MethodName: "GetFutureWallet",
			Handler:    _KabusService_GetFutureWallet_Handler,
		},
		{
			MethodName: "GetOptionWallet",
			Handler:    _KabusService_GetOptionWallet_Handler,
		},
		{
			MethodName: "GetBoard",
			Handler:    _KabusService_GetBoard_Handler,
		},
		{
			MethodName: "GetSymbol",
			Handler:    _KabusService_GetSymbol_Handler,
		},
		{
			MethodName: "GetOrders",
			Handler:    _KabusService_GetOrders_Handler,
		},
		{
			MethodName: "GetPositions",
			Handler:    _KabusService_GetPositions_Handler,
		},
		{
			MethodName: "GetFutureSymbolCodeInfo",
			Handler:    _KabusService_GetFutureSymbolCodeInfo_Handler,
		},
		{
			MethodName: "GetOptionSymbolCodeInfo",
			Handler:    _KabusService_GetOptionSymbolCodeInfo_Handler,
		},
		{
			MethodName: "GetPriceRanking",
			Handler:    _KabusService_GetPriceRanking_Handler,
		},
		{
			MethodName: "GetTickRanking",
			Handler:    _KabusService_GetTickRanking_Handler,
		},
		{
			MethodName: "GetVolumeRanking",
			Handler:    _KabusService_GetVolumeRanking_Handler,
		},
		{
			MethodName: "GetValueRanking",
			Handler:    _KabusService_GetValueRanking_Handler,
		},
		{
			MethodName: "GetMarginRanking",
			Handler:    _KabusService_GetMarginRanking_Handler,
		},
		{
			MethodName: "GetIndustryRanking",
			Handler:    _KabusService_GetIndustryRanking_Handler,
		},
		{
			MethodName: "GetExchange",
			Handler:    _KabusService_GetExchange_Handler,
		},
		{
			MethodName: "GetRegulation",
			Handler:    _KabusService_GetRegulation_Handler,
		},
		{
			MethodName: "GetPrimaryExchange",
			Handler:    _KabusService_GetPrimaryExchange_Handler,
		},
		{
			MethodName: "GetSoftLimit",
			Handler:    _KabusService_GetSoftLimit_Handler,
		},
		{
			MethodName: "GetRegisteredSymbols",
			Handler:    _KabusService_GetRegisteredSymbols_Handler,
		},
		{
			MethodName: "RegisterSymbols",
			Handler:    _KabusService_RegisterSymbols_Handler,
		},
		{
			MethodName: "UnregisterSymbols",
			Handler:    _KabusService_UnregisterSymbols_Handler,
		},
		{
			MethodName: "UnregisterAllSymbols",
			Handler:    _KabusService_UnregisterAllSymbols_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetBoardsStreaming",
			Handler:       _KabusService_GetBoardsStreaming_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "kabuspb/kabus.proto",
}

KabusService_ServiceDesc is the grpc.ServiceDesc for KabusService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterKabusServiceServer

func RegisterKabusServiceServer(s grpc.ServiceRegistrar, srv KabusServiceServer)

Types

type AccountType

type AccountType int32

口座種別

const (
	AccountType_ACCOUNT_TYPE_UNSPECIFIED AccountType = 0  // 未指定
	AccountType_ACCOUNT_TYPE_GENERAL     AccountType = 2  // 一般
	AccountType_ACCOUNT_TYPE_SPECIFIC    AccountType = 4  // 特定
	AccountType_ACCOUNT_TYPE_CORPORATION AccountType = 12 // 法人
)

func (AccountType) Descriptor

func (AccountType) Enum

func (x AccountType) Enum() *AccountType

func (AccountType) EnumDescriptor deprecated

func (AccountType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AccountType.Descriptor instead.

func (AccountType) Number

func (x AccountType) Number() protoreflect.EnumNumber

func (AccountType) String

func (x AccountType) String() string

func (AccountType) Type

type Board

type Board struct {

	// 銘柄コード
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名
	SymbolName string `protobuf:"bytes,2,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 市場コード
	//   株式・先物・オプション銘柄の場合のみ
	Exchange Exchange `protobuf:"varint,3,opt,name=exchange,proto3,enum=kabuspb.Exchange" json:"exchange,omitempty"`
	// 市場名称
	//   株式・先物・オプション銘柄の場合のみ
	ExchangeName string `protobuf:"bytes,4,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 現値
	CurrentPrice float64 `protobuf:"fixed64,5,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	// 現値時刻
	CurrentPriceTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=current_price_time,json=currentPriceTime,proto3" json:"current_price_time,omitempty"`
	// 現値前値比較
	CurrentPriceChangeStatus string `` // TODO enum化
	/* 137-byte string literal not displayed */
	// 現値ステータス
	CurrentPriceStatus int32 `protobuf:"varint,8,opt,name=current_price_status,json=currentPriceStatus,proto3" json:"current_price_status,omitempty"` // TODO enum化
	// 計算用現値
	CalculationPrice float64 `protobuf:"fixed64,9,opt,name=calculation_price,json=calculationPrice,proto3" json:"calculation_price,omitempty"`
	// 前日終値
	PreviousClose float64 `protobuf:"fixed64,10,opt,name=previous_close,json=previousClose,proto3" json:"previous_close,omitempty"`
	// 前日終値日付
	PreviousCloseTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=previous_close_time,json=previousCloseTime,proto3" json:"previous_close_time,omitempty"`
	// 前日比
	ChangePreviousClose float64 `protobuf:"fixed64,12,opt,name=change_previous_close,json=changePreviousClose,proto3" json:"change_previous_close,omitempty"`
	// 騰落率
	ChangePreviousClosePer float64 `` /* 134-byte string literal not displayed */
	// 始値
	OpeningPrice float64 `protobuf:"fixed64,14,opt,name=opening_price,json=openingPrice,proto3" json:"opening_price,omitempty"`
	// 始値時刻
	OpeningPriceTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=opening_price_time,json=openingPriceTime,proto3" json:"opening_price_time,omitempty"`
	// 高値
	HighPrice float64 `protobuf:"fixed64,16,opt,name=high_price,json=highPrice,proto3" json:"high_price,omitempty"`
	// 高値時刻
	HighPriceTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=high_price_time,json=highPriceTime,proto3" json:"high_price_time,omitempty"`
	// 安値
	LowPrice float64 `protobuf:"fixed64,18,opt,name=low_price,json=lowPrice,proto3" json:"low_price,omitempty"`
	// 安値時刻
	LowPriceTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=low_price_time,json=lowPriceTime,proto3" json:"low_price_time,omitempty"`
	// 売買高
	//   株式・先物・オプション銘柄の場合のみ
	TradingVolume float64 `protobuf:"fixed64,20,opt,name=trading_volume,json=tradingVolume,proto3" json:"trading_volume,omitempty"`
	// 売買高時刻
	//   株式・先物・オプション銘柄の場合のみ
	TradingVolumeTime *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=trading_volume_time,json=tradingVolumeTime,proto3" json:"trading_volume_time,omitempty"`
	// 売買高加重平均価格(VWAP)
	//   株式・先物・オプション銘柄の場合のみ
	Vwap float64 `protobuf:"fixed64,22,opt,name=vwap,proto3" json:"vwap,omitempty"`
	// 売買代金
	//   株式・先物・オプション銘柄の場合のみ
	TradingValue float64 `protobuf:"fixed64,23,opt,name=trading_value,json=tradingValue,proto3" json:"trading_value,omitempty"`
	// 最良買気配数量
	//   株式・先物・オプション銘柄の場合のみ
	BidQuantity float64 `protobuf:"fixed64,24,opt,name=bid_quantity,json=bidQuantity,proto3" json:"bid_quantity,omitempty"`
	// 最良買気配値段
	//   株式・先物・オプション銘柄の場合のみ
	BidPrice float64 `protobuf:"fixed64,25,opt,name=bid_price,json=bidPrice,proto3" json:"bid_price,omitempty"`
	// 最良買気配時刻
	//  株式銘柄の場合のみ
	BidTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=bid_time,json=bidTime,proto3" json:"bid_time,omitempty"`
	// 最良買気配フラグ
	//   株式・先物・オプション銘柄の場合のみ
	BidSign string `protobuf:"bytes,27,opt,name=bid_sign,json=bidSign,proto3" json:"bid_sign,omitempty"` // TODO enum化
	// 売成行数量
	//   株式銘柄の場合のみ
	MarketOrderSellQuantity float64 `` /* 137-byte string literal not displayed */
	// 売気配数量1本目
	Sell1 *FirstQuote `protobuf:"bytes,29,opt,name=sell1,proto3" json:"sell1,omitempty"`
	// 売気配数量2本目
	Sell2 *Quote `protobuf:"bytes,30,opt,name=sell2,proto3" json:"sell2,omitempty"`
	// 売気配数量3本目
	Sell3 *Quote `protobuf:"bytes,31,opt,name=sell3,proto3" json:"sell3,omitempty"`
	// 売気配数量4本目
	Sell4 *Quote `protobuf:"bytes,32,opt,name=sell4,proto3" json:"sell4,omitempty"`
	// 売気配数量5本目
	Sell5 *Quote `protobuf:"bytes,33,opt,name=sell5,proto3" json:"sell5,omitempty"`
	// 売気配数量6本目
	Sell6 *Quote `protobuf:"bytes,34,opt,name=sell6,proto3" json:"sell6,omitempty"`
	// 売気配数量7本目
	Sell7 *Quote `protobuf:"bytes,35,opt,name=sell7,proto3" json:"sell7,omitempty"`
	// 売気配数量8本目
	Sell8 *Quote `protobuf:"bytes,36,opt,name=sell8,proto3" json:"sell8,omitempty"`
	// 売気配数量9本目
	Sell9 *Quote `protobuf:"bytes,37,opt,name=sell9,proto3" json:"sell9,omitempty"`
	// 売気配数量10本目
	Sell10 *Quote `protobuf:"bytes,38,opt,name=sell10,proto3" json:"sell10,omitempty"`
	// 最良売気配数量
	//   株式・先物・オプション銘柄の場合のみ
	AskQuantity float64 `protobuf:"fixed64,39,opt,name=ask_quantity,json=askQuantity,proto3" json:"ask_quantity,omitempty"`
	// 最良売気配値段
	//   株式・先物・オプション銘柄の場合のみ
	AskPrice float64 `protobuf:"fixed64,40,opt,name=ask_price,json=askPrice,proto3" json:"ask_price,omitempty"`
	// 最良売気配時刻
	//  株式銘柄の場合のみ
	AskTime *timestamppb.Timestamp `protobuf:"bytes,41,opt,name=ask_time,json=askTime,proto3" json:"ask_time,omitempty"`
	// 最良売気配フラグ
	//   株式・先物・オプション銘柄の場合のみ
	AskSign string `protobuf:"bytes,42,opt,name=ask_sign,json=askSign,proto3" json:"ask_sign,omitempty"` // TODO enum化
	// 買成行数量
	//   株式銘柄の場合のみ
	MarketOrderBuyQuantity float64 `` /* 134-byte string literal not displayed */
	// 買気配数量1本目
	Buy1 *FirstQuote `protobuf:"bytes,44,opt,name=buy1,proto3" json:"buy1,omitempty"`
	// 買気配数量2本目
	Buy2 *Quote `protobuf:"bytes,45,opt,name=buy2,proto3" json:"buy2,omitempty"`
	// 買気配数量3本目
	Buy3 *Quote `protobuf:"bytes,46,opt,name=buy3,proto3" json:"buy3,omitempty"`
	// 買気配数量4本目
	Buy4 *Quote `protobuf:"bytes,47,opt,name=buy4,proto3" json:"buy4,omitempty"`
	// 買気配数量5本目
	Buy5 *Quote `protobuf:"bytes,48,opt,name=buy5,proto3" json:"buy5,omitempty"`
	// 買気配数量6本目
	Buy6 *Quote `protobuf:"bytes,49,opt,name=buy6,proto3" json:"buy6,omitempty"`
	// 買気配数量7本目
	Buy7 *Quote `protobuf:"bytes,50,opt,name=buy7,proto3" json:"buy7,omitempty"`
	// 買気配数量8本目
	Buy8 *Quote `protobuf:"bytes,51,opt,name=buy8,proto3" json:"buy8,omitempty"`
	// 買気配数量9本目
	Buy9 *Quote `protobuf:"bytes,52,opt,name=buy9,proto3" json:"buy9,omitempty"`
	// 買気配数量10本目
	Buy10 *Quote `protobuf:"bytes,53,opt,name=buy10,proto3" json:"buy10,omitempty"`
	// OVER気配数量
	//   株式銘柄の場合のみ
	OverSellQuantity float64 `protobuf:"fixed64,54,opt,name=over_sell_quantity,json=overSellQuantity,proto3" json:"over_sell_quantity,omitempty"`
	// UNDER気配数量
	//   株式銘柄の場合のみ
	UnderBuyQuantity float64 `protobuf:"fixed64,55,opt,name=under_buy_quantity,json=underBuyQuantity,proto3" json:"under_buy_quantity,omitempty"`
	// 時価総額
	//   株式銘柄の場合のみ
	TotalMarketValue float64 `protobuf:"fixed64,56,opt,name=total_market_value,json=totalMarketValue,proto3" json:"total_market_value,omitempty"`
	// 清算値
	//   先物銘柄の場合のみ
	ClearingPrice float64 `protobuf:"fixed64,57,opt,name=clearing_price,json=clearingPrice,proto3" json:"clearing_price,omitempty"`
	// インプライド・ボラティリティ
	//   オプション銘柄かつ日通しの場合のみ
	ImpliedVolatility float64 `protobuf:"fixed64,58,opt,name=implied_volatility,json=impliedVolatility,proto3" json:"implied_volatility,omitempty"`
	// ガンマ
	//   オプション銘柄かつ日通しの場合のみ
	Gamma float64 `protobuf:"fixed64,59,opt,name=gamma,proto3" json:"gamma,omitempty"`
	// セータ
	//   オプション銘柄かつ日通しの場合のみ
	Theta float64 `protobuf:"fixed64,60,opt,name=theta,proto3" json:"theta,omitempty"`
	// ベガ
	//   オプション銘柄かつ日通しの場合のみ
	Vega float64 `protobuf:"fixed64,61,opt,name=vega,proto3" json:"vega,omitempty"`
	// デルタ
	//   オプション銘柄かつ日通しの場合のみ
	Delta float64 `protobuf:"fixed64,62,opt,name=delta,proto3" json:"delta,omitempty"`
	// 銘柄種別
	SecurityType SecurityType `protobuf:"varint,63,opt,name=security_type,json=securityType,proto3,enum=kabuspb.SecurityType" json:"security_type,omitempty"`
	// contains filtered or unexported fields
}

時価情報・板情報

func (*Board) Descriptor deprecated

func (*Board) Descriptor() ([]byte, []int)

Deprecated: Use Board.ProtoReflect.Descriptor instead.

func (*Board) GetAskPrice

func (x *Board) GetAskPrice() float64

func (*Board) GetAskQuantity

func (x *Board) GetAskQuantity() float64

func (*Board) GetAskSign

func (x *Board) GetAskSign() string

func (*Board) GetAskTime

func (x *Board) GetAskTime() *timestamppb.Timestamp

func (*Board) GetBidPrice

func (x *Board) GetBidPrice() float64

func (*Board) GetBidQuantity

func (x *Board) GetBidQuantity() float64

func (*Board) GetBidSign

func (x *Board) GetBidSign() string

func (*Board) GetBidTime

func (x *Board) GetBidTime() *timestamppb.Timestamp

func (*Board) GetBuy1

func (x *Board) GetBuy1() *FirstQuote

func (*Board) GetBuy10

func (x *Board) GetBuy10() *Quote

func (*Board) GetBuy2

func (x *Board) GetBuy2() *Quote

func (*Board) GetBuy3

func (x *Board) GetBuy3() *Quote

func (*Board) GetBuy4

func (x *Board) GetBuy4() *Quote

func (*Board) GetBuy5

func (x *Board) GetBuy5() *Quote

func (*Board) GetBuy6

func (x *Board) GetBuy6() *Quote

func (*Board) GetBuy7

func (x *Board) GetBuy7() *Quote

func (*Board) GetBuy8

func (x *Board) GetBuy8() *Quote

func (*Board) GetBuy9

func (x *Board) GetBuy9() *Quote

func (*Board) GetCalculationPrice

func (x *Board) GetCalculationPrice() float64

func (*Board) GetChangePreviousClose

func (x *Board) GetChangePreviousClose() float64

func (*Board) GetChangePreviousClosePer

func (x *Board) GetChangePreviousClosePer() float64

func (*Board) GetClearingPrice

func (x *Board) GetClearingPrice() float64

func (*Board) GetCurrentPrice

func (x *Board) GetCurrentPrice() float64

func (*Board) GetCurrentPriceChangeStatus

func (x *Board) GetCurrentPriceChangeStatus() string

func (*Board) GetCurrentPriceStatus

func (x *Board) GetCurrentPriceStatus() int32

func (*Board) GetCurrentPriceTime

func (x *Board) GetCurrentPriceTime() *timestamppb.Timestamp

func (*Board) GetDelta

func (x *Board) GetDelta() float64

func (*Board) GetExchange

func (x *Board) GetExchange() Exchange

func (*Board) GetExchangeName

func (x *Board) GetExchangeName() string

func (*Board) GetGamma

func (x *Board) GetGamma() float64

func (*Board) GetHighPrice

func (x *Board) GetHighPrice() float64

func (*Board) GetHighPriceTime

func (x *Board) GetHighPriceTime() *timestamppb.Timestamp

func (*Board) GetImpliedVolatility

func (x *Board) GetImpliedVolatility() float64

func (*Board) GetLowPrice

func (x *Board) GetLowPrice() float64

func (*Board) GetLowPriceTime

func (x *Board) GetLowPriceTime() *timestamppb.Timestamp

func (*Board) GetMarketOrderBuyQuantity

func (x *Board) GetMarketOrderBuyQuantity() float64

func (*Board) GetMarketOrderSellQuantity

func (x *Board) GetMarketOrderSellQuantity() float64

func (*Board) GetOpeningPrice

func (x *Board) GetOpeningPrice() float64

func (*Board) GetOpeningPriceTime

func (x *Board) GetOpeningPriceTime() *timestamppb.Timestamp

func (*Board) GetOverSellQuantity

func (x *Board) GetOverSellQuantity() float64

func (*Board) GetPreviousClose

func (x *Board) GetPreviousClose() float64

func (*Board) GetPreviousCloseTime

func (x *Board) GetPreviousCloseTime() *timestamppb.Timestamp

func (*Board) GetSecurityType

func (x *Board) GetSecurityType() SecurityType

func (*Board) GetSell1

func (x *Board) GetSell1() *FirstQuote

func (*Board) GetSell10

func (x *Board) GetSell10() *Quote

func (*Board) GetSell2

func (x *Board) GetSell2() *Quote

func (*Board) GetSell3

func (x *Board) GetSell3() *Quote

func (*Board) GetSell4

func (x *Board) GetSell4() *Quote

func (*Board) GetSell5

func (x *Board) GetSell5() *Quote

func (*Board) GetSell6

func (x *Board) GetSell6() *Quote

func (*Board) GetSell7

func (x *Board) GetSell7() *Quote

func (*Board) GetSell8

func (x *Board) GetSell8() *Quote

func (*Board) GetSell9

func (x *Board) GetSell9() *Quote

func (*Board) GetSymbolCode

func (x *Board) GetSymbolCode() string

func (*Board) GetSymbolName

func (x *Board) GetSymbolName() string

func (*Board) GetTheta

func (x *Board) GetTheta() float64

func (*Board) GetTotalMarketValue

func (x *Board) GetTotalMarketValue() float64

func (*Board) GetTradingValue

func (x *Board) GetTradingValue() float64

func (*Board) GetTradingVolume

func (x *Board) GetTradingVolume() float64

func (*Board) GetTradingVolumeTime

func (x *Board) GetTradingVolumeTime() *timestamppb.Timestamp

func (*Board) GetUnderBuyQuantity

func (x *Board) GetUnderBuyQuantity() float64

func (*Board) GetVega

func (x *Board) GetVega() float64

func (*Board) GetVwap

func (x *Board) GetVwap() float64

func (*Board) ProtoMessage

func (*Board) ProtoMessage()

func (*Board) ProtoReflect

func (x *Board) ProtoReflect() protoreflect.Message

func (*Board) Reset

func (x *Board) Reset()

func (*Board) String

func (x *Board) String() string

type CallPut

type CallPut int32

コール or プット

const (
	CallPut_CALL_PUT_UNSPECIFIED CallPut = 0 // 未指定
	CallPut_CALL_PUT_CALL        CallPut = 1 // CALL
	CallPut_CALL_PUT_PUT         CallPut = 2 // PUT
)

func (CallPut) Descriptor

func (CallPut) Descriptor() protoreflect.EnumDescriptor

func (CallPut) Enum

func (x CallPut) Enum() *CallPut

func (CallPut) EnumDescriptor deprecated

func (CallPut) EnumDescriptor() ([]byte, []int)

Deprecated: Use CallPut.Descriptor instead.

func (CallPut) Number

func (x CallPut) Number() protoreflect.EnumNumber

func (CallPut) String

func (x CallPut) String() string

func (CallPut) Type

func (CallPut) Type() protoreflect.EnumType

type CancelOrderRequest

type CancelOrderRequest struct {

	// パスワード
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// 注文番号
	OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// 仮想売買
	IsVirtual bool `protobuf:"varint,99,opt,name=is_virtual,json=isVirtual,proto3" json:"is_virtual,omitempty"`
	// contains filtered or unexported fields
}

注文取消

func (*CancelOrderRequest) Descriptor deprecated

func (*CancelOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelOrderRequest.ProtoReflect.Descriptor instead.

func (*CancelOrderRequest) GetIsVirtual

func (x *CancelOrderRequest) GetIsVirtual() bool

func (*CancelOrderRequest) GetOrderId

func (x *CancelOrderRequest) GetOrderId() string

func (*CancelOrderRequest) GetPassword

func (x *CancelOrderRequest) GetPassword() string

func (*CancelOrderRequest) ProtoMessage

func (*CancelOrderRequest) ProtoMessage()

func (*CancelOrderRequest) ProtoReflect

func (x *CancelOrderRequest) ProtoReflect() protoreflect.Message

func (*CancelOrderRequest) Reset

func (x *CancelOrderRequest) Reset()

func (*CancelOrderRequest) String

func (x *CancelOrderRequest) String() string

type ClosePosition

type ClosePosition struct {

	// 返済建玉ID
	ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// 返済建玉数量
	Quantity float64 `protobuf:"fixed64,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

返済建玉指定

func (*ClosePosition) Descriptor deprecated

func (*ClosePosition) Descriptor() ([]byte, []int)

Deprecated: Use ClosePosition.ProtoReflect.Descriptor instead.

func (*ClosePosition) GetExecutionId

func (x *ClosePosition) GetExecutionId() string

func (*ClosePosition) GetQuantity

func (x *ClosePosition) GetQuantity() float64

func (*ClosePosition) ProtoMessage

func (*ClosePosition) ProtoMessage()

func (*ClosePosition) ProtoReflect

func (x *ClosePosition) ProtoReflect() protoreflect.Message

func (*ClosePosition) Reset

func (x *ClosePosition) Reset()

func (*ClosePosition) String

func (x *ClosePosition) String() string

type Currency

type Currency int32

通貨

const (
	Currency_CURRENCY_UNSPECIFIED Currency = 0  // 未指定
	Currency_CURRENCY_USD_JPY     Currency = 1  // USD/JPY
	Currency_CURRENCY_EUR_JPY     Currency = 2  // EUR/JPY
	Currency_CURRENCY_GBP_JPY     Currency = 3  // GBP/JPY
	Currency_CURRENCY_AUD_JPY     Currency = 4  // AUD/JPY
	Currency_CURRENCY_CHF_JPY     Currency = 5  // CHF/JPY
	Currency_CURRENCY_CAD_JPY     Currency = 6  // CAD/JPY
	Currency_CURRENCY_NZD_JPY     Currency = 7  // NZD/JPY
	Currency_CURRENCY_ZAR_JPY     Currency = 8  // ZAR/JPY
	Currency_CURRENCY_EUR_USD     Currency = 9  // EUR/USD
	Currency_CURRENCY_GBP_USD     Currency = 10 // GBP/USD
	Currency_CURRENCY_AUD_USD     Currency = 11 // AUD/USD
)

func (Currency) Descriptor

func (Currency) Descriptor() protoreflect.EnumDescriptor

func (Currency) Enum

func (x Currency) Enum() *Currency

func (Currency) EnumDescriptor deprecated

func (Currency) EnumDescriptor() ([]byte, []int)

Deprecated: Use Currency.Descriptor instead.

func (Currency) Number

func (x Currency) Number() protoreflect.EnumNumber

func (Currency) String

func (x Currency) String() string

func (Currency) Type

type DeliveryType

type DeliveryType int32

受渡区分

const (
	DeliveryType_DELIVERY_TYPE_UNSPECIFIED DeliveryType = 0 // 未指定
	DeliveryType_DELIVERY_TYPE_AUTO        DeliveryType = 1 // 自動振替
	DeliveryType_DELIVERY_TYPE_CASH        DeliveryType = 2 // お預かり金
)

func (DeliveryType) Descriptor

func (DeliveryType) Enum

func (x DeliveryType) Enum() *DeliveryType

func (DeliveryType) EnumDescriptor deprecated

func (DeliveryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeliveryType.Descriptor instead.

func (DeliveryType) Number

func (DeliveryType) String

func (x DeliveryType) String() string

func (DeliveryType) Type

type Exchange

type Exchange int32

市場

const (
	Exchange_EXCHANGE_UNSPECIFIED Exchange = 0 // 指定なし
	// 株式
	Exchange_EXCHANGE_TOUSHOU   Exchange = 1 // 東証
	Exchange_EXCHANGE_MEISHOU   Exchange = 3 // 名証
	Exchange_EXCHANGE_FUKUSHOU  Exchange = 5 // 福証
	Exchange_EXCHANGE_SATSUSHOU Exchange = 6 // 札証
	// 先物・オプション
	Exchange_EXCHANGE_ALL_SESSION   Exchange = 2  // 日通し
	Exchange_EXCHANGE_DAY_SESSION   Exchange = 23 // 日中場
	Exchange_EXCHANGE_NIGHT_SESSION Exchange = 24 // 夕場
)

func (Exchange) Descriptor

func (Exchange) Descriptor() protoreflect.EnumDescriptor

func (Exchange) Enum

func (x Exchange) Enum() *Exchange

func (Exchange) EnumDescriptor deprecated

func (Exchange) EnumDescriptor() ([]byte, []int)

Deprecated: Use Exchange.Descriptor instead.

func (Exchange) Number

func (x Exchange) Number() protoreflect.EnumNumber

func (Exchange) String

func (x Exchange) String() string

func (Exchange) Type

type ExchangeDivision

type ExchangeDivision int32

市場・上場部

const (
	ExchangeDivision_EXCHANGE_DIVISION_UNSPECIFIED ExchangeDivision = 0 // 未指定
	ExchangeDivision_EXCHANGE_DIVISION_ALL         ExchangeDivision = 1 // 全市場
	ExchangeDivision_EXCHANGE_DIVISION_TOUSHOU_ALL ExchangeDivision = 2 // 東証全体
	ExchangeDivision_EXCHANGE_DIVISION_TOUSHOU_1   ExchangeDivision = 3 // 東証一部
	ExchangeDivision_EXCHANGE_DIVISION_TOUSHOU_2   ExchangeDivision = 4 // 東証二部
	ExchangeDivision_EXCHANGE_DIVISION_MOTHERS     ExchangeDivision = 5 // 東証マザーズ
	ExchangeDivision_EXCHANGE_DIVISION_JASDAQ      ExchangeDivision = 6 // JASDAQ
	ExchangeDivision_EXCHANGE_DIVISION_MEISHOU     ExchangeDivision = 7 // 名証
	ExchangeDivision_EXCHANGE_DIVISION_FUKUSHOU    ExchangeDivision = 8 // 福証
	ExchangeDivision_EXCHANGE_DIVISION_SATSUSHOU   ExchangeDivision = 9 // 札証
)

func (ExchangeDivision) Descriptor

func (ExchangeDivision) Enum

func (ExchangeDivision) EnumDescriptor deprecated

func (ExchangeDivision) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExchangeDivision.Descriptor instead.

func (ExchangeDivision) Number

func (ExchangeDivision) String

func (x ExchangeDivision) String() string

func (ExchangeDivision) Type

type ExchangeInfo

type ExchangeInfo struct {

	// 通貨
	Currency Currency `protobuf:"varint,1,opt,name=currency,proto3,enum=kabuspb.Currency" json:"currency,omitempty"`
	// BID
	BidPrice float64 `protobuf:"fixed64,2,opt,name=bid_price,json=bidPrice,proto3" json:"bid_price,omitempty"`
	// SP
	Spread float64 `protobuf:"fixed64,3,opt,name=spread,proto3" json:"spread,omitempty"`
	// ASK
	AskPrice float64 `protobuf:"fixed64,4,opt,name=ask_price,json=askPrice,proto3" json:"ask_price,omitempty"`
	// 前日比
	Change float64 `protobuf:"fixed64,5,opt,name=change,proto3" json:"change,omitempty"`
	// 時刻
	Time *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

為替情報

func (*ExchangeInfo) Descriptor deprecated

func (*ExchangeInfo) Descriptor() ([]byte, []int)

Deprecated: Use ExchangeInfo.ProtoReflect.Descriptor instead.

func (*ExchangeInfo) GetAskPrice

func (x *ExchangeInfo) GetAskPrice() float64

func (*ExchangeInfo) GetBidPrice

func (x *ExchangeInfo) GetBidPrice() float64

func (*ExchangeInfo) GetChange

func (x *ExchangeInfo) GetChange() float64

func (*ExchangeInfo) GetCurrency

func (x *ExchangeInfo) GetCurrency() Currency

func (*ExchangeInfo) GetSpread

func (x *ExchangeInfo) GetSpread() float64

func (*ExchangeInfo) GetTime

func (x *ExchangeInfo) GetTime() *timestamppb.Timestamp

func (*ExchangeInfo) ProtoMessage

func (*ExchangeInfo) ProtoMessage()

func (*ExchangeInfo) ProtoReflect

func (x *ExchangeInfo) ProtoReflect() protoreflect.Message

func (*ExchangeInfo) Reset

func (x *ExchangeInfo) Reset()

func (*ExchangeInfo) String

func (x *ExchangeInfo) String() string

type FirstQuote

type FirstQuote struct {

	// 時刻
	//  株式銘柄の場合のみ
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// 気配フラグ
	//   株式・先物・オプション銘柄の場合のみ
	Sign string `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"` // TODO enum化
	// 値段
	//   株式・先物・オプション銘柄の場合のみ
	Price float64 `protobuf:"fixed64,3,opt,name=price,proto3" json:"price,omitempty"`
	// 数量
	//   株式・先物・オプション銘柄の場合のみ
	Quantity float64 `protobuf:"fixed64,4,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

気配値 + 気配値フラグ

func (*FirstQuote) Descriptor deprecated

func (*FirstQuote) Descriptor() ([]byte, []int)

Deprecated: Use FirstQuote.ProtoReflect.Descriptor instead.

func (*FirstQuote) GetPrice

func (x *FirstQuote) GetPrice() float64

func (*FirstQuote) GetQuantity

func (x *FirstQuote) GetQuantity() float64

func (*FirstQuote) GetSign

func (x *FirstQuote) GetSign() string

func (*FirstQuote) GetTime

func (x *FirstQuote) GetTime() *timestamppb.Timestamp

func (*FirstQuote) ProtoMessage

func (*FirstQuote) ProtoMessage()

func (*FirstQuote) ProtoReflect

func (x *FirstQuote) ProtoReflect() protoreflect.Message

func (*FirstQuote) Reset

func (x *FirstQuote) Reset()

func (*FirstQuote) String

func (x *FirstQuote) String() string

type FundType

type FundType int32

預かり区分

const (
	FundType_FUND_TYPE_UNSPECIFIED       FundType = 0 // 未指定
	FundType_FUND_TYPE_PROTECTED         FundType = 1 // 保護
	FundType_FUND_TYPE_SUBSTITUTE_MARGIN FundType = 2 // 信用代用
	FundType_FUND_TYPE_MARGIN_TRADING    FundType = 3 // 信用取引
)

func (FundType) Descriptor

func (FundType) Descriptor() protoreflect.EnumDescriptor

func (FundType) Enum

func (x FundType) Enum() *FundType

func (FundType) EnumDescriptor deprecated

func (FundType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FundType.Descriptor instead.

func (FundType) Number

func (x FundType) Number() protoreflect.EnumNumber

func (FundType) String

func (x FundType) String() string

func (FundType) Type

type FutureAfterHitOrderType

type FutureAfterHitOrderType int32

ヒット後執行条件(先物)

const (
	FutureAfterHitOrderType_FUTURE_AFTER_HIT_ORDER_TYPE_UNSPECIFIED FutureAfterHitOrderType = 0 // 未指定
	FutureAfterHitOrderType_FUTURE_AFTER_HIT_ORDER_TYPE_MO          FutureAfterHitOrderType = 1 // 成行
	FutureAfterHitOrderType_FUTURE_AFTER_HIT_ORDER_TYPE_LO          FutureAfterHitOrderType = 2 // 指値
)

func (FutureAfterHitOrderType) Descriptor

func (FutureAfterHitOrderType) Enum

func (FutureAfterHitOrderType) EnumDescriptor deprecated

func (FutureAfterHitOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FutureAfterHitOrderType.Descriptor instead.

func (FutureAfterHitOrderType) Number

func (FutureAfterHitOrderType) String

func (x FutureAfterHitOrderType) String() string

func (FutureAfterHitOrderType) Type

type FutureCode

type FutureCode int32

先物コード

const (
	FutureCode_FUTURE_CODE_UNSPECIFIED FutureCode = 0  // 指定なし
	FutureCode_FUTURE_CODE_NK225       FutureCode = 1  // 日経平均先物
	FutureCode_FUTURE_CODE_NK225_MINI  FutureCode = 2  // 日経225mini先物
	FutureCode_FUTURE_CODE_TOPIX       FutureCode = 3  // TOPIX先物
	FutureCode_FUTURE_CODE_TOPIX_MINI  FutureCode = 4  // ミニTOPIX先物
	FutureCode_FUTURE_CODE_MOTHERS     FutureCode = 5  // 東証マザーズ先物
	FutureCode_FUTURE_CODE_JPX400      FutureCode = 6  // JPX日経400先物
	FutureCode_FUTURE_CODE_DOW         FutureCode = 7  // NYダウ先物
	FutureCode_FUTURE_CODE_VI          FutureCode = 8  // 日経平均VI先物
	FutureCode_FUTURE_CODE_CORE30      FutureCode = 9  // TOPIX Core30先物
	FutureCode_FUTURE_CODE_REIT        FutureCode = 10 // 東証REIT指数先物
)

func (FutureCode) Descriptor

func (FutureCode) Descriptor() protoreflect.EnumDescriptor

func (FutureCode) Enum

func (x FutureCode) Enum() *FutureCode

func (FutureCode) EnumDescriptor deprecated

func (FutureCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use FutureCode.Descriptor instead.

func (FutureCode) Number

func (x FutureCode) Number() protoreflect.EnumNumber

func (FutureCode) String

func (x FutureCode) String() string

func (FutureCode) Type

type FutureExchange

type FutureExchange int32

先物市場

const (
	FutureExchange_FUTURE_EXCHANGE_UNSPECIFIED   FutureExchange = 0  // 指定なし
	FutureExchange_FUTURE_EXCHANGE_ALL_SESSION   FutureExchange = 2  // 日通し
	FutureExchange_FUTURE_EXCHANGE_DAY_SESSION   FutureExchange = 23 // 日中場
	FutureExchange_FUTURE_EXCHANGE_NIGHT_SESSION FutureExchange = 24 // 夕場
)

func (FutureExchange) Descriptor

func (FutureExchange) Enum

func (x FutureExchange) Enum() *FutureExchange

func (FutureExchange) EnumDescriptor deprecated

func (FutureExchange) EnumDescriptor() ([]byte, []int)

Deprecated: Use FutureExchange.Descriptor instead.

func (FutureExchange) Number

func (FutureExchange) String

func (x FutureExchange) String() string

func (FutureExchange) Type

type FutureOrderType

type FutureOrderType int32

先物執行条件

const (
	FutureOrderType_FUTURE_ORDER_TYPE_UNSPECIFIED FutureOrderType = 0   // 未指定
	FutureOrderType_FUTURE_ORDER_TYPE_MO          FutureOrderType = 120 // 成行(マーケットオーダー) Market Order
	FutureOrderType_FUTURE_ORDER_TYPE_MOC         FutureOrderType = 18  // 引成(派生) Market Order on Closing FAKのみ有効
	FutureOrderType_FUTURE_ORDER_TYPE_LO          FutureOrderType = 20  // 指値 Limit Order
	FutureOrderType_FUTURE_ORDER_TYPE_LOC         FutureOrderType = 28  // 引指(派生) Limit Order on Closing
	FutureOrderType_FUTURE_ORDER_TYPE_STOP        FutureOrderType = 30  // 逆指値 Stop
)

func (FutureOrderType) Descriptor

func (FutureOrderType) Enum

func (x FutureOrderType) Enum() *FutureOrderType

func (FutureOrderType) EnumDescriptor deprecated

func (FutureOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FutureOrderType.Descriptor instead.

func (FutureOrderType) Number

func (FutureOrderType) String

func (x FutureOrderType) String() string

func (FutureOrderType) Type

type FutureStopOrder

type FutureStopOrder struct {

	// トリガ価格
	TriggerPrice float64 `protobuf:"fixed64,1,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
	// 以上・以下
	UnderOver UnderOver `protobuf:"varint,2,opt,name=under_over,json=underOver,proto3,enum=kabuspb.UnderOver" json:"under_over,omitempty"`
	// ヒット後執行条件
	AfterHitOrderType FutureAfterHitOrderType `` /* 154-byte string literal not displayed */
	// ヒット後注文価格
	AfterHitPrice float64 `protobuf:"fixed64,4,opt,name=after_hit_price,json=afterHitPrice,proto3" json:"after_hit_price,omitempty"`
	// contains filtered or unexported fields
}

逆指値条件(先物)

func (*FutureStopOrder) Descriptor deprecated

func (*FutureStopOrder) Descriptor() ([]byte, []int)

Deprecated: Use FutureStopOrder.ProtoReflect.Descriptor instead.

func (*FutureStopOrder) GetAfterHitOrderType

func (x *FutureStopOrder) GetAfterHitOrderType() FutureAfterHitOrderType

func (*FutureStopOrder) GetAfterHitPrice

func (x *FutureStopOrder) GetAfterHitPrice() float64

func (*FutureStopOrder) GetTriggerPrice

func (x *FutureStopOrder) GetTriggerPrice() float64

func (*FutureStopOrder) GetUnderOver

func (x *FutureStopOrder) GetUnderOver() UnderOver

func (*FutureStopOrder) ProtoMessage

func (*FutureStopOrder) ProtoMessage()

func (*FutureStopOrder) ProtoReflect

func (x *FutureStopOrder) ProtoReflect() protoreflect.Message

func (*FutureStopOrder) Reset

func (x *FutureStopOrder) Reset()

func (*FutureStopOrder) String

func (x *FutureStopOrder) String() string

type FutureWallet

type FutureWallet struct {

	// 新規建玉可能額
	FutureTradeLimit float64 `protobuf:"fixed64,1,opt,name=future_trade_limit,json=futureTradeLimit,proto3" json:"future_trade_limit,omitempty"`
	// 必要証拠金額
	//   銘柄指定の場合のみ。
	MarginRequirement float64 `protobuf:"fixed64,2,opt,name=margin_requirement,json=marginRequirement,proto3" json:"margin_requirement,omitempty"`
	// contains filtered or unexported fields
}

取引余力(先物)

func (*FutureWallet) Descriptor deprecated

func (*FutureWallet) Descriptor() ([]byte, []int)

Deprecated: Use FutureWallet.ProtoReflect.Descriptor instead.

func (*FutureWallet) GetFutureTradeLimit

func (x *FutureWallet) GetFutureTradeLimit() float64

func (*FutureWallet) GetMarginRequirement

func (x *FutureWallet) GetMarginRequirement() float64

func (*FutureWallet) ProtoMessage

func (*FutureWallet) ProtoMessage()

func (*FutureWallet) ProtoReflect

func (x *FutureWallet) ProtoReflect() protoreflect.Message

func (*FutureWallet) Reset

func (x *FutureWallet) Reset()

func (*FutureWallet) String

func (x *FutureWallet) String() string

type GetBoardRequest

type GetBoardRequest struct {
	SymbolCode string   `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	Exchange   Exchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.Exchange" json:"exchange,omitempty"`
	// contains filtered or unexported fields
}

時価情報・板情報リクエスト

func (*GetBoardRequest) Descriptor deprecated

func (*GetBoardRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBoardRequest.ProtoReflect.Descriptor instead.

func (*GetBoardRequest) GetExchange

func (x *GetBoardRequest) GetExchange() Exchange

func (*GetBoardRequest) GetSymbolCode

func (x *GetBoardRequest) GetSymbolCode() string

func (*GetBoardRequest) ProtoMessage

func (*GetBoardRequest) ProtoMessage()

func (*GetBoardRequest) ProtoReflect

func (x *GetBoardRequest) ProtoReflect() protoreflect.Message

func (*GetBoardRequest) Reset

func (x *GetBoardRequest) Reset()

func (*GetBoardRequest) String

func (x *GetBoardRequest) String() string

type GetBoardsStreamingRequest

type GetBoardsStreamingRequest struct {
	// contains filtered or unexported fields
}

時価情報・板情報ストリーミング

func (*GetBoardsStreamingRequest) Descriptor deprecated

func (*GetBoardsStreamingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBoardsStreamingRequest.ProtoReflect.Descriptor instead.

func (*GetBoardsStreamingRequest) ProtoMessage

func (*GetBoardsStreamingRequest) ProtoMessage()

func (*GetBoardsStreamingRequest) ProtoReflect

func (*GetBoardsStreamingRequest) Reset

func (x *GetBoardsStreamingRequest) Reset()

func (*GetBoardsStreamingRequest) String

func (x *GetBoardsStreamingRequest) String() string

type GetExchangeRequest

type GetExchangeRequest struct {

	// 通貨
	Currency Currency `protobuf:"varint,1,opt,name=currency,proto3,enum=kabuspb.Currency" json:"currency,omitempty"`
	// contains filtered or unexported fields
}

為替情報リクエスト

func (*GetExchangeRequest) Descriptor deprecated

func (*GetExchangeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetExchangeRequest.ProtoReflect.Descriptor instead.

func (*GetExchangeRequest) GetCurrency

func (x *GetExchangeRequest) GetCurrency() Currency

func (*GetExchangeRequest) ProtoMessage

func (*GetExchangeRequest) ProtoMessage()

func (*GetExchangeRequest) ProtoReflect

func (x *GetExchangeRequest) ProtoReflect() protoreflect.Message

func (*GetExchangeRequest) Reset

func (x *GetExchangeRequest) Reset()

func (*GetExchangeRequest) String

func (x *GetExchangeRequest) String() string

type GetFutureSymbolCodeInfoRequest

type GetFutureSymbolCodeInfoRequest struct {

	// 先物コード
	FutureCode FutureCode `protobuf:"varint,1,opt,name=future_code,json=futureCode,proto3,enum=kabuspb.FutureCode" json:"future_code,omitempty"`
	// 限月
	//   年月の値だけを使います
	//   ゼロ値なら直近の限月と同義
	DerivativeMonth *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=derivative_month,json=derivativeMonth,proto3" json:"derivative_month,omitempty"`
	// contains filtered or unexported fields
}

先物銘柄コード取得リクエスト

func (*GetFutureSymbolCodeInfoRequest) Descriptor deprecated

func (*GetFutureSymbolCodeInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFutureSymbolCodeInfoRequest.ProtoReflect.Descriptor instead.

func (*GetFutureSymbolCodeInfoRequest) GetDerivativeMonth

func (x *GetFutureSymbolCodeInfoRequest) GetDerivativeMonth() *timestamppb.Timestamp

func (*GetFutureSymbolCodeInfoRequest) GetFutureCode

func (x *GetFutureSymbolCodeInfoRequest) GetFutureCode() FutureCode

func (*GetFutureSymbolCodeInfoRequest) ProtoMessage

func (*GetFutureSymbolCodeInfoRequest) ProtoMessage()

func (*GetFutureSymbolCodeInfoRequest) ProtoReflect

func (*GetFutureSymbolCodeInfoRequest) Reset

func (x *GetFutureSymbolCodeInfoRequest) Reset()

func (*GetFutureSymbolCodeInfoRequest) String

type GetFutureWalletRequest

type GetFutureWalletRequest struct {

	// 銘柄コード
	//   銘柄コードが空なら銘柄指定せずに取得する
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange FutureExchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.FutureExchange" json:"exchange,omitempty"`
	// contains filtered or unexported fields
}

取引余力(先物)リクエスト

func (*GetFutureWalletRequest) Descriptor deprecated

func (*GetFutureWalletRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFutureWalletRequest.ProtoReflect.Descriptor instead.

func (*GetFutureWalletRequest) GetExchange

func (x *GetFutureWalletRequest) GetExchange() FutureExchange

func (*GetFutureWalletRequest) GetSymbolCode

func (x *GetFutureWalletRequest) GetSymbolCode() string

func (*GetFutureWalletRequest) ProtoMessage

func (*GetFutureWalletRequest) ProtoMessage()

func (*GetFutureWalletRequest) ProtoReflect

func (x *GetFutureWalletRequest) ProtoReflect() protoreflect.Message

func (*GetFutureWalletRequest) Reset

func (x *GetFutureWalletRequest) Reset()

func (*GetFutureWalletRequest) String

func (x *GetFutureWalletRequest) String() string

type GetIndustryRankingRequest

type GetIndustryRankingRequest struct {

	// ランキング種別
	RankingType IndustryRankingType `` /* 128-byte string literal not displayed */
	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

業種別ランキングリクエスト

func (*GetIndustryRankingRequest) Descriptor deprecated

func (*GetIndustryRankingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIndustryRankingRequest.ProtoReflect.Descriptor instead.

func (*GetIndustryRankingRequest) GetExchangeDivision

func (x *GetIndustryRankingRequest) GetExchangeDivision() ExchangeDivision

func (*GetIndustryRankingRequest) GetRankingType

func (x *GetIndustryRankingRequest) GetRankingType() IndustryRankingType

func (*GetIndustryRankingRequest) ProtoMessage

func (*GetIndustryRankingRequest) ProtoMessage()

func (*GetIndustryRankingRequest) ProtoReflect

func (*GetIndustryRankingRequest) Reset

func (x *GetIndustryRankingRequest) Reset()

func (*GetIndustryRankingRequest) String

func (x *GetIndustryRankingRequest) String() string

type GetMarginRankingRequest

type GetMarginRankingRequest struct {

	// ランキング種別
	RankingType MarginRankingType `` /* 126-byte string literal not displayed */
	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

信用ランキングリクエスト

func (*GetMarginRankingRequest) Descriptor deprecated

func (*GetMarginRankingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMarginRankingRequest.ProtoReflect.Descriptor instead.

func (*GetMarginRankingRequest) GetExchangeDivision

func (x *GetMarginRankingRequest) GetExchangeDivision() ExchangeDivision

func (*GetMarginRankingRequest) GetRankingType

func (x *GetMarginRankingRequest) GetRankingType() MarginRankingType

func (*GetMarginRankingRequest) ProtoMessage

func (*GetMarginRankingRequest) ProtoMessage()

func (*GetMarginRankingRequest) ProtoReflect

func (x *GetMarginRankingRequest) ProtoReflect() protoreflect.Message

func (*GetMarginRankingRequest) Reset

func (x *GetMarginRankingRequest) Reset()

func (*GetMarginRankingRequest) String

func (x *GetMarginRankingRequest) String() string

type GetMarginWalletRequest

type GetMarginWalletRequest struct {

	// 銘柄コード
	//   銘柄コードが空なら銘柄指定せずに取得する
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange StockExchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.StockExchange" json:"exchange,omitempty"`
	// contains filtered or unexported fields
}

取引余力(信用)リクエスト

func (*GetMarginWalletRequest) Descriptor deprecated

func (*GetMarginWalletRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMarginWalletRequest.ProtoReflect.Descriptor instead.

func (*GetMarginWalletRequest) GetExchange

func (x *GetMarginWalletRequest) GetExchange() StockExchange

func (*GetMarginWalletRequest) GetSymbolCode

func (x *GetMarginWalletRequest) GetSymbolCode() string

func (*GetMarginWalletRequest) ProtoMessage

func (*GetMarginWalletRequest) ProtoMessage()

func (*GetMarginWalletRequest) ProtoReflect

func (x *GetMarginWalletRequest) ProtoReflect() protoreflect.Message

func (*GetMarginWalletRequest) Reset

func (x *GetMarginWalletRequest) Reset()

func (*GetMarginWalletRequest) String

func (x *GetMarginWalletRequest) String() string

type GetOptionSymbolCodeInfoRequest

type GetOptionSymbolCodeInfoRequest struct {

	// 限月
	//   年月の値だけを使います
	//   ゼロ値なら直近の限月と同義
	DerivativeMonth *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=derivative_month,json=derivativeMonth,proto3" json:"derivative_month,omitempty"`
	// コール or プット
	CallOrPut CallPut `protobuf:"varint,2,opt,name=call_or_put,json=callOrPut,proto3,enum=kabuspb.CallPut" json:"call_or_put,omitempty"`
	// 権利行使価格
	//   ゼロ値ならATMと同義
	StrikePrice int32 `protobuf:"varint,3,opt,name=strike_price,json=strikePrice,proto3" json:"strike_price,omitempty"`
	// contains filtered or unexported fields
}

オプション銘柄コード取得リクエスト

func (*GetOptionSymbolCodeInfoRequest) Descriptor deprecated

func (*GetOptionSymbolCodeInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOptionSymbolCodeInfoRequest.ProtoReflect.Descriptor instead.

func (*GetOptionSymbolCodeInfoRequest) GetCallOrPut

func (x *GetOptionSymbolCodeInfoRequest) GetCallOrPut() CallPut

func (*GetOptionSymbolCodeInfoRequest) GetDerivativeMonth

func (x *GetOptionSymbolCodeInfoRequest) GetDerivativeMonth() *timestamppb.Timestamp

func (*GetOptionSymbolCodeInfoRequest) GetStrikePrice

func (x *GetOptionSymbolCodeInfoRequest) GetStrikePrice() int32

func (*GetOptionSymbolCodeInfoRequest) ProtoMessage

func (*GetOptionSymbolCodeInfoRequest) ProtoMessage()

func (*GetOptionSymbolCodeInfoRequest) ProtoReflect

func (*GetOptionSymbolCodeInfoRequest) Reset

func (x *GetOptionSymbolCodeInfoRequest) Reset()

func (*GetOptionSymbolCodeInfoRequest) String

type GetOptionWalletRequest

type GetOptionWalletRequest struct {

	// 銘柄コード
	//   銘柄コードが空なら銘柄指定せずに取得する
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange OptionExchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.OptionExchange" json:"exchange,omitempty"`
	// contains filtered or unexported fields
}

取引余力(オプション)リクエスト

func (*GetOptionWalletRequest) Descriptor deprecated

func (*GetOptionWalletRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOptionWalletRequest.ProtoReflect.Descriptor instead.

func (*GetOptionWalletRequest) GetExchange

func (x *GetOptionWalletRequest) GetExchange() OptionExchange

func (*GetOptionWalletRequest) GetSymbolCode

func (x *GetOptionWalletRequest) GetSymbolCode() string

func (*GetOptionWalletRequest) ProtoMessage

func (*GetOptionWalletRequest) ProtoMessage()

func (*GetOptionWalletRequest) ProtoReflect

func (x *GetOptionWalletRequest) ProtoReflect() protoreflect.Message

func (*GetOptionWalletRequest) Reset

func (x *GetOptionWalletRequest) Reset()

func (*GetOptionWalletRequest) String

func (x *GetOptionWalletRequest) String() string

type GetOrdersRequest

type GetOrdersRequest struct {

	// 取得する商品
	Product Product `protobuf:"varint,1,opt,name=product,proto3,enum=kabuspb.Product" json:"product,omitempty"`
	// 注文番号
	//   指定された注文番号と一致する注文のみレスポンスします
	//   指定された注文番号との比較では大文字小文字を区別しません
	//   複数の注文番号を指定することはできません
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// 更新日時
	//   指定された更新日時以降(指定日時含む)に更新された注文のみレスポンスします
	//   複数の更新日時を指定することはできません
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// 注文詳細抑止
	GetDetails bool `protobuf:"varint,4,opt,name=get_details,json=getDetails,proto3" json:"get_details,omitempty"`
	// 銘柄コード
	//   指定された銘柄コードと一致する注文のみレスポンスします
	//   複数の銘柄コードを指定することができません
	SymbolCode string `protobuf:"bytes,5,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 状態
	//   指定された状態と一致する注文のみレスポンスします
	//   複数の状態を指定することはできません
	State OrderState `protobuf:"varint,6,opt,name=state,proto3,enum=kabuspb.OrderState" json:"state,omitempty"`
	// 売買区分
	//   指定された売買区分と一致する注文のみレスポンスします
	//   複数の売買区分を指定することができません
	Side Side `protobuf:"varint,7,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 取引区分
	//   指定された取引区分と一致する注文のみレスポンスします
	//   複数の取引区分を指定することができません
	TradeType TradeType `protobuf:"varint,8,opt,name=tradeType,proto3,enum=kabuspb.TradeType" json:"tradeType,omitempty"`
	// 仮想売買
	IsVirtual bool `protobuf:"varint,99,opt,name=is_virtual,json=isVirtual,proto3" json:"is_virtual,omitempty"`
	// contains filtered or unexported fields
}

注文約定照会リクエスト

func (*GetOrdersRequest) Descriptor deprecated

func (*GetOrdersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOrdersRequest.ProtoReflect.Descriptor instead.

func (*GetOrdersRequest) GetGetDetails

func (x *GetOrdersRequest) GetGetDetails() bool

func (*GetOrdersRequest) GetId

func (x *GetOrdersRequest) GetId() string

func (*GetOrdersRequest) GetIsVirtual

func (x *GetOrdersRequest) GetIsVirtual() bool

func (*GetOrdersRequest) GetProduct

func (x *GetOrdersRequest) GetProduct() Product

func (*GetOrdersRequest) GetSide

func (x *GetOrdersRequest) GetSide() Side

func (*GetOrdersRequest) GetState

func (x *GetOrdersRequest) GetState() OrderState

func (*GetOrdersRequest) GetSymbolCode

func (x *GetOrdersRequest) GetSymbolCode() string

func (*GetOrdersRequest) GetTradeType

func (x *GetOrdersRequest) GetTradeType() TradeType

func (*GetOrdersRequest) GetUpdateTime

func (x *GetOrdersRequest) GetUpdateTime() *timestamppb.Timestamp

func (*GetOrdersRequest) ProtoMessage

func (*GetOrdersRequest) ProtoMessage()

func (*GetOrdersRequest) ProtoReflect

func (x *GetOrdersRequest) ProtoReflect() protoreflect.Message

func (*GetOrdersRequest) Reset

func (x *GetOrdersRequest) Reset()

func (*GetOrdersRequest) String

func (x *GetOrdersRequest) String() string

type GetPositionsRequest

type GetPositionsRequest struct {

	// 取得する商品
	Product Product `protobuf:"varint,1,opt,name=product,proto3,enum=kabuspb.Product" json:"product,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,2,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 売買区分フィルタ
	Side Side `protobuf:"varint,3,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 追加情報出力フラグ
	GetInfo bool `protobuf:"varint,4,opt,name=get_info,json=getInfo,proto3" json:"get_info,omitempty"`
	// 仮想売買
	IsVirtual bool `protobuf:"varint,99,opt,name=is_virtual,json=isVirtual,proto3" json:"is_virtual,omitempty"`
	// contains filtered or unexported fields
}

残高照会リクエスト

func (*GetPositionsRequest) Descriptor deprecated

func (*GetPositionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPositionsRequest.ProtoReflect.Descriptor instead.

func (*GetPositionsRequest) GetGetInfo

func (x *GetPositionsRequest) GetGetInfo() bool

func (*GetPositionsRequest) GetIsVirtual

func (x *GetPositionsRequest) GetIsVirtual() bool

func (*GetPositionsRequest) GetProduct

func (x *GetPositionsRequest) GetProduct() Product

func (*GetPositionsRequest) GetSide

func (x *GetPositionsRequest) GetSide() Side

func (*GetPositionsRequest) GetSymbolCode

func (x *GetPositionsRequest) GetSymbolCode() string

func (*GetPositionsRequest) ProtoMessage

func (*GetPositionsRequest) ProtoMessage()

func (*GetPositionsRequest) ProtoReflect

func (x *GetPositionsRequest) ProtoReflect() protoreflect.Message

func (*GetPositionsRequest) Reset

func (x *GetPositionsRequest) Reset()

func (*GetPositionsRequest) String

func (x *GetPositionsRequest) String() string

type GetPriceRankingRequest

type GetPriceRankingRequest struct {

	// 株価ランキング種別
	RankingType PriceRankingType `protobuf:"varint,1,opt,name=ranking_type,json=rankingType,proto3,enum=kabuspb.PriceRankingType" json:"ranking_type,omitempty"`
	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

株価ランキングリクエスト

func (*GetPriceRankingRequest) Descriptor deprecated

func (*GetPriceRankingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPriceRankingRequest.ProtoReflect.Descriptor instead.

func (*GetPriceRankingRequest) GetExchangeDivision

func (x *GetPriceRankingRequest) GetExchangeDivision() ExchangeDivision

func (*GetPriceRankingRequest) GetRankingType

func (x *GetPriceRankingRequest) GetRankingType() PriceRankingType

func (*GetPriceRankingRequest) ProtoMessage

func (*GetPriceRankingRequest) ProtoMessage()

func (*GetPriceRankingRequest) ProtoReflect

func (x *GetPriceRankingRequest) ProtoReflect() protoreflect.Message

func (*GetPriceRankingRequest) Reset

func (x *GetPriceRankingRequest) Reset()

func (*GetPriceRankingRequest) String

func (x *GetPriceRankingRequest) String() string

type GetPrimaryExchangeRequest

type GetPrimaryExchangeRequest struct {

	// 銘柄コード
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// contains filtered or unexported fields
}

優先市場リクエスト

func (*GetPrimaryExchangeRequest) Descriptor deprecated

func (*GetPrimaryExchangeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPrimaryExchangeRequest.ProtoReflect.Descriptor instead.

func (*GetPrimaryExchangeRequest) GetSymbolCode

func (x *GetPrimaryExchangeRequest) GetSymbolCode() string

func (*GetPrimaryExchangeRequest) ProtoMessage

func (*GetPrimaryExchangeRequest) ProtoMessage()

func (*GetPrimaryExchangeRequest) ProtoReflect

func (*GetPrimaryExchangeRequest) Reset

func (x *GetPrimaryExchangeRequest) Reset()

func (*GetPrimaryExchangeRequest) String

func (x *GetPrimaryExchangeRequest) String() string

type GetRegisteredSymbolsRequest

type GetRegisteredSymbolsRequest struct {

	// ツール名
	RequesterName string `protobuf:"bytes,1,opt,name=requester_name,json=requesterName,proto3" json:"requester_name,omitempty"`
	// contains filtered or unexported fields
}

登録銘柄一覧リクエスト

func (*GetRegisteredSymbolsRequest) Descriptor deprecated

func (*GetRegisteredSymbolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRegisteredSymbolsRequest.ProtoReflect.Descriptor instead.

func (*GetRegisteredSymbolsRequest) GetRequesterName

func (x *GetRegisteredSymbolsRequest) GetRequesterName() string

func (*GetRegisteredSymbolsRequest) ProtoMessage

func (*GetRegisteredSymbolsRequest) ProtoMessage()

func (*GetRegisteredSymbolsRequest) ProtoReflect

func (*GetRegisteredSymbolsRequest) Reset

func (x *GetRegisteredSymbolsRequest) Reset()

func (*GetRegisteredSymbolsRequest) String

func (x *GetRegisteredSymbolsRequest) String() string

type GetRegulationRequest

type GetRegulationRequest struct {

	// 銘柄コード
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場
	Exchange StockExchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.StockExchange" json:"exchange,omitempty"`
	// contains filtered or unexported fields
}

規制情報リクエスト

func (*GetRegulationRequest) Descriptor deprecated

func (*GetRegulationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRegulationRequest.ProtoReflect.Descriptor instead.

func (*GetRegulationRequest) GetExchange

func (x *GetRegulationRequest) GetExchange() StockExchange

func (*GetRegulationRequest) GetSymbolCode

func (x *GetRegulationRequest) GetSymbolCode() string

func (*GetRegulationRequest) ProtoMessage

func (*GetRegulationRequest) ProtoMessage()

func (*GetRegulationRequest) ProtoReflect

func (x *GetRegulationRequest) ProtoReflect() protoreflect.Message

func (*GetRegulationRequest) Reset

func (x *GetRegulationRequest) Reset()

func (*GetRegulationRequest) String

func (x *GetRegulationRequest) String() string

type GetSoftLimitRequest

type GetSoftLimitRequest struct {
	// contains filtered or unexported fields
}

ソフトリミットリクエスト

func (*GetSoftLimitRequest) Descriptor deprecated

func (*GetSoftLimitRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSoftLimitRequest.ProtoReflect.Descriptor instead.

func (*GetSoftLimitRequest) ProtoMessage

func (*GetSoftLimitRequest) ProtoMessage()

func (*GetSoftLimitRequest) ProtoReflect

func (x *GetSoftLimitRequest) ProtoReflect() protoreflect.Message

func (*GetSoftLimitRequest) Reset

func (x *GetSoftLimitRequest) Reset()

func (*GetSoftLimitRequest) String

func (x *GetSoftLimitRequest) String() string

type GetStockWalletRequest

type GetStockWalletRequest struct {

	// 銘柄コード
	//   銘柄コードが空なら銘柄指定せずに取得する
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange StockExchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.StockExchange" json:"exchange,omitempty"`
	// contains filtered or unexported fields
}

取引余力(現物)リクエスト

func (*GetStockWalletRequest) Descriptor deprecated

func (*GetStockWalletRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetStockWalletRequest.ProtoReflect.Descriptor instead.

func (*GetStockWalletRequest) GetExchange

func (x *GetStockWalletRequest) GetExchange() StockExchange

func (*GetStockWalletRequest) GetSymbolCode

func (x *GetStockWalletRequest) GetSymbolCode() string

func (*GetStockWalletRequest) ProtoMessage

func (*GetStockWalletRequest) ProtoMessage()

func (*GetStockWalletRequest) ProtoReflect

func (x *GetStockWalletRequest) ProtoReflect() protoreflect.Message

func (*GetStockWalletRequest) Reset

func (x *GetStockWalletRequest) Reset()

func (*GetStockWalletRequest) String

func (x *GetStockWalletRequest) String() string

type GetSymbolRequest

type GetSymbolRequest struct {

	// 銘柄コード
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場
	Exchange Exchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.Exchange" json:"exchange,omitempty"`
	// 追加情報出力フラグ
	GetInfo bool `protobuf:"varint,3,opt,name=get_info,json=getInfo,proto3" json:"get_info,omitempty"`
	// contains filtered or unexported fields
}

銘柄情報リクエスト

func (*GetSymbolRequest) Descriptor deprecated

func (*GetSymbolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSymbolRequest.ProtoReflect.Descriptor instead.

func (*GetSymbolRequest) GetExchange

func (x *GetSymbolRequest) GetExchange() Exchange

func (*GetSymbolRequest) GetGetInfo

func (x *GetSymbolRequest) GetGetInfo() bool

func (*GetSymbolRequest) GetSymbolCode

func (x *GetSymbolRequest) GetSymbolCode() string

func (*GetSymbolRequest) ProtoMessage

func (*GetSymbolRequest) ProtoMessage()

func (*GetSymbolRequest) ProtoReflect

func (x *GetSymbolRequest) ProtoReflect() protoreflect.Message

func (*GetSymbolRequest) Reset

func (x *GetSymbolRequest) Reset()

func (*GetSymbolRequest) String

func (x *GetSymbolRequest) String() string

type GetTickRankingRequest

type GetTickRankingRequest struct {

	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

TICK回数ランキングリクエスト

func (*GetTickRankingRequest) Descriptor deprecated

func (*GetTickRankingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTickRankingRequest.ProtoReflect.Descriptor instead.

func (*GetTickRankingRequest) GetExchangeDivision

func (x *GetTickRankingRequest) GetExchangeDivision() ExchangeDivision

func (*GetTickRankingRequest) ProtoMessage

func (*GetTickRankingRequest) ProtoMessage()

func (*GetTickRankingRequest) ProtoReflect

func (x *GetTickRankingRequest) ProtoReflect() protoreflect.Message

func (*GetTickRankingRequest) Reset

func (x *GetTickRankingRequest) Reset()

func (*GetTickRankingRequest) String

func (x *GetTickRankingRequest) String() string

type GetTokenRequest

type GetTokenRequest struct {
	// contains filtered or unexported fields
}

トークン取得リクエスト

func (*GetTokenRequest) Descriptor deprecated

func (*GetTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTokenRequest.ProtoReflect.Descriptor instead.

func (*GetTokenRequest) ProtoMessage

func (*GetTokenRequest) ProtoMessage()

func (*GetTokenRequest) ProtoReflect

func (x *GetTokenRequest) ProtoReflect() protoreflect.Message

func (*GetTokenRequest) Reset

func (x *GetTokenRequest) Reset()

func (*GetTokenRequest) String

func (x *GetTokenRequest) String() string

type GetValueRankingRequest

type GetValueRankingRequest struct {

	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

売買代金ランキングリクエスト

func (*GetValueRankingRequest) Descriptor deprecated

func (*GetValueRankingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetValueRankingRequest.ProtoReflect.Descriptor instead.

func (*GetValueRankingRequest) GetExchangeDivision

func (x *GetValueRankingRequest) GetExchangeDivision() ExchangeDivision

func (*GetValueRankingRequest) ProtoMessage

func (*GetValueRankingRequest) ProtoMessage()

func (*GetValueRankingRequest) ProtoReflect

func (x *GetValueRankingRequest) ProtoReflect() protoreflect.Message

func (*GetValueRankingRequest) Reset

func (x *GetValueRankingRequest) Reset()

func (*GetValueRankingRequest) String

func (x *GetValueRankingRequest) String() string

type GetVolumeRankingRequest

type GetVolumeRankingRequest struct {

	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

売買高ランキングリクエスト

func (*GetVolumeRankingRequest) Descriptor deprecated

func (*GetVolumeRankingRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVolumeRankingRequest.ProtoReflect.Descriptor instead.

func (*GetVolumeRankingRequest) GetExchangeDivision

func (x *GetVolumeRankingRequest) GetExchangeDivision() ExchangeDivision

func (*GetVolumeRankingRequest) ProtoMessage

func (*GetVolumeRankingRequest) ProtoMessage()

func (*GetVolumeRankingRequest) ProtoReflect

func (x *GetVolumeRankingRequest) ProtoReflect() protoreflect.Message

func (*GetVolumeRankingRequest) Reset

func (x *GetVolumeRankingRequest) Reset()

func (*GetVolumeRankingRequest) String

func (x *GetVolumeRankingRequest) String() string

type IndustryRanking

type IndustryRanking struct {

	// 信用ランキング種別
	Type IndustryRankingType `protobuf:"varint,1,opt,name=type,proto3,enum=kabuspb.IndustryRankingType" json:"type,omitempty"`
	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// ランキング
	Ranking []*IndustryRankingInfo `protobuf:"bytes,3,rep,name=ranking,proto3" json:"ranking,omitempty"`
	// contains filtered or unexported fields
}

業種別ランキング

func (*IndustryRanking) Descriptor deprecated

func (*IndustryRanking) Descriptor() ([]byte, []int)

Deprecated: Use IndustryRanking.ProtoReflect.Descriptor instead.

func (*IndustryRanking) GetExchangeDivision

func (x *IndustryRanking) GetExchangeDivision() ExchangeDivision

func (*IndustryRanking) GetRanking

func (x *IndustryRanking) GetRanking() []*IndustryRankingInfo

func (*IndustryRanking) GetType

func (x *IndustryRanking) GetType() IndustryRankingType

func (*IndustryRanking) ProtoMessage

func (*IndustryRanking) ProtoMessage()

func (*IndustryRanking) ProtoReflect

func (x *IndustryRanking) ProtoReflect() protoreflect.Message

func (*IndustryRanking) Reset

func (x *IndustryRanking) Reset()

func (*IndustryRanking) String

func (x *IndustryRanking) String() string

type IndustryRankingInfo

type IndustryRankingInfo struct {

	// 順位
	No int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	// トレンド
	Trend RankingTrend `protobuf:"varint,2,opt,name=trend,proto3,enum=kabuspb.RankingTrend" json:"trend,omitempty"`
	// 平均順位
	//   100位以下は「999」となります
	AverageRanking float64 `protobuf:"fixed64,3,opt,name=average_ranking,json=averageRanking,proto3" json:"average_ranking,omitempty"`
	// 業種コード
	IndustryCode string `protobuf:"bytes,4,opt,name=industry_code,json=industryCode,proto3" json:"industry_code,omitempty"`
	// 業種名
	IndustryName string `protobuf:"bytes,5,opt,name=industry_name,json=industryName,proto3" json:"industry_name,omitempty"`
	// 現在値
	CurrentPrice float64 `protobuf:"fixed64,6,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	// 前日比
	ChangeRatio float64 `protobuf:"fixed64,7,opt,name=change_ratio,json=changeRatio,proto3" json:"change_ratio,omitempty"`
	// 時刻 HH:mm
	//   日付は返しません
	CurrentPriceTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=current_price_time,json=currentPriceTime,proto3" json:"current_price_time,omitempty"`
	// 騰落率(%)
	ChangePercentage float64 `protobuf:"fixed64,9,opt,name=change_percentage,json=changePercentage,proto3" json:"change_percentage,omitempty"`
	// contains filtered or unexported fields
}

業種別ランキング詳細

func (*IndustryRankingInfo) Descriptor deprecated

func (*IndustryRankingInfo) Descriptor() ([]byte, []int)

Deprecated: Use IndustryRankingInfo.ProtoReflect.Descriptor instead.

func (*IndustryRankingInfo) GetAverageRanking

func (x *IndustryRankingInfo) GetAverageRanking() float64

func (*IndustryRankingInfo) GetChangePercentage

func (x *IndustryRankingInfo) GetChangePercentage() float64

func (*IndustryRankingInfo) GetChangeRatio

func (x *IndustryRankingInfo) GetChangeRatio() float64

func (*IndustryRankingInfo) GetCurrentPrice

func (x *IndustryRankingInfo) GetCurrentPrice() float64

func (*IndustryRankingInfo) GetCurrentPriceTime

func (x *IndustryRankingInfo) GetCurrentPriceTime() *timestamppb.Timestamp

func (*IndustryRankingInfo) GetIndustryCode

func (x *IndustryRankingInfo) GetIndustryCode() string

func (*IndustryRankingInfo) GetIndustryName

func (x *IndustryRankingInfo) GetIndustryName() string

func (*IndustryRankingInfo) GetNo

func (x *IndustryRankingInfo) GetNo() int32

func (*IndustryRankingInfo) GetTrend

func (x *IndustryRankingInfo) GetTrend() RankingTrend

func (*IndustryRankingInfo) ProtoMessage

func (*IndustryRankingInfo) ProtoMessage()

func (*IndustryRankingInfo) ProtoReflect

func (x *IndustryRankingInfo) ProtoReflect() protoreflect.Message

func (*IndustryRankingInfo) Reset

func (x *IndustryRankingInfo) Reset()

func (*IndustryRankingInfo) String

func (x *IndustryRankingInfo) String() string

type IndustryRankingType

type IndustryRankingType int32

業種別ランキング種別

const (
	IndustryRankingType_INDUSTRY_RANKING_TYPE_UNSPECIFIED   IndustryRankingType = 0 // 未指定
	IndustryRankingType_INDUSTRY_RANKING_TYPE_INCREASE_RATE IndustryRankingType = 1 // 値上がり率
	IndustryRankingType_INDUSTRY_RANKING_TYPE_DECREASE_RATE IndustryRankingType = 2 // 値下がり率
)

func (IndustryRankingType) Descriptor

func (IndustryRankingType) Enum

func (IndustryRankingType) EnumDescriptor deprecated

func (IndustryRankingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IndustryRankingType.Descriptor instead.

func (IndustryRankingType) Number

func (IndustryRankingType) String

func (x IndustryRankingType) String() string

func (IndustryRankingType) Type

type KabusServiceClient

type KabusServiceClient interface {
	SendStockOrder(ctx context.Context, in *SendStockOrderRequest, opts ...grpc.CallOption) (*OrderResponse, error)
	SendMarginOrder(ctx context.Context, in *SendMarginOrderRequest, opts ...grpc.CallOption) (*OrderResponse, error)
	SendFutureOrder(ctx context.Context, in *SendFutureOrderRequest, opts ...grpc.CallOption) (*OrderResponse, error)
	SendOptionOrder(ctx context.Context, in *SendOptionOrderRequest, opts ...grpc.CallOption) (*OrderResponse, error)
	CancelOrder(ctx context.Context, in *CancelOrderRequest, opts ...grpc.CallOption) (*OrderResponse, error)
	GetStockWallet(ctx context.Context, in *GetStockWalletRequest, opts ...grpc.CallOption) (*StockWallet, error)
	GetMarginWallet(ctx context.Context, in *GetMarginWalletRequest, opts ...grpc.CallOption) (*MarginWallet, error)
	GetFutureWallet(ctx context.Context, in *GetFutureWalletRequest, opts ...grpc.CallOption) (*FutureWallet, error)
	GetOptionWallet(ctx context.Context, in *GetOptionWalletRequest, opts ...grpc.CallOption) (*OptionWallet, error)
	GetBoard(ctx context.Context, in *GetBoardRequest, opts ...grpc.CallOption) (*Board, error)
	GetSymbol(ctx context.Context, in *GetSymbolRequest, opts ...grpc.CallOption) (*Symbol, error)
	GetOrders(ctx context.Context, in *GetOrdersRequest, opts ...grpc.CallOption) (*Orders, error)
	GetPositions(ctx context.Context, in *GetPositionsRequest, opts ...grpc.CallOption) (*Positions, error)
	GetFutureSymbolCodeInfo(ctx context.Context, in *GetFutureSymbolCodeInfoRequest, opts ...grpc.CallOption) (*SymbolCodeInfo, error)
	GetOptionSymbolCodeInfo(ctx context.Context, in *GetOptionSymbolCodeInfoRequest, opts ...grpc.CallOption) (*SymbolCodeInfo, error)
	GetPriceRanking(ctx context.Context, in *GetPriceRankingRequest, opts ...grpc.CallOption) (*PriceRanking, error)
	GetTickRanking(ctx context.Context, in *GetTickRankingRequest, opts ...grpc.CallOption) (*TickRanking, error)
	GetVolumeRanking(ctx context.Context, in *GetVolumeRankingRequest, opts ...grpc.CallOption) (*VolumeRanking, error)
	GetValueRanking(ctx context.Context, in *GetValueRankingRequest, opts ...grpc.CallOption) (*ValueRanking, error)
	GetMarginRanking(ctx context.Context, in *GetMarginRankingRequest, opts ...grpc.CallOption) (*MarginRanking, error)
	GetIndustryRanking(ctx context.Context, in *GetIndustryRankingRequest, opts ...grpc.CallOption) (*IndustryRanking, error)
	GetExchange(ctx context.Context, in *GetExchangeRequest, opts ...grpc.CallOption) (*ExchangeInfo, error)
	GetRegulation(ctx context.Context, in *GetRegulationRequest, opts ...grpc.CallOption) (*Regulation, error)
	GetPrimaryExchange(ctx context.Context, in *GetPrimaryExchangeRequest, opts ...grpc.CallOption) (*PrimaryExchange, error)
	GetSoftLimit(ctx context.Context, in *GetSoftLimitRequest, opts ...grpc.CallOption) (*SoftLimit, error)
	GetRegisteredSymbols(ctx context.Context, in *GetRegisteredSymbolsRequest, opts ...grpc.CallOption) (*RegisteredSymbols, error)
	RegisterSymbols(ctx context.Context, in *RegisterSymbolsRequest, opts ...grpc.CallOption) (*RegisteredSymbols, error)
	UnregisterSymbols(ctx context.Context, in *UnregisterSymbolsRequest, opts ...grpc.CallOption) (*RegisteredSymbols, error)
	UnregisterAllSymbols(ctx context.Context, in *UnregisterAllSymbolsRequest, opts ...grpc.CallOption) (*RegisteredSymbols, error)
	GetBoardsStreaming(ctx context.Context, in *GetBoardsStreamingRequest, opts ...grpc.CallOption) (KabusService_GetBoardsStreamingClient, error)
}

KabusServiceClient is the client API for KabusService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type KabusServiceServer

type KabusServiceServer interface {
	SendStockOrder(context.Context, *SendStockOrderRequest) (*OrderResponse, error)
	SendMarginOrder(context.Context, *SendMarginOrderRequest) (*OrderResponse, error)
	SendFutureOrder(context.Context, *SendFutureOrderRequest) (*OrderResponse, error)
	SendOptionOrder(context.Context, *SendOptionOrderRequest) (*OrderResponse, error)
	CancelOrder(context.Context, *CancelOrderRequest) (*OrderResponse, error)
	GetStockWallet(context.Context, *GetStockWalletRequest) (*StockWallet, error)
	GetMarginWallet(context.Context, *GetMarginWalletRequest) (*MarginWallet, error)
	GetFutureWallet(context.Context, *GetFutureWalletRequest) (*FutureWallet, error)
	GetOptionWallet(context.Context, *GetOptionWalletRequest) (*OptionWallet, error)
	GetBoard(context.Context, *GetBoardRequest) (*Board, error)
	GetSymbol(context.Context, *GetSymbolRequest) (*Symbol, error)
	GetOrders(context.Context, *GetOrdersRequest) (*Orders, error)
	GetPositions(context.Context, *GetPositionsRequest) (*Positions, error)
	GetFutureSymbolCodeInfo(context.Context, *GetFutureSymbolCodeInfoRequest) (*SymbolCodeInfo, error)
	GetOptionSymbolCodeInfo(context.Context, *GetOptionSymbolCodeInfoRequest) (*SymbolCodeInfo, error)
	GetPriceRanking(context.Context, *GetPriceRankingRequest) (*PriceRanking, error)
	GetTickRanking(context.Context, *GetTickRankingRequest) (*TickRanking, error)
	GetVolumeRanking(context.Context, *GetVolumeRankingRequest) (*VolumeRanking, error)
	GetValueRanking(context.Context, *GetValueRankingRequest) (*ValueRanking, error)
	GetMarginRanking(context.Context, *GetMarginRankingRequest) (*MarginRanking, error)
	GetIndustryRanking(context.Context, *GetIndustryRankingRequest) (*IndustryRanking, error)
	GetExchange(context.Context, *GetExchangeRequest) (*ExchangeInfo, error)
	GetRegulation(context.Context, *GetRegulationRequest) (*Regulation, error)
	GetPrimaryExchange(context.Context, *GetPrimaryExchangeRequest) (*PrimaryExchange, error)
	GetSoftLimit(context.Context, *GetSoftLimitRequest) (*SoftLimit, error)
	GetRegisteredSymbols(context.Context, *GetRegisteredSymbolsRequest) (*RegisteredSymbols, error)
	RegisterSymbols(context.Context, *RegisterSymbolsRequest) (*RegisteredSymbols, error)
	UnregisterSymbols(context.Context, *UnregisterSymbolsRequest) (*RegisteredSymbols, error)
	UnregisterAllSymbols(context.Context, *UnregisterAllSymbolsRequest) (*RegisteredSymbols, error)
	GetBoardsStreaming(*GetBoardsStreamingRequest, KabusService_GetBoardsStreamingServer) error
	// contains filtered or unexported methods
}

KabusServiceServer is the server API for KabusService service. All implementations must embed UnimplementedKabusServiceServer for forward compatibility

type KabusService_GetBoardsStreamingClient

type KabusService_GetBoardsStreamingClient interface {
	Recv() (*Board, error)
	grpc.ClientStream
}

type KabusService_GetBoardsStreamingServer

type KabusService_GetBoardsStreamingServer interface {
	Send(*Board) error
	grpc.ServerStream
}

type MarginRanking

type MarginRanking struct {

	// 信用ランキング種別
	Type MarginRankingType `protobuf:"varint,1,opt,name=type,proto3,enum=kabuspb.MarginRankingType" json:"type,omitempty"`
	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// ランキング
	Ranking []*MarginRankingInfo `protobuf:"bytes,3,rep,name=ranking,proto3" json:"ranking,omitempty"`
	// contains filtered or unexported fields
}

信用ランキング

func (*MarginRanking) Descriptor deprecated

func (*MarginRanking) Descriptor() ([]byte, []int)

Deprecated: Use MarginRanking.ProtoReflect.Descriptor instead.

func (*MarginRanking) GetExchangeDivision

func (x *MarginRanking) GetExchangeDivision() ExchangeDivision

func (*MarginRanking) GetRanking

func (x *MarginRanking) GetRanking() []*MarginRankingInfo

func (*MarginRanking) GetType

func (x *MarginRanking) GetType() MarginRankingType

func (*MarginRanking) ProtoMessage

func (*MarginRanking) ProtoMessage()

func (*MarginRanking) ProtoReflect

func (x *MarginRanking) ProtoReflect() protoreflect.Message

func (*MarginRanking) Reset

func (x *MarginRanking) Reset()

func (*MarginRanking) String

func (x *MarginRanking) String() string

type MarginRankingInfo

type MarginRankingInfo struct {

	// 順位
	No int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,2,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名称
	SymbolName string `protobuf:"bytes,3,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 売残(千株)
	SellRapidPaymentPercentage float64 `` /* 145-byte string literal not displayed */
	// 売残前週比
	SellLastWeekRatio float64 `protobuf:"fixed64,5,opt,name=sell_last_week_ratio,json=sellLastWeekRatio,proto3" json:"sell_last_week_ratio,omitempty"`
	// 買残(千株)
	BuyRapidPaymentPercentage float64 `` /* 142-byte string literal not displayed */
	// 買残前週比
	BuyLastWeekRatio float64 `protobuf:"fixed64,7,opt,name=buy_last_week_ratio,json=buyLastWeekRatio,proto3" json:"buy_last_week_ratio,omitempty"`
	// 倍率
	Ratio float64 `protobuf:"fixed64,8,opt,name=ratio,proto3" json:"ratio,omitempty"`
	// 市場名
	ExchangeName string `protobuf:"bytes,9,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 業種名
	IndustryName string `protobuf:"bytes,10,opt,name=industry_name,json=industryName,proto3" json:"industry_name,omitempty"`
	// contains filtered or unexported fields
}

信用ランキング詳細

func (*MarginRankingInfo) Descriptor deprecated

func (*MarginRankingInfo) Descriptor() ([]byte, []int)

Deprecated: Use MarginRankingInfo.ProtoReflect.Descriptor instead.

func (*MarginRankingInfo) GetBuyLastWeekRatio

func (x *MarginRankingInfo) GetBuyLastWeekRatio() float64

func (*MarginRankingInfo) GetBuyRapidPaymentPercentage

func (x *MarginRankingInfo) GetBuyRapidPaymentPercentage() float64

func (*MarginRankingInfo) GetExchangeName

func (x *MarginRankingInfo) GetExchangeName() string

func (*MarginRankingInfo) GetIndustryName

func (x *MarginRankingInfo) GetIndustryName() string

func (*MarginRankingInfo) GetNo

func (x *MarginRankingInfo) GetNo() int32

func (*MarginRankingInfo) GetRatio

func (x *MarginRankingInfo) GetRatio() float64

func (*MarginRankingInfo) GetSellLastWeekRatio

func (x *MarginRankingInfo) GetSellLastWeekRatio() float64

func (*MarginRankingInfo) GetSellRapidPaymentPercentage

func (x *MarginRankingInfo) GetSellRapidPaymentPercentage() float64

func (*MarginRankingInfo) GetSymbolCode

func (x *MarginRankingInfo) GetSymbolCode() string

func (*MarginRankingInfo) GetSymbolName

func (x *MarginRankingInfo) GetSymbolName() string

func (*MarginRankingInfo) ProtoMessage

func (*MarginRankingInfo) ProtoMessage()

func (*MarginRankingInfo) ProtoReflect

func (x *MarginRankingInfo) ProtoReflect() protoreflect.Message

func (*MarginRankingInfo) Reset

func (x *MarginRankingInfo) Reset()

func (*MarginRankingInfo) String

func (x *MarginRankingInfo) String() string

type MarginRankingType

type MarginRankingType int32

信用ランキング種別

const (
	MarginRankingType_MARGIN_RANKING_TYPE_UNSPECIFIED           MarginRankingType = 0 // 未指定
	MarginRankingType_MARGIN_RANKING_TYPE_SELL_BALANCE_INCREASE MarginRankingType = 1 // 信用売残増
	MarginRankingType_MARGIN_RANKING_TYPE_SELL_BALANCE_DECREASE MarginRankingType = 2 // 信用売残減
	MarginRankingType_MARGIN_RANKING_TYPE_BUY_BALANCE_INCREASE  MarginRankingType = 3 // 信用買残増
	MarginRankingType_MARGIN_RANKING_TYPE_BUY_BALANCE_DECREASE  MarginRankingType = 4 // 信用買残減
	MarginRankingType_MARGIN_RANKING_TYPE_HIGH_MAGNIFICATION    MarginRankingType = 5 // 信用高倍率
	MarginRankingType_MARGIN_RANKING_TYPE_LOW_MAGNIFICATION     MarginRankingType = 6 // 信用低倍率
)

func (MarginRankingType) Descriptor

func (MarginRankingType) Enum

func (MarginRankingType) EnumDescriptor deprecated

func (MarginRankingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MarginRankingType.Descriptor instead.

func (MarginRankingType) Number

func (MarginRankingType) String

func (x MarginRankingType) String() string

func (MarginRankingType) Type

type MarginStopOrder

type MarginStopOrder struct {

	// トリガ銘柄
	TriggerType TriggerType `protobuf:"varint,1,opt,name=trigger_type,json=triggerType,proto3,enum=kabuspb.TriggerType" json:"trigger_type,omitempty"`
	// トリガ価格
	TriggerPrice float64 `protobuf:"fixed64,2,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
	// 以上・以下
	UnderOver UnderOver `protobuf:"varint,3,opt,name=under_over,json=underOver,proto3,enum=kabuspb.UnderOver" json:"under_over,omitempty"`
	// ヒット後執行条件
	AfterHitOrderType StockAfterHitOrderType `` /* 153-byte string literal not displayed */
	// ヒット後注文価格
	AfterHitPrice float64 `protobuf:"fixed64,5,opt,name=after_hit_price,json=afterHitPrice,proto3" json:"after_hit_price,omitempty"`
	// contains filtered or unexported fields
}

逆指値条件(信用)

func (*MarginStopOrder) Descriptor deprecated

func (*MarginStopOrder) Descriptor() ([]byte, []int)

Deprecated: Use MarginStopOrder.ProtoReflect.Descriptor instead.

func (*MarginStopOrder) GetAfterHitOrderType

func (x *MarginStopOrder) GetAfterHitOrderType() StockAfterHitOrderType

func (*MarginStopOrder) GetAfterHitPrice

func (x *MarginStopOrder) GetAfterHitPrice() float64

func (*MarginStopOrder) GetTriggerPrice

func (x *MarginStopOrder) GetTriggerPrice() float64

func (*MarginStopOrder) GetTriggerType

func (x *MarginStopOrder) GetTriggerType() TriggerType

func (*MarginStopOrder) GetUnderOver

func (x *MarginStopOrder) GetUnderOver() UnderOver

func (*MarginStopOrder) ProtoMessage

func (*MarginStopOrder) ProtoMessage()

func (*MarginStopOrder) ProtoReflect

func (x *MarginStopOrder) ProtoReflect() protoreflect.Message

func (*MarginStopOrder) Reset

func (x *MarginStopOrder) Reset()

func (*MarginStopOrder) String

func (x *MarginStopOrder) String() string

type MarginTradeType

type MarginTradeType int32

信用取引区分

const (
	MarginTradeType_MARGIN_TRADE_TYPE_UNSPECIFIED  MarginTradeType = 0 // 未指定
	MarginTradeType_MARGIN_TRADE_TYPE_SYSTEM       MarginTradeType = 1 // 制度信用
	MarginTradeType_MARGIN_TRADE_TYPE_GENERAL_LONG MarginTradeType = 2 // 一般信用(長期)
	MarginTradeType_MARGIN_TRADE_TYPE_GENERAL_DAY  MarginTradeType = 4 // 一般信用(デイトレ)
)

func (MarginTradeType) Descriptor

func (MarginTradeType) Enum

func (x MarginTradeType) Enum() *MarginTradeType

func (MarginTradeType) EnumDescriptor deprecated

func (MarginTradeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MarginTradeType.Descriptor instead.

func (MarginTradeType) Number

func (MarginTradeType) String

func (x MarginTradeType) String() string

func (MarginTradeType) Type

type MarginWallet

type MarginWallet struct {

	// 信用新規可能額
	MarginAccountWallet float64 `protobuf:"fixed64,1,opt,name=margin_account_wallet,json=marginAccountWallet,proto3" json:"margin_account_wallet,omitempty"`
	// 保証金維持率
	//   銘柄指定の場合のみ
	DepositKeepRate float64 `protobuf:"fixed64,2,opt,name=deposit_keep_rate,json=depositKeepRate,proto3" json:"deposit_keep_rate,omitempty"`
	// 委託保証金率
	//   銘柄指定の場合のみ
	ConsignmentDepositRate float64 `` /* 131-byte string literal not displayed */
	// 現金委託保証金率
	//   銘柄指定の場合のみ
	CashOfConsignmentDepositRate float64 `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

取引余力(信用)

func (*MarginWallet) Descriptor deprecated

func (*MarginWallet) Descriptor() ([]byte, []int)

Deprecated: Use MarginWallet.ProtoReflect.Descriptor instead.

func (*MarginWallet) GetCashOfConsignmentDepositRate

func (x *MarginWallet) GetCashOfConsignmentDepositRate() float64

func (*MarginWallet) GetConsignmentDepositRate

func (x *MarginWallet) GetConsignmentDepositRate() float64

func (*MarginWallet) GetDepositKeepRate

func (x *MarginWallet) GetDepositKeepRate() float64

func (*MarginWallet) GetMarginAccountWallet

func (x *MarginWallet) GetMarginAccountWallet() float64

func (*MarginWallet) ProtoMessage

func (*MarginWallet) ProtoMessage()

func (*MarginWallet) ProtoReflect

func (x *MarginWallet) ProtoReflect() protoreflect.Message

func (*MarginWallet) Reset

func (x *MarginWallet) Reset()

func (*MarginWallet) String

func (x *MarginWallet) String() string

type OptionAfterHitOrderType

type OptionAfterHitOrderType int32

ヒット後執行条件(オプション)

const (
	OptionAfterHitOrderType_OPTION_AFTER_HIT_ORDER_TYPE_UNSPECIFIED OptionAfterHitOrderType = 0 // 未指定
	OptionAfterHitOrderType_OPTION_AFTER_HIT_ORDER_TYPE_MO          OptionAfterHitOrderType = 1 // 成行
	OptionAfterHitOrderType_OPTION_AFTER_HIT_ORDER_TYPE_LO          OptionAfterHitOrderType = 2 // 指値
)

func (OptionAfterHitOrderType) Descriptor

func (OptionAfterHitOrderType) Enum

func (OptionAfterHitOrderType) EnumDescriptor deprecated

func (OptionAfterHitOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptionAfterHitOrderType.Descriptor instead.

func (OptionAfterHitOrderType) Number

func (OptionAfterHitOrderType) String

func (x OptionAfterHitOrderType) String() string

func (OptionAfterHitOrderType) Type

type OptionExchange

type OptionExchange int32

オプション市場

const (
	OptionExchange_OPTION_EXCHANGE_UNSPECIFIED   OptionExchange = 0  // 指定なし
	OptionExchange_OPTION_EXCHANGE_ALL_SESSION   OptionExchange = 2  // 日通し
	OptionExchange_OPTION_EXCHANGE_DAY_SESSION   OptionExchange = 23 // 日中場
	OptionExchange_OPTION_EXCHANGE_NIGHT_SESSION OptionExchange = 24 // 夕場
)

func (OptionExchange) Descriptor

func (OptionExchange) Enum

func (x OptionExchange) Enum() *OptionExchange

func (OptionExchange) EnumDescriptor deprecated

func (OptionExchange) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptionExchange.Descriptor instead.

func (OptionExchange) Number

func (OptionExchange) String

func (x OptionExchange) String() string

func (OptionExchange) Type

type OptionOrderType

type OptionOrderType int32

オプション執行条件

const (
	OptionOrderType_OPTION_ORDER_TYPE_UNSPECIFIED OptionOrderType = 0   // 未指定
	OptionOrderType_OPTION_ORDER_TYPE_MO          OptionOrderType = 120 // 成行(マーケットオーダー) Market Order
	OptionOrderType_OPTION_ORDER_TYPE_MOC         OptionOrderType = 18  // 引成(派生) Market Order on Closing FAKのみ有効
	OptionOrderType_OPTION_ORDER_TYPE_LO          OptionOrderType = 20  // 指値 Limit Order
	OptionOrderType_OPTION_ORDER_TYPE_LOC         OptionOrderType = 28  // 引指(派生) Limit Order on Closing
	OptionOrderType_OPTION_ORDER_TYPE_STOP        OptionOrderType = 30  // 逆指値 Stop
)

func (OptionOrderType) Descriptor

func (OptionOrderType) Enum

func (x OptionOrderType) Enum() *OptionOrderType

func (OptionOrderType) EnumDescriptor deprecated

func (OptionOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OptionOrderType.Descriptor instead.

func (OptionOrderType) Number

func (OptionOrderType) String

func (x OptionOrderType) String() string

func (OptionOrderType) Type

type OptionStopOrder

type OptionStopOrder struct {

	// トリガ価格
	TriggerPrice float64 `protobuf:"fixed64,1,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
	// 以上・以下
	UnderOver UnderOver `protobuf:"varint,2,opt,name=under_over,json=underOver,proto3,enum=kabuspb.UnderOver" json:"under_over,omitempty"`
	// ヒット後執行条件
	AfterHitOrderType OptionAfterHitOrderType `` /* 154-byte string literal not displayed */
	// ヒット後注文価格
	AfterHitPrice float64 `protobuf:"fixed64,4,opt,name=after_hit_price,json=afterHitPrice,proto3" json:"after_hit_price,omitempty"`
	// contains filtered or unexported fields
}

逆指値条件(オプション)

func (*OptionStopOrder) Descriptor deprecated

func (*OptionStopOrder) Descriptor() ([]byte, []int)

Deprecated: Use OptionStopOrder.ProtoReflect.Descriptor instead.

func (*OptionStopOrder) GetAfterHitOrderType

func (x *OptionStopOrder) GetAfterHitOrderType() OptionAfterHitOrderType

func (*OptionStopOrder) GetAfterHitPrice

func (x *OptionStopOrder) GetAfterHitPrice() float64

func (*OptionStopOrder) GetTriggerPrice

func (x *OptionStopOrder) GetTriggerPrice() float64

func (*OptionStopOrder) GetUnderOver

func (x *OptionStopOrder) GetUnderOver() UnderOver

func (*OptionStopOrder) ProtoMessage

func (*OptionStopOrder) ProtoMessage()

func (*OptionStopOrder) ProtoReflect

func (x *OptionStopOrder) ProtoReflect() protoreflect.Message

func (*OptionStopOrder) Reset

func (x *OptionStopOrder) Reset()

func (*OptionStopOrder) String

func (x *OptionStopOrder) String() string

type OptionWallet

type OptionWallet struct {

	// 買新規建玉可能額
	OptionBuyTradeLimit float64 `protobuf:"fixed64,1,opt,name=option_buy_trade_limit,json=optionBuyTradeLimit,proto3" json:"option_buy_trade_limit,omitempty"`
	// 売新規建玉可能額
	OptionSellTradeLimit float64 `` /* 127-byte string literal not displayed */
	// 必要証拠金額
	//   銘柄指定の場合のみ。
	MarginRequirement float64 `protobuf:"fixed64,3,opt,name=margin_requirement,json=marginRequirement,proto3" json:"margin_requirement,omitempty"`
	// contains filtered or unexported fields
}

取引余力(オプション)

func (*OptionWallet) Descriptor deprecated

func (*OptionWallet) Descriptor() ([]byte, []int)

Deprecated: Use OptionWallet.ProtoReflect.Descriptor instead.

func (*OptionWallet) GetMarginRequirement

func (x *OptionWallet) GetMarginRequirement() float64

func (*OptionWallet) GetOptionBuyTradeLimit

func (x *OptionWallet) GetOptionBuyTradeLimit() float64

func (*OptionWallet) GetOptionSellTradeLimit

func (x *OptionWallet) GetOptionSellTradeLimit() float64

func (*OptionWallet) ProtoMessage

func (*OptionWallet) ProtoMessage()

func (*OptionWallet) ProtoReflect

func (x *OptionWallet) ProtoReflect() protoreflect.Message

func (*OptionWallet) Reset

func (x *OptionWallet) Reset()

func (*OptionWallet) String

func (x *OptionWallet) String() string

type Order

type Order struct {

	// ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// 状態
	State State `protobuf:"varint,2,opt,name=state,proto3,enum=kabuspb.State" json:"state,omitempty"`
	// 注文状態
	OrderState OrderState `protobuf:"varint,3,opt,name=order_state,json=orderState,proto3,enum=kabuspb.OrderState" json:"order_state,omitempty"`
	// 執行条件
	OrderType OrderType `protobuf:"varint,4,opt,name=order_type,json=orderType,proto3,enum=kabuspb.OrderType" json:"order_type,omitempty"`
	// 受注日時
	ReceiveTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=receive_time,json=receiveTime,proto3" json:"receive_time,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,6,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名
	SymbolName string `protobuf:"bytes,7,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 市場コード
	Exchange OrderExchange `protobuf:"varint,8,opt,name=exchange,proto3,enum=kabuspb.OrderExchange" json:"exchange,omitempty"`
	// 市場名
	ExchangeName string `protobuf:"bytes,9,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 有効期間条件
	TimeInForce TimeInForce `protobuf:"varint,10,opt,name=time_in_force,json=timeInForce,proto3,enum=kabuspb.TimeInForce" json:"time_in_force,omitempty"`
	// 値段
	Price float64 `protobuf:"fixed64,11,opt,name=price,proto3" json:"price,omitempty"`
	// 発注数量
	OrderQuantity float64 `protobuf:"fixed64,12,opt,name=order_quantity,json=orderQuantity,proto3" json:"order_quantity,omitempty"`
	// 約定数量
	CumulativeQuantity float64 `protobuf:"fixed64,13,opt,name=cumulative_quantity,json=cumulativeQuantity,proto3" json:"cumulative_quantity,omitempty"`
	// 売買区分
	Side Side `protobuf:"varint,14,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 取引区分
	TradeType TradeType `protobuf:"varint,15,opt,name=trade_type,json=tradeType,proto3,enum=kabuspb.TradeType" json:"trade_type,omitempty"`
	// 口座種別
	AccountType AccountType `protobuf:"varint,16,opt,name=account_type,json=accountType,proto3,enum=kabuspb.AccountType" json:"account_type,omitempty"`
	// 受渡区分
	DeliveryType DeliveryType `protobuf:"varint,17,opt,name=delivery_type,json=deliveryType,proto3,enum=kabuspb.DeliveryType" json:"delivery_type,omitempty"`
	// 注文有効期限
	ExpireDay *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=expire_day,json=expireDay,proto3" json:"expire_day,omitempty"`
	// 信用取引区分
	MarginTradeType MarginTradeType `` /* 139-byte string literal not displayed */
	// プレミアム料
	MarginPremium float64 `protobuf:"fixed64,21,opt,name=margin_premium,json=marginPremium,proto3" json:"margin_premium,omitempty"`
	// 注文詳細
	Details []*OrderDetail `protobuf:"bytes,20,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

注文

func (*Order) Descriptor deprecated

func (*Order) Descriptor() ([]byte, []int)

Deprecated: Use Order.ProtoReflect.Descriptor instead.

func (*Order) GetAccountType

func (x *Order) GetAccountType() AccountType

func (*Order) GetCumulativeQuantity

func (x *Order) GetCumulativeQuantity() float64

func (*Order) GetDeliveryType

func (x *Order) GetDeliveryType() DeliveryType

func (*Order) GetDetails

func (x *Order) GetDetails() []*OrderDetail

func (*Order) GetExchange

func (x *Order) GetExchange() OrderExchange

func (*Order) GetExchangeName

func (x *Order) GetExchangeName() string

func (*Order) GetExpireDay

func (x *Order) GetExpireDay() *timestamppb.Timestamp

func (*Order) GetId

func (x *Order) GetId() string

func (*Order) GetMarginPremium

func (x *Order) GetMarginPremium() float64

func (*Order) GetMarginTradeType

func (x *Order) GetMarginTradeType() MarginTradeType

func (*Order) GetOrderQuantity

func (x *Order) GetOrderQuantity() float64

func (*Order) GetOrderState

func (x *Order) GetOrderState() OrderState

func (*Order) GetOrderType

func (x *Order) GetOrderType() OrderType

func (*Order) GetPrice

func (x *Order) GetPrice() float64

func (*Order) GetReceiveTime

func (x *Order) GetReceiveTime() *timestamppb.Timestamp

func (*Order) GetSide

func (x *Order) GetSide() Side

func (*Order) GetState

func (x *Order) GetState() State

func (*Order) GetSymbolCode

func (x *Order) GetSymbolCode() string

func (*Order) GetSymbolName

func (x *Order) GetSymbolName() string

func (*Order) GetTimeInForce

func (x *Order) GetTimeInForce() TimeInForce

func (*Order) GetTradeType

func (x *Order) GetTradeType() TradeType

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) ProtoReflect

func (x *Order) ProtoReflect() protoreflect.Message

func (*Order) Reset

func (x *Order) Reset()

func (*Order) String

func (x *Order) String() string

type OrderDetail

type OrderDetail struct {

	// シーケンスNo
	//   注文明細レコードの生成順序です
	//   通番であるとは限りませんが、大小による順序は保たれています
	SequenceNumber int32 `protobuf:"varint,1,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	// 注文詳細番号
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// 明細種別
	RecordType RecordType `protobuf:"varint,3,opt,name=record_type,json=recordType,proto3,enum=kabuspb.RecordType" json:"record_type,omitempty"`
	// 取引所番号
	ExchangeId string `protobuf:"bytes,4,opt,name=exchange_id,json=exchangeId,proto3" json:"exchange_id,omitempty"`
	// 状態
	State OrderDetailState `protobuf:"varint,5,opt,name=state,proto3,enum=kabuspb.OrderDetailState" json:"state,omitempty"`
	// 処理時刻
	TransactTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=transact_time,json=transactTime,proto3" json:"transact_time,omitempty"`
	// 執行条件
	OrderType OrderType `protobuf:"varint,7,opt,name=order_type,json=orderType,proto3,enum=kabuspb.OrderType" json:"order_type,omitempty"`
	// 値段
	Price float64 `protobuf:"fixed64,8,opt,name=price,proto3" json:"price,omitempty"`
	// 数量
	Quantity float64 `protobuf:"fixed64,9,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// 約定番号
	ExecutionId string `protobuf:"bytes,10,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// 約定日時
	ExecutionDay *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=execution_day,json=executionDay,proto3" json:"execution_day,omitempty"`
	// 受渡日
	DeliveryDay *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=delivery_day,json=deliveryDay,proto3" json:"delivery_day,omitempty"`
	// 手数料
	//  注文詳細の明細種別が約定の場合に設定
	Commission float64 `protobuf:"fixed64,13,opt,name=commission,proto3" json:"commission,omitempty"`
	// 手数料消費税
	//   明細種別は約定の場合にのみ表示されます
	CommissionTax float64 `protobuf:"fixed64,14,opt,name=commission_tax,json=commissionTax,proto3" json:"commission_tax,omitempty"`
	// contains filtered or unexported fields
}

注文詳細

func (*OrderDetail) Descriptor deprecated

func (*OrderDetail) Descriptor() ([]byte, []int)

Deprecated: Use OrderDetail.ProtoReflect.Descriptor instead.

func (*OrderDetail) GetCommission

func (x *OrderDetail) GetCommission() float64

func (*OrderDetail) GetCommissionTax

func (x *OrderDetail) GetCommissionTax() float64

func (*OrderDetail) GetDeliveryDay

func (x *OrderDetail) GetDeliveryDay() *timestamppb.Timestamp

func (*OrderDetail) GetExchangeId

func (x *OrderDetail) GetExchangeId() string

func (*OrderDetail) GetExecutionDay

func (x *OrderDetail) GetExecutionDay() *timestamppb.Timestamp

func (*OrderDetail) GetExecutionId

func (x *OrderDetail) GetExecutionId() string

func (*OrderDetail) GetId

func (x *OrderDetail) GetId() string

func (*OrderDetail) GetOrderType

func (x *OrderDetail) GetOrderType() OrderType

func (*OrderDetail) GetPrice

func (x *OrderDetail) GetPrice() float64

func (*OrderDetail) GetQuantity

func (x *OrderDetail) GetQuantity() float64

func (*OrderDetail) GetRecordType

func (x *OrderDetail) GetRecordType() RecordType

func (*OrderDetail) GetSequenceNumber

func (x *OrderDetail) GetSequenceNumber() int32

func (*OrderDetail) GetState

func (x *OrderDetail) GetState() OrderDetailState

func (*OrderDetail) GetTransactTime

func (x *OrderDetail) GetTransactTime() *timestamppb.Timestamp

func (*OrderDetail) ProtoMessage

func (*OrderDetail) ProtoMessage()

func (*OrderDetail) ProtoReflect

func (x *OrderDetail) ProtoReflect() protoreflect.Message

func (*OrderDetail) Reset

func (x *OrderDetail) Reset()

func (*OrderDetail) String

func (x *OrderDetail) String() string

type OrderDetailState

type OrderDetailState int32

注文状態ステータス

const (
	OrderDetailState_ORDER_DETAIL_STATE_UNSPECIFIED OrderDetailState = 0 // 未指定
	OrderDetailState_ORDER_DETAIL_STATE_WAIT        OrderDetailState = 1 // 待機(発注待機)
	OrderDetailState_ORDER_DETAIL_STATE_PROCESSING  OrderDetailState = 2 // 処理中(発注送信中・訂正送信中・取消送信中)
	OrderDetailState_ORDER_DETAIL_STATE_PROCESSED   OrderDetailState = 3 // 処理済(発注済・訂正済・取消済・全約定・期限切れ)
	OrderDetailState_ORDER_DETAIL_STATE_ERROR       OrderDetailState = 4 // エラー
	OrderDetailState_ORDER_DETAIL_STATE_DELETED     OrderDetailState = 5 // 削除済み
)

func (OrderDetailState) Descriptor

func (OrderDetailState) Enum

func (OrderDetailState) EnumDescriptor deprecated

func (OrderDetailState) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderDetailState.Descriptor instead.

func (OrderDetailState) Number

func (OrderDetailState) String

func (x OrderDetailState) String() string

func (OrderDetailState) Type

type OrderExchange

type OrderExchange int32

注文の市場

const (
	OrderExchange_ORDER_EXCHANGE_UNSPECIFIED   OrderExchange = 0  // 未指定
	OrderExchange_ORDER_EXCHANGE_TOUSHOU       OrderExchange = 1  // 東証
	OrderExchange_ORDER_EXCHANGE_MEISHOU       OrderExchange = 3  // 名証
	OrderExchange_ORDER_EXCHANGE_FUKUSHOU      OrderExchange = 5  // 福証
	OrderExchange_ORDER_EXCHANGE_SATSUSHOU     OrderExchange = 6  // 札証
	OrderExchange_ORDER_EXCHANGE_SOR           OrderExchange = 9  // SOR
	OrderExchange_ORDER_EXCHANGE_ALL_SESSION   OrderExchange = 2  // 日通し
	OrderExchange_ORDER_EXCHANGE_DAY_SESSION   OrderExchange = 23 // 日中場
	OrderExchange_ORDER_EXCHANGE_NIGHT_SESSION OrderExchange = 24 // 夕場
)

func (OrderExchange) Descriptor

func (OrderExchange) Enum

func (x OrderExchange) Enum() *OrderExchange

func (OrderExchange) EnumDescriptor deprecated

func (OrderExchange) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderExchange.Descriptor instead.

func (OrderExchange) Number

func (OrderExchange) String

func (x OrderExchange) String() string

func (OrderExchange) Type

type OrderResponse

type OrderResponse struct {

	// 結果コード
	//   0が成功
	//   それ以外はエラーコード
	ResultCode int32 `protobuf:"varint,1,opt,name=result_code,json=resultCode,proto3" json:"result_code,omitempty"`
	// 受付注文番号
	OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// contains filtered or unexported fields
}

注文発注レスポンス

func (*OrderResponse) Descriptor deprecated

func (*OrderResponse) Descriptor() ([]byte, []int)

Deprecated: Use OrderResponse.ProtoReflect.Descriptor instead.

func (*OrderResponse) GetOrderId

func (x *OrderResponse) GetOrderId() string

func (*OrderResponse) GetResultCode

func (x *OrderResponse) GetResultCode() int32

func (*OrderResponse) ProtoMessage

func (*OrderResponse) ProtoMessage()

func (*OrderResponse) ProtoReflect

func (x *OrderResponse) ProtoReflect() protoreflect.Message

func (*OrderResponse) Reset

func (x *OrderResponse) Reset()

func (*OrderResponse) String

func (x *OrderResponse) String() string

type OrderState

type OrderState int32

注文状態

const (
	OrderState_ORDER_STATE_UNSPECIFIED OrderState = 0 // 未指定
	OrderState_ORDER_STATE_WAIT        OrderState = 1 // 待機(発注待機)
	OrderState_ORDER_STATE_PROCESSING  OrderState = 2 // 処理中(発注送信中)
	OrderState_ORDER_STATE_PROCESSED   OrderState = 3 // 処理済(発注済・訂正済)
	OrderState_ORDER_STATE_IN_MODIFY   OrderState = 4 // 訂正取消送信中
	OrderState_ORDER_STATE_DONE        OrderState = 5 // 終了(発注エラー・取消済・全約定・失効・期限切れ)
)

func (OrderState) Descriptor

func (OrderState) Descriptor() protoreflect.EnumDescriptor

func (OrderState) Enum

func (x OrderState) Enum() *OrderState

func (OrderState) EnumDescriptor deprecated

func (OrderState) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderState.Descriptor instead.

func (OrderState) Number

func (x OrderState) Number() protoreflect.EnumNumber

func (OrderState) String

func (x OrderState) String() string

func (OrderState) Type

type OrderType

type OrderType int32

執行条件

const (
	OrderType_ORDER_TYPE_UNSPECIFIED OrderType = 0 // 未指定
	OrderType_ORDER_TYPE_ZARABA      OrderType = 1 // ザラバ
	OrderType_ORDER_TYPE_OPEN        OrderType = 2 // 寄り
	OrderType_ORDER_TYPE_CLOSE       OrderType = 3 // 引け
	OrderType_ORDER_TYPE_FUNARI      OrderType = 4 // 不成
	OrderType_ORDER_TYPE_MTLO        OrderType = 5 // 対等指値(対当値段条件付注文 Market To Limit Order)
	OrderType_ORDER_TYPE_IOC         OrderType = 6 // IOC
)

func (OrderType) Descriptor

func (OrderType) Descriptor() protoreflect.EnumDescriptor

func (OrderType) Enum

func (x OrderType) Enum() *OrderType

func (OrderType) EnumDescriptor deprecated

func (OrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderType.Descriptor instead.

func (OrderType) Number

func (x OrderType) Number() protoreflect.EnumNumber

func (OrderType) String

func (x OrderType) String() string

func (OrderType) Type

type Orders

type Orders struct {
	Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

注文リスト

func (*Orders) Descriptor deprecated

func (*Orders) Descriptor() ([]byte, []int)

Deprecated: Use Orders.ProtoReflect.Descriptor instead.

func (*Orders) GetOrders

func (x *Orders) GetOrders() []*Order

func (*Orders) ProtoMessage

func (*Orders) ProtoMessage()

func (*Orders) ProtoReflect

func (x *Orders) ProtoReflect() protoreflect.Message

func (*Orders) Reset

func (x *Orders) Reset()

func (*Orders) String

func (x *Orders) String() string

type Position

type Position struct {

	// 約定番号
	ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// 口座種別
	AccountType AccountType `protobuf:"varint,2,opt,name=account_type,json=accountType,proto3,enum=kabuspb.AccountType" json:"account_type,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,3,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名
	SymbolName string `protobuf:"bytes,4,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 市場コード
	Exchange Exchange `protobuf:"varint,5,opt,name=exchange,proto3,enum=kabuspb.Exchange" json:"exchange,omitempty"`
	// 市場名
	ExchangeName string `protobuf:"bytes,6,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 銘柄種別
	//   先物・オプション銘柄の場合のみ
	SecurityType SecurityType `protobuf:"varint,7,opt,name=security_type,json=securityType,proto3,enum=kabuspb.SecurityType" json:"security_type,omitempty"`
	// 約定日(建玉日)
	//   信用・先物・オプションの場合のみ
	ExecutionDay *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=execution_day,json=executionDay,proto3" json:"execution_day,omitempty"`
	// 値段
	Price float64 `protobuf:"fixed64,9,opt,name=price,proto3" json:"price,omitempty"`
	// 残数量
	LeavesQuantity float64 `protobuf:"fixed64,10,opt,name=leaves_quantity,json=leavesQuantity,proto3" json:"leaves_quantity,omitempty"`
	// 拘束数量(保有数量)
	HoldQuantity float64 `protobuf:"fixed64,11,opt,name=hold_quantity,json=holdQuantity,proto3" json:"hold_quantity,omitempty"`
	// 売買区分
	Side Side `protobuf:"varint,12,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 諸経費
	//   信用・先物・オプションの場合のみ
	Expenses float64 `protobuf:"fixed64,13,opt,name=expenses,proto3" json:"expenses,omitempty"`
	// 手数料
	//   信用・先物・オプションの場合のみ
	Commission float64 `protobuf:"fixed64,14,opt,name=commission,proto3" json:"commission,omitempty"`
	// 手数料消費税
	//   信用・先物・オプションの場合のみ
	CommissionTax float64 `protobuf:"fixed64,15,opt,name=commission_tax,json=commissionTax,proto3" json:"commission_tax,omitempty"`
	// 返済期日
	//   信用・先物・オプションの場合のみ
	ExpireDay *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=expire_day,json=expireDay,proto3" json:"expire_day,omitempty"`
	// 信用取引区分
	//   信用の場合のみ
	MarginTradeType MarginTradeType `` /* 139-byte string literal not displayed */
	// 現在値
	CurrentPrice float64 `protobuf:"fixed64,18,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	// 評価金額
	Valuation float64 `protobuf:"fixed64,19,opt,name=valuation,proto3" json:"valuation,omitempty"`
	// 評価損益額
	ProfitLoss float64 `protobuf:"fixed64,20,opt,name=profit_loss,json=profitLoss,proto3" json:"profit_loss,omitempty"`
	// 評価損益率
	ProfitLossRate float64 `protobuf:"fixed64,21,opt,name=profit_loss_rate,json=profitLossRate,proto3" json:"profit_loss_rate,omitempty"`
	// contains filtered or unexported fields
}

ポジション

func (*Position) Descriptor deprecated

func (*Position) Descriptor() ([]byte, []int)

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetAccountType

func (x *Position) GetAccountType() AccountType

func (*Position) GetCommission

func (x *Position) GetCommission() float64

func (*Position) GetCommissionTax

func (x *Position) GetCommissionTax() float64

func (*Position) GetCurrentPrice

func (x *Position) GetCurrentPrice() float64

func (*Position) GetExchange

func (x *Position) GetExchange() Exchange

func (*Position) GetExchangeName

func (x *Position) GetExchangeName() string

func (*Position) GetExecutionDay

func (x *Position) GetExecutionDay() *timestamppb.Timestamp

func (*Position) GetExecutionId

func (x *Position) GetExecutionId() string

func (*Position) GetExpenses

func (x *Position) GetExpenses() float64

func (*Position) GetExpireDay

func (x *Position) GetExpireDay() *timestamppb.Timestamp

func (*Position) GetHoldQuantity

func (x *Position) GetHoldQuantity() float64

func (*Position) GetLeavesQuantity

func (x *Position) GetLeavesQuantity() float64

func (*Position) GetMarginTradeType

func (x *Position) GetMarginTradeType() MarginTradeType

func (*Position) GetPrice

func (x *Position) GetPrice() float64

func (*Position) GetProfitLoss

func (x *Position) GetProfitLoss() float64

func (*Position) GetProfitLossRate

func (x *Position) GetProfitLossRate() float64

func (*Position) GetSecurityType

func (x *Position) GetSecurityType() SecurityType

func (*Position) GetSide

func (x *Position) GetSide() Side

func (*Position) GetSymbolCode

func (x *Position) GetSymbolCode() string

func (*Position) GetSymbolName

func (x *Position) GetSymbolName() string

func (*Position) GetValuation

func (x *Position) GetValuation() float64

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

func (x *Position) ProtoReflect() protoreflect.Message

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type Positions

type Positions struct {
	Positions []*Position `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
	// contains filtered or unexported fields
}

ポジションリスト

func (*Positions) Descriptor deprecated

func (*Positions) Descriptor() ([]byte, []int)

Deprecated: Use Positions.ProtoReflect.Descriptor instead.

func (*Positions) GetPositions

func (x *Positions) GetPositions() []*Position

func (*Positions) ProtoMessage

func (*Positions) ProtoMessage()

func (*Positions) ProtoReflect

func (x *Positions) ProtoReflect() protoreflect.Message

func (*Positions) Reset

func (x *Positions) Reset()

func (*Positions) String

func (x *Positions) String() string

type PriceRanking

type PriceRanking struct {

	// ランキング種別
	Type PriceRankingType `protobuf:"varint,1,opt,name=type,proto3,enum=kabuspb.PriceRankingType" json:"type,omitempty"`
	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// ランキング
	Ranking []*PriceRankingInfo `protobuf:"bytes,3,rep,name=ranking,proto3" json:"ranking,omitempty"`
	// contains filtered or unexported fields
}

株価ランキング

func (*PriceRanking) Descriptor deprecated

func (*PriceRanking) Descriptor() ([]byte, []int)

Deprecated: Use PriceRanking.ProtoReflect.Descriptor instead.

func (*PriceRanking) GetExchangeDivision

func (x *PriceRanking) GetExchangeDivision() ExchangeDivision

func (*PriceRanking) GetRanking

func (x *PriceRanking) GetRanking() []*PriceRankingInfo

func (*PriceRanking) GetType

func (x *PriceRanking) GetType() PriceRankingType

func (*PriceRanking) ProtoMessage

func (*PriceRanking) ProtoMessage()

func (*PriceRanking) ProtoReflect

func (x *PriceRanking) ProtoReflect() protoreflect.Message

func (*PriceRanking) Reset

func (x *PriceRanking) Reset()

func (*PriceRanking) String

func (x *PriceRanking) String() string

type PriceRankingInfo

type PriceRankingInfo struct {

	// 順位
	No int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	// トレンド
	Trend RankingTrend `protobuf:"varint,2,opt,name=trend,proto3,enum=kabuspb.RankingTrend" json:"trend,omitempty"`
	// 平均順位
	//   100位以下は「999」となります
	AverageRanking float64 `protobuf:"fixed64,3,opt,name=average_ranking,json=averageRanking,proto3" json:"average_ranking,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,4,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名称
	SymbolName string `protobuf:"bytes,5,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 現在値
	CurrentPrice float64 `protobuf:"fixed64,6,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	// 前日比
	ChangeRatio float64 `protobuf:"fixed64,7,opt,name=change_ratio,json=changeRatio,proto3" json:"change_ratio,omitempty"`
	// 騰落率(%)
	ChangePercentage float64 `protobuf:"fixed64,8,opt,name=change_percentage,json=changePercentage,proto3" json:"change_percentage,omitempty"`
	// 時刻 HH:mm
	//   日付は返しません
	CurrentPriceTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=current_price_time,json=currentPriceTime,proto3" json:"current_price_time,omitempty"`
	// 売買高
	TradingVolume float64 `protobuf:"fixed64,10,opt,name=trading_volume,json=tradingVolume,proto3" json:"trading_volume,omitempty"`
	// 売買代金
	Turnover float64 `protobuf:"fixed64,11,opt,name=turnover,proto3" json:"turnover,omitempty"`
	// 市場名
	ExchangeName string `protobuf:"bytes,12,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 業種名
	IndustryName string `protobuf:"bytes,13,opt,name=industry_name,json=industryName,proto3" json:"industry_name,omitempty"`
	// contains filtered or unexported fields
}

株価ランキング詳細

func (*PriceRankingInfo) Descriptor deprecated

func (*PriceRankingInfo) Descriptor() ([]byte, []int)

Deprecated: Use PriceRankingInfo.ProtoReflect.Descriptor instead.

func (*PriceRankingInfo) GetAverageRanking

func (x *PriceRankingInfo) GetAverageRanking() float64

func (*PriceRankingInfo) GetChangePercentage

func (x *PriceRankingInfo) GetChangePercentage() float64

func (*PriceRankingInfo) GetChangeRatio

func (x *PriceRankingInfo) GetChangeRatio() float64

func (*PriceRankingInfo) GetCurrentPrice

func (x *PriceRankingInfo) GetCurrentPrice() float64

func (*PriceRankingInfo) GetCurrentPriceTime

func (x *PriceRankingInfo) GetCurrentPriceTime() *timestamppb.Timestamp

func (*PriceRankingInfo) GetExchangeName

func (x *PriceRankingInfo) GetExchangeName() string

func (*PriceRankingInfo) GetIndustryName

func (x *PriceRankingInfo) GetIndustryName() string

func (*PriceRankingInfo) GetNo

func (x *PriceRankingInfo) GetNo() int32

func (*PriceRankingInfo) GetSymbolCode

func (x *PriceRankingInfo) GetSymbolCode() string

func (*PriceRankingInfo) GetSymbolName

func (x *PriceRankingInfo) GetSymbolName() string

func (*PriceRankingInfo) GetTradingVolume

func (x *PriceRankingInfo) GetTradingVolume() float64

func (*PriceRankingInfo) GetTrend

func (x *PriceRankingInfo) GetTrend() RankingTrend

func (*PriceRankingInfo) GetTurnover

func (x *PriceRankingInfo) GetTurnover() float64

func (*PriceRankingInfo) ProtoMessage

func (*PriceRankingInfo) ProtoMessage()

func (*PriceRankingInfo) ProtoReflect

func (x *PriceRankingInfo) ProtoReflect() protoreflect.Message

func (*PriceRankingInfo) Reset

func (x *PriceRankingInfo) Reset()

func (*PriceRankingInfo) String

func (x *PriceRankingInfo) String() string

type PriceRankingType

type PriceRankingType int32

株価ランキング種別

const (
	PriceRankingType_PRICE_RANKING_TYPE_UNSPECIFIED   PriceRankingType = 0 // 未指定
	PriceRankingType_PRICE_RANKING_TYPE_INCREASE_RATE PriceRankingType = 1 // 値上がり率
	PriceRankingType_PRICE_RANKING_TYPE_DECREASE_RATE PriceRankingType = 2 // 値下がり率
	PriceRankingType_PRICE_RANKING_TYPE_VOLUME        PriceRankingType = 3 // 売買高上位
	PriceRankingType_PRICE_RANKING_TYPE_VALUE         PriceRankingType = 4 // 売買代金上位
)

func (PriceRankingType) Descriptor

func (PriceRankingType) Enum

func (PriceRankingType) EnumDescriptor deprecated

func (PriceRankingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PriceRankingType.Descriptor instead.

func (PriceRankingType) Number

func (PriceRankingType) String

func (x PriceRankingType) String() string

func (PriceRankingType) Type

type PrimaryExchange

type PrimaryExchange struct {

	// 銘柄コード
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 優先市場
	PrimaryExchange StockExchange `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

優先市場

func (*PrimaryExchange) Descriptor deprecated

func (*PrimaryExchange) Descriptor() ([]byte, []int)

Deprecated: Use PrimaryExchange.ProtoReflect.Descriptor instead.

func (*PrimaryExchange) GetPrimaryExchange

func (x *PrimaryExchange) GetPrimaryExchange() StockExchange

func (*PrimaryExchange) GetSymbolCode

func (x *PrimaryExchange) GetSymbolCode() string

func (*PrimaryExchange) ProtoMessage

func (*PrimaryExchange) ProtoMessage()

func (*PrimaryExchange) ProtoReflect

func (x *PrimaryExchange) ProtoReflect() protoreflect.Message

func (*PrimaryExchange) Reset

func (x *PrimaryExchange) Reset()

func (*PrimaryExchange) String

func (x *PrimaryExchange) String() string

type Product

type Product int32

商品

const (
	Product_PRODUCT_UNSPECIFIED Product = 0 // 未指定
	Product_PRODUCT_ALL         Product = 1 // すべて
	Product_PRODUCT_STOCK       Product = 2 // 現物
	Product_PRODUCT_MARGIN      Product = 3 // 信用
	Product_PRODUCT_FUTURE      Product = 4 // 先物
	Product_PRODUCT_OPTION      Product = 5 // オプション
)

func (Product) Descriptor

func (Product) Descriptor() protoreflect.EnumDescriptor

func (Product) Enum

func (x Product) Enum() *Product

func (Product) EnumDescriptor deprecated

func (Product) EnumDescriptor() ([]byte, []int)

Deprecated: Use Product.Descriptor instead.

func (Product) Number

func (x Product) Number() protoreflect.EnumNumber

func (Product) String

func (x Product) String() string

func (Product) Type

func (Product) Type() protoreflect.EnumType

type Quote

type Quote struct {

	// 値段
	//   株式・先物・オプション銘柄の場合のみ
	Price float64 `protobuf:"fixed64,1,opt,name=price,proto3" json:"price,omitempty"`
	// 数量
	//   株式・先物・オプション銘柄の場合のみ
	Quantity float64 `protobuf:"fixed64,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

気配値

func (*Quote) Descriptor deprecated

func (*Quote) Descriptor() ([]byte, []int)

Deprecated: Use Quote.ProtoReflect.Descriptor instead.

func (*Quote) GetPrice

func (x *Quote) GetPrice() float64

func (*Quote) GetQuantity

func (x *Quote) GetQuantity() float64

func (*Quote) ProtoMessage

func (*Quote) ProtoMessage()

func (*Quote) ProtoReflect

func (x *Quote) ProtoReflect() protoreflect.Message

func (*Quote) Reset

func (x *Quote) Reset()

func (*Quote) String

func (x *Quote) String() string

type RankingTrend

type RankingTrend int32

トレンド

const (
	RankingTrend_RANKING_TREND_UNSPECIFIED     RankingTrend = 0 // 未指定
	RankingTrend_RANKING_TREND_NO_DATA         RankingTrend = 1 // 対象データ無し
	RankingTrend_RANKING_TREND_RISE_OVER_20    RankingTrend = 2 // 過去10営業日より20位以上上昇
	RankingTrend_RANKING_TREND_RISE            RankingTrend = 3 // 過去10営業日より1~19位上昇
	RankingTrend_RANKING_TREND_NO_CHANGE       RankingTrend = 4 // 過去10営業日と変わらず
	RankingTrend_RANKING_TREND_DESCENT         RankingTrend = 5 // 過去10営業日より1~19位下落
	RankingTrend_RANKING_TREND_DESCENT_OVER_20 RankingTrend = 6 // 過去10営業日より20位以上下落
)

func (RankingTrend) Descriptor

func (RankingTrend) Enum

func (x RankingTrend) Enum() *RankingTrend

func (RankingTrend) EnumDescriptor deprecated

func (RankingTrend) EnumDescriptor() ([]byte, []int)

Deprecated: Use RankingTrend.Descriptor instead.

func (RankingTrend) Number

func (RankingTrend) String

func (x RankingTrend) String() string

func (RankingTrend) Type

type RecordType

type RecordType int32

注文明細種別

const (
	RecordType_RECORD_TYPE_UNSPECIFIED RecordType = 0 // 指定なし
	RecordType_RECORD_TYPE_RECEIVE     RecordType = 1 // 受付
	RecordType_RECORD_TYPE_CARRIED     RecordType = 2 // 繰越
	RecordType_RECORD_TYPE_EXPIRED     RecordType = 3 // 期限切れ
	RecordType_RECORD_TYPE_ORDERED     RecordType = 4 // 発注
	RecordType_RECORD_TYPE_MODIFIED    RecordType = 5 // 訂正
	RecordType_RECORD_TYPE_CANCELED    RecordType = 6 // 取消
	RecordType_RECORD_TYPE_REVOCATION  RecordType = 7 // 失効
	RecordType_RECORD_TYPE_CONTRACTED  RecordType = 8 // 約定
)

func (RecordType) Descriptor

func (RecordType) Descriptor() protoreflect.EnumDescriptor

func (RecordType) Enum

func (x RecordType) Enum() *RecordType

func (RecordType) EnumDescriptor deprecated

func (RecordType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RecordType.Descriptor instead.

func (RecordType) Number

func (x RecordType) Number() protoreflect.EnumNumber

func (RecordType) String

func (x RecordType) String() string

func (RecordType) Type

type RefreshTokenRequest

type RefreshTokenRequest struct {
	// contains filtered or unexported fields
}

トークン再取得リクエスト

func (*RefreshTokenRequest) Descriptor deprecated

func (*RefreshTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) ProtoReflect

func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message

func (*RefreshTokenRequest) Reset

func (x *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (x *RefreshTokenRequest) String() string

type RegisterSymbol

type RegisterSymbol struct {

	// 銘柄コード
	SymbolCode string `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場
	Exchange Exchange `protobuf:"varint,2,opt,name=exchange,proto3,enum=kabuspb.Exchange" json:"exchange,omitempty"`
	// contains filtered or unexported fields
}

銘柄登録の詳細

func (*RegisterSymbol) Descriptor deprecated

func (*RegisterSymbol) Descriptor() ([]byte, []int)

Deprecated: Use RegisterSymbol.ProtoReflect.Descriptor instead.

func (*RegisterSymbol) GetExchange

func (x *RegisterSymbol) GetExchange() Exchange

func (*RegisterSymbol) GetSymbolCode

func (x *RegisterSymbol) GetSymbolCode() string

func (*RegisterSymbol) ProtoMessage

func (*RegisterSymbol) ProtoMessage()

func (*RegisterSymbol) ProtoReflect

func (x *RegisterSymbol) ProtoReflect() protoreflect.Message

func (*RegisterSymbol) Reset

func (x *RegisterSymbol) Reset()

func (*RegisterSymbol) String

func (x *RegisterSymbol) String() string

type RegisterSymbolsRequest

type RegisterSymbolsRequest struct {

	// ツール名
	RequesterName string `protobuf:"bytes,2,opt,name=requester_name,json=requesterName,proto3" json:"requester_name,omitempty"`
	// 登録する銘柄のリスト
	Symbols []*RegisterSymbol `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
	// contains filtered or unexported fields
}

銘柄登録リクエスト

func (*RegisterSymbolsRequest) Descriptor deprecated

func (*RegisterSymbolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterSymbolsRequest.ProtoReflect.Descriptor instead.

func (*RegisterSymbolsRequest) GetRequesterName

func (x *RegisterSymbolsRequest) GetRequesterName() string

func (*RegisterSymbolsRequest) GetSymbols

func (x *RegisterSymbolsRequest) GetSymbols() []*RegisterSymbol

func (*RegisterSymbolsRequest) ProtoMessage

func (*RegisterSymbolsRequest) ProtoMessage()

func (*RegisterSymbolsRequest) ProtoReflect

func (x *RegisterSymbolsRequest) ProtoReflect() protoreflect.Message

func (*RegisterSymbolsRequest) Reset

func (x *RegisterSymbolsRequest) Reset()

func (*RegisterSymbolsRequest) String

func (x *RegisterSymbolsRequest) String() string

type RegisteredSymbols

type RegisteredSymbols struct {

	// 現在登録されている銘柄のリスト
	Symbols []*RegisterSymbol `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
	// 登録銘柄数
	Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

銘柄登録

func (*RegisteredSymbols) Descriptor deprecated

func (*RegisteredSymbols) Descriptor() ([]byte, []int)

Deprecated: Use RegisteredSymbols.ProtoReflect.Descriptor instead.

func (*RegisteredSymbols) GetCount

func (x *RegisteredSymbols) GetCount() int32

func (*RegisteredSymbols) GetSymbols

func (x *RegisteredSymbols) GetSymbols() []*RegisterSymbol

func (*RegisteredSymbols) ProtoMessage

func (*RegisteredSymbols) ProtoMessage()

func (*RegisteredSymbols) ProtoReflect

func (x *RegisteredSymbols) ProtoReflect() protoreflect.Message

func (*RegisteredSymbols) Reset

func (x *RegisteredSymbols) Reset()

func (*RegisteredSymbols) String

func (x *RegisteredSymbols) String() string

type Regulation

type Regulation struct {

	// 銘柄コード
	SymbolCode         string            `protobuf:"bytes,1,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	RegulationInfoList []*RegulationInfo `protobuf:"bytes,2,rep,name=regulation_info_list,json=regulationInfoList,proto3" json:"regulation_info_list,omitempty"`
	// contains filtered or unexported fields
}

規制情報

func (*Regulation) Descriptor deprecated

func (*Regulation) Descriptor() ([]byte, []int)

Deprecated: Use Regulation.ProtoReflect.Descriptor instead.

func (*Regulation) GetRegulationInfoList

func (x *Regulation) GetRegulationInfoList() []*RegulationInfo

func (*Regulation) GetSymbolCode

func (x *Regulation) GetSymbolCode() string

func (*Regulation) ProtoMessage

func (*Regulation) ProtoMessage()

func (*Regulation) ProtoReflect

func (x *Regulation) ProtoReflect() protoreflect.Message

func (*Regulation) Reset

func (x *Regulation) Reset()

func (*Regulation) String

func (x *Regulation) String() string

type RegulationExchange

type RegulationExchange int32

規制市場

const (
	RegulationExchange_REGULATION_EXCHANGE_UNSPECIFIED RegulationExchange = 0  // 未指定
	RegulationExchange_REGULATION_EXCHANGE_TOUSHOU     RegulationExchange = 1  // 東証
	RegulationExchange_REGULATION_EXCHANGE_MEISHOU     RegulationExchange = 3  // 名証
	RegulationExchange_REGULATION_EXCHANGE_FUKUSHOU    RegulationExchange = 5  // 福証
	RegulationExchange_REGULATION_EXCHANGE_SATSUSHOU   RegulationExchange = 6  // 札証
	RegulationExchange_REGULATION_EXCHANGE_SOR         RegulationExchange = 9  // SOR
	RegulationExchange_REGULATION_EXCHANGE_CXJ         RegulationExchange = 10 // CXJ
	RegulationExchange_REGULATION_EXCHANGE_JNX         RegulationExchange = 21 // JNX
)

func (RegulationExchange) Descriptor

func (RegulationExchange) Enum

func (RegulationExchange) EnumDescriptor deprecated

func (RegulationExchange) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegulationExchange.Descriptor instead.

func (RegulationExchange) Number

func (RegulationExchange) String

func (x RegulationExchange) String() string

func (RegulationExchange) Type

type RegulationInfo

type RegulationInfo struct {

	// 規制市場
	Exchange RegulationExchange `protobuf:"varint,1,opt,name=exchange,proto3,enum=kabuspb.RegulationExchange" json:"exchange,omitempty"`
	// 規制取引区分
	Product RegulationProduct `protobuf:"varint,2,opt,name=product,proto3,enum=kabuspb.RegulationProduct" json:"product,omitempty"`
	// 規制売買
	Side RegulationSide `protobuf:"varint,3,opt,name=side,proto3,enum=kabuspb.RegulationSide" json:"side,omitempty"`
	// 理由
	Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
	// 制限開始日
	LimitStartDay *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=limit_start_day,json=limitStartDay,proto3" json:"limit_start_day,omitempty"`
	// 制限終了日
	LimitEndDay *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=limit_end_day,json=limitEndDay,proto3" json:"limit_end_day,omitempty"`
	// コンプライアンスレベル
	Level RegulationLevel `protobuf:"varint,7,opt,name=level,proto3,enum=kabuspb.RegulationLevel" json:"level,omitempty"`
	// contains filtered or unexported fields
}

規制情報詳細

func (*RegulationInfo) Descriptor deprecated

func (*RegulationInfo) Descriptor() ([]byte, []int)

Deprecated: Use RegulationInfo.ProtoReflect.Descriptor instead.

func (*RegulationInfo) GetExchange

func (x *RegulationInfo) GetExchange() RegulationExchange

func (*RegulationInfo) GetLevel

func (x *RegulationInfo) GetLevel() RegulationLevel

func (*RegulationInfo) GetLimitEndDay

func (x *RegulationInfo) GetLimitEndDay() *timestamppb.Timestamp

func (*RegulationInfo) GetLimitStartDay

func (x *RegulationInfo) GetLimitStartDay() *timestamppb.Timestamp

func (*RegulationInfo) GetProduct

func (x *RegulationInfo) GetProduct() RegulationProduct

func (*RegulationInfo) GetReason

func (x *RegulationInfo) GetReason() string

func (*RegulationInfo) GetSide

func (x *RegulationInfo) GetSide() RegulationSide

func (*RegulationInfo) ProtoMessage

func (*RegulationInfo) ProtoMessage()

func (*RegulationInfo) ProtoReflect

func (x *RegulationInfo) ProtoReflect() protoreflect.Message

func (*RegulationInfo) Reset

func (x *RegulationInfo) Reset()

func (*RegulationInfo) String

func (x *RegulationInfo) String() string

type RegulationLevel

type RegulationLevel int32

コンプライアンスレベル

const (
	RegulationLevel_REGULATION_LEVEL_UNSPECIFIED RegulationLevel = 0 // 未指定
	RegulationLevel_REGULATION_LEVEL_WARNING     RegulationLevel = 1 // ワーニング
	RegulationLevel_REGULATION_LEVEL_ERROR       RegulationLevel = 2 // エラー
)

func (RegulationLevel) Descriptor

func (RegulationLevel) Enum

func (x RegulationLevel) Enum() *RegulationLevel

func (RegulationLevel) EnumDescriptor deprecated

func (RegulationLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegulationLevel.Descriptor instead.

func (RegulationLevel) Number

func (RegulationLevel) String

func (x RegulationLevel) String() string

func (RegulationLevel) Type

type RegulationProduct

type RegulationProduct int32

規制取引区分

const (
	RegulationProduct_REGULATION_PRODUCT_UNSPECIFIED          RegulationProduct = 0  // 未指定
	RegulationProduct_REGULATION_PRODUCT_ALL                  RegulationProduct = 1  // 全対象
	RegulationProduct_REGULATION_PRODUCT_STOCK                RegulationProduct = 2  // 現物
	RegulationProduct_REGULATION_PRODUCT_MARGIN_ENTRY_SYSTEM  RegulationProduct = 3  // 信用新規(制度)
	RegulationProduct_REGULATION_PRODUCT_MARGIN_ENTRY_GENERAL RegulationProduct = 4  // 信用新規(一般)
	RegulationProduct_REGULATION_PRODUCT_ENTRY                RegulationProduct = 5  // 新規
	RegulationProduct_REGULATION_PRODUCT_MARGIN_EXIT_SYSTEM   RegulationProduct = 6  // 信用返済(制度)
	RegulationProduct_REGULATION_PRODUCT_MARGIN_EXIT_GENERAL  RegulationProduct = 7  // 信用返済(一般)
	RegulationProduct_REGULATION_PRODUCT_EXIT                 RegulationProduct = 8  // 返済
	RegulationProduct_REGULATION_PRODUCT_RECEIPT              RegulationProduct = 9  // 品受
	RegulationProduct_REGULATION_PRODUCT_DELIVERY             RegulationProduct = 10 // 品渡
)

func (RegulationProduct) Descriptor

func (RegulationProduct) Enum

func (RegulationProduct) EnumDescriptor deprecated

func (RegulationProduct) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegulationProduct.Descriptor instead.

func (RegulationProduct) Number

func (RegulationProduct) String

func (x RegulationProduct) String() string

func (RegulationProduct) Type

type RegulationSide

type RegulationSide int32

規制売買

const (
	RegulationSide_REGULATION_SIDE_UNSPECIFIED RegulationSide = 0 // 未指定
	RegulationSide_REGULATION_SIDE_ALL         RegulationSide = 1 // 全対象
	RegulationSide_REGULATION_SIDE_BUY         RegulationSide = 2 // 買い
	RegulationSide_REGULATION_SIDE_SELL        RegulationSide = 3 // 売り
)

func (RegulationSide) Descriptor

func (RegulationSide) Enum

func (x RegulationSide) Enum() *RegulationSide

func (RegulationSide) EnumDescriptor deprecated

func (RegulationSide) EnumDescriptor() ([]byte, []int)

Deprecated: Use RegulationSide.Descriptor instead.

func (RegulationSide) Number

func (RegulationSide) String

func (x RegulationSide) String() string

func (RegulationSide) Type

type SecurityType

type SecurityType int32

銘柄種別

const (
	SecurityType_SECURITY_TYPE_UNSPECIFIED SecurityType = 0   // 未指定
	SecurityType_SECURITY_TYPE_STOCK       SecurityType = 1   // 株式
	SecurityType_SECURITY_TYPE_NK225       SecurityType = 101 // 日経225先物
	SecurityType_SECURITY_TYPE_NK225_MINI  SecurityType = 901 // 日経225mini先物
	SecurityType_SECURITY_TYPE_JPX400      SecurityType = 121 // JPX日経インデックス400先物
	SecurityType_SECURITY_TYPE_TOPIX       SecurityType = 107 // TOPIX先物
	SecurityType_SECURITY_TYPE_TOPIX_MINI  SecurityType = 907 // ミニTOPIX先物
	SecurityType_SECURITY_TYPE_MOTHERS     SecurityType = 154 // 東証マザーズ指数先物
	SecurityType_SECURITY_TYPE_REIT        SecurityType = 155 // 東証REIT指数先物
	SecurityType_SECURITY_TYPE_DOW         SecurityType = 144 // NYダウ先物
	SecurityType_SECURITY_TYPE_VI          SecurityType = 145 // 日経平均VI先物
	SecurityType_SECURITY_TYPE_CODE30      SecurityType = 171 // TOPIX Core30先物
	SecurityType_SECURITY_TYPE_NK225_OP    SecurityType = 103 // 日経225OP
)

func (SecurityType) Descriptor

func (SecurityType) Enum

func (x SecurityType) Enum() *SecurityType

func (SecurityType) EnumDescriptor deprecated

func (SecurityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityType.Descriptor instead.

func (SecurityType) Number

func (SecurityType) String

func (x SecurityType) String() string

func (SecurityType) Type

type SendFutureOrderRequest

type SendFutureOrderRequest struct {

	// パスワード
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,2,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange FutureExchange `protobuf:"varint,3,opt,name=exchange,proto3,enum=kabuspb.FutureExchange" json:"exchange,omitempty"`
	// 取引区分
	TradeType TradeType `protobuf:"varint,4,opt,name=trade_type,json=tradeType,proto3,enum=kabuspb.TradeType" json:"trade_type,omitempty"`
	// 有効期間条件
	TimeInForce TimeInForce `protobuf:"varint,5,opt,name=time_in_force,json=timeInForce,proto3,enum=kabuspb.TimeInForce" json:"time_in_force,omitempty"`
	// 売買区分
	Side Side `protobuf:"varint,6,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 注文数量
	Quantity float64 `protobuf:"fixed64,7,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// 返済建玉指定
	ClosePositions []*ClosePosition `protobuf:"bytes,8,rep,name=close_positions,json=closePositions,proto3" json:"close_positions,omitempty"`
	// 執行条件
	OrderType FutureOrderType `protobuf:"varint,9,opt,name=order_type,json=orderType,proto3,enum=kabuspb.FutureOrderType" json:"order_type,omitempty"`
	// 注文価格
	Price float64 `protobuf:"fixed64,10,opt,name=price,proto3" json:"price,omitempty"`
	// 注文有効期限
	//   ゼロ値なら当日
	//   引けまでの間 : 当日
	//   引け後 : 翌取引所営業日
	//   休前日 : 休日明けの取引所営業日
	ExpireDay *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_day,json=expireDay,proto3" json:"expire_day,omitempty"`
	// 逆指値条件
	StopOrder *FutureStopOrder `protobuf:"bytes,12,opt,name=stop_order,json=stopOrder,proto3" json:"stop_order,omitempty"`
	// contains filtered or unexported fields
}

注文発注(先物)リクエスト

func (*SendFutureOrderRequest) Descriptor deprecated

func (*SendFutureOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendFutureOrderRequest.ProtoReflect.Descriptor instead.

func (*SendFutureOrderRequest) GetClosePositions

func (x *SendFutureOrderRequest) GetClosePositions() []*ClosePosition

func (*SendFutureOrderRequest) GetExchange

func (x *SendFutureOrderRequest) GetExchange() FutureExchange

func (*SendFutureOrderRequest) GetExpireDay

func (x *SendFutureOrderRequest) GetExpireDay() *timestamppb.Timestamp

func (*SendFutureOrderRequest) GetOrderType

func (x *SendFutureOrderRequest) GetOrderType() FutureOrderType

func (*SendFutureOrderRequest) GetPassword

func (x *SendFutureOrderRequest) GetPassword() string

func (*SendFutureOrderRequest) GetPrice

func (x *SendFutureOrderRequest) GetPrice() float64

func (*SendFutureOrderRequest) GetQuantity

func (x *SendFutureOrderRequest) GetQuantity() float64

func (*SendFutureOrderRequest) GetSide

func (x *SendFutureOrderRequest) GetSide() Side

func (*SendFutureOrderRequest) GetStopOrder

func (x *SendFutureOrderRequest) GetStopOrder() *FutureStopOrder

func (*SendFutureOrderRequest) GetSymbolCode

func (x *SendFutureOrderRequest) GetSymbolCode() string

func (*SendFutureOrderRequest) GetTimeInForce

func (x *SendFutureOrderRequest) GetTimeInForce() TimeInForce

func (*SendFutureOrderRequest) GetTradeType

func (x *SendFutureOrderRequest) GetTradeType() TradeType

func (*SendFutureOrderRequest) ProtoMessage

func (*SendFutureOrderRequest) ProtoMessage()

func (*SendFutureOrderRequest) ProtoReflect

func (x *SendFutureOrderRequest) ProtoReflect() protoreflect.Message

func (*SendFutureOrderRequest) Reset

func (x *SendFutureOrderRequest) Reset()

func (*SendFutureOrderRequest) String

func (x *SendFutureOrderRequest) String() string

type SendMarginOrderRequest

type SendMarginOrderRequest struct {

	// パスワード
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,2,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange StockExchange `protobuf:"varint,3,opt,name=exchange,proto3,enum=kabuspb.StockExchange" json:"exchange,omitempty"`
	// 売買区分
	Side Side `protobuf:"varint,4,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 取引区分
	TradeType TradeType `protobuf:"varint,5,opt,name=trade_type,json=tradeType,proto3,enum=kabuspb.TradeType" json:"trade_type,omitempty"`
	// 信用取引区分
	MarginTradeType MarginTradeType `` /* 138-byte string literal not displayed */
	// 受渡区分
	DeliveryType DeliveryType `protobuf:"varint,7,opt,name=delivery_type,json=deliveryType,proto3,enum=kabuspb.DeliveryType" json:"delivery_type,omitempty"`
	// 口座種別
	AccountType AccountType `protobuf:"varint,8,opt,name=account_type,json=accountType,proto3,enum=kabuspb.AccountType" json:"account_type,omitempty"`
	// 注文数量
	Quantity float64 `protobuf:"fixed64,9,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// 返済建玉指定
	ClosePositions []*ClosePosition `protobuf:"bytes,10,rep,name=close_positions,json=closePositions,proto3" json:"close_positions,omitempty"`
	// 執行条件
	OrderType StockOrderType `protobuf:"varint,11,opt,name=order_type,json=orderType,proto3,enum=kabuspb.StockOrderType" json:"order_type,omitempty"`
	// 注文価格
	Price float64 `protobuf:"fixed64,12,opt,name=price,proto3" json:"price,omitempty"`
	// 注文有効期限
	//   ゼロ値なら当日
	//   引けまでの間 : 当日
	//   引け後 : 翌取引所営業日
	//   休前日 : 休日明けの取引所営業日
	ExpireDay *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=expire_day,json=expireDay,proto3" json:"expire_day,omitempty"`
	// 逆指値条件
	StopOrder *MarginStopOrder `protobuf:"bytes,14,opt,name=stop_order,json=stopOrder,proto3" json:"stop_order,omitempty"`
	// 仮想売買
	IsVirtual bool `protobuf:"varint,99,opt,name=is_virtual,json=isVirtual,proto3" json:"is_virtual,omitempty"`
	// contains filtered or unexported fields
}

注文発注(信用)リクエスト

func (*SendMarginOrderRequest) Descriptor deprecated

func (*SendMarginOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendMarginOrderRequest.ProtoReflect.Descriptor instead.

func (*SendMarginOrderRequest) GetAccountType

func (x *SendMarginOrderRequest) GetAccountType() AccountType

func (*SendMarginOrderRequest) GetClosePositions

func (x *SendMarginOrderRequest) GetClosePositions() []*ClosePosition

func (*SendMarginOrderRequest) GetDeliveryType

func (x *SendMarginOrderRequest) GetDeliveryType() DeliveryType

func (*SendMarginOrderRequest) GetExchange

func (x *SendMarginOrderRequest) GetExchange() StockExchange

func (*SendMarginOrderRequest) GetExpireDay

func (x *SendMarginOrderRequest) GetExpireDay() *timestamppb.Timestamp

func (*SendMarginOrderRequest) GetIsVirtual

func (x *SendMarginOrderRequest) GetIsVirtual() bool

func (*SendMarginOrderRequest) GetMarginTradeType

func (x *SendMarginOrderRequest) GetMarginTradeType() MarginTradeType

func (*SendMarginOrderRequest) GetOrderType

func (x *SendMarginOrderRequest) GetOrderType() StockOrderType

func (*SendMarginOrderRequest) GetPassword

func (x *SendMarginOrderRequest) GetPassword() string

func (*SendMarginOrderRequest) GetPrice

func (x *SendMarginOrderRequest) GetPrice() float64

func (*SendMarginOrderRequest) GetQuantity

func (x *SendMarginOrderRequest) GetQuantity() float64

func (*SendMarginOrderRequest) GetSide

func (x *SendMarginOrderRequest) GetSide() Side

func (*SendMarginOrderRequest) GetStopOrder

func (x *SendMarginOrderRequest) GetStopOrder() *MarginStopOrder

func (*SendMarginOrderRequest) GetSymbolCode

func (x *SendMarginOrderRequest) GetSymbolCode() string

func (*SendMarginOrderRequest) GetTradeType

func (x *SendMarginOrderRequest) GetTradeType() TradeType

func (*SendMarginOrderRequest) ProtoMessage

func (*SendMarginOrderRequest) ProtoMessage()

func (*SendMarginOrderRequest) ProtoReflect

func (x *SendMarginOrderRequest) ProtoReflect() protoreflect.Message

func (*SendMarginOrderRequest) Reset

func (x *SendMarginOrderRequest) Reset()

func (*SendMarginOrderRequest) String

func (x *SendMarginOrderRequest) String() string

type SendOptionOrderRequest

type SendOptionOrderRequest struct {

	// パスワード
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,2,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange OptionExchange `protobuf:"varint,3,opt,name=exchange,proto3,enum=kabuspb.OptionExchange" json:"exchange,omitempty"`
	// 取引区分
	TradeType TradeType `protobuf:"varint,4,opt,name=trade_type,json=tradeType,proto3,enum=kabuspb.TradeType" json:"trade_type,omitempty"`
	// 有効期間条件
	TimeInForce TimeInForce `protobuf:"varint,5,opt,name=time_in_force,json=timeInForce,proto3,enum=kabuspb.TimeInForce" json:"time_in_force,omitempty"`
	// 売買区分
	Side Side `protobuf:"varint,6,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 注文数量
	Quantity float64 `protobuf:"fixed64,7,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// 返済建玉指定
	ClosePositions []*ClosePosition `protobuf:"bytes,8,rep,name=close_positions,json=closePositions,proto3" json:"close_positions,omitempty"`
	// 執行条件
	OrderType OptionOrderType `protobuf:"varint,9,opt,name=order_type,json=orderType,proto3,enum=kabuspb.OptionOrderType" json:"order_type,omitempty"`
	// 注文価格
	Price float64 `protobuf:"fixed64,10,opt,name=price,proto3" json:"price,omitempty"`
	// 注文有効期限
	//   ゼロ値なら当日
	//   引けまでの間 : 当日
	//   引け後 : 翌取引所営業日
	//   休前日 : 休日明けの取引所営業日
	ExpireDay *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_day,json=expireDay,proto3" json:"expire_day,omitempty"`
	// 逆指値条件
	StopOrder *OptionStopOrder `protobuf:"bytes,12,opt,name=stop_order,json=stopOrder,proto3" json:"stop_order,omitempty"`
	// contains filtered or unexported fields
}

注文発注(オプション)リクエスト

func (*SendOptionOrderRequest) Descriptor deprecated

func (*SendOptionOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendOptionOrderRequest.ProtoReflect.Descriptor instead.

func (*SendOptionOrderRequest) GetClosePositions

func (x *SendOptionOrderRequest) GetClosePositions() []*ClosePosition

func (*SendOptionOrderRequest) GetExchange

func (x *SendOptionOrderRequest) GetExchange() OptionExchange

func (*SendOptionOrderRequest) GetExpireDay

func (x *SendOptionOrderRequest) GetExpireDay() *timestamppb.Timestamp

func (*SendOptionOrderRequest) GetOrderType

func (x *SendOptionOrderRequest) GetOrderType() OptionOrderType

func (*SendOptionOrderRequest) GetPassword

func (x *SendOptionOrderRequest) GetPassword() string

func (*SendOptionOrderRequest) GetPrice

func (x *SendOptionOrderRequest) GetPrice() float64

func (*SendOptionOrderRequest) GetQuantity

func (x *SendOptionOrderRequest) GetQuantity() float64

func (*SendOptionOrderRequest) GetSide

func (x *SendOptionOrderRequest) GetSide() Side

func (*SendOptionOrderRequest) GetStopOrder

func (x *SendOptionOrderRequest) GetStopOrder() *OptionStopOrder

func (*SendOptionOrderRequest) GetSymbolCode

func (x *SendOptionOrderRequest) GetSymbolCode() string

func (*SendOptionOrderRequest) GetTimeInForce

func (x *SendOptionOrderRequest) GetTimeInForce() TimeInForce

func (*SendOptionOrderRequest) GetTradeType

func (x *SendOptionOrderRequest) GetTradeType() TradeType

func (*SendOptionOrderRequest) ProtoMessage

func (*SendOptionOrderRequest) ProtoMessage()

func (*SendOptionOrderRequest) ProtoReflect

func (x *SendOptionOrderRequest) ProtoReflect() protoreflect.Message

func (*SendOptionOrderRequest) Reset

func (x *SendOptionOrderRequest) Reset()

func (*SendOptionOrderRequest) String

func (x *SendOptionOrderRequest) String() string

type SendStockOrderRequest

type SendStockOrderRequest struct {

	// パスワード
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,2,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 市場コード
	Exchange StockExchange `protobuf:"varint,3,opt,name=exchange,proto3,enum=kabuspb.StockExchange" json:"exchange,omitempty"`
	// 売買区分
	Side Side `protobuf:"varint,4,opt,name=side,proto3,enum=kabuspb.Side" json:"side,omitempty"`
	// 受渡区分
	DeliveryType DeliveryType `protobuf:"varint,5,opt,name=delivery_type,json=deliveryType,proto3,enum=kabuspb.DeliveryType" json:"delivery_type,omitempty"`
	// 資産区分(預り区分)
	FundType FundType `protobuf:"varint,6,opt,name=fund_type,json=fundType,proto3,enum=kabuspb.FundType" json:"fund_type,omitempty"`
	// 口座種別
	AccountType AccountType `protobuf:"varint,7,opt,name=account_type,json=accountType,proto3,enum=kabuspb.AccountType" json:"account_type,omitempty"`
	// 注文数量
	Quantity float64 `protobuf:"fixed64,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// 執行条件
	OrderType StockOrderType `protobuf:"varint,9,opt,name=order_type,json=orderType,proto3,enum=kabuspb.StockOrderType" json:"order_type,omitempty"`
	// 注文価格
	Price float64 `protobuf:"fixed64,10,opt,name=price,proto3" json:"price,omitempty"`
	// 注文有効期限
	//   ゼロ値なら当日
	//   引けまでの間 : 当日
	//   引け後 : 翌取引所営業日
	//   休前日 : 休日明けの取引所営業日
	ExpireDay *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_day,json=expireDay,proto3" json:"expire_day,omitempty"`
	// 逆指値条件
	StopOrder *StockStopOrder `protobuf:"bytes,12,opt,name=stop_order,json=stopOrder,proto3" json:"stop_order,omitempty"`
	// 仮想売買
	IsVirtual bool `protobuf:"varint,99,opt,name=is_virtual,json=isVirtual,proto3" json:"is_virtual,omitempty"`
	// contains filtered or unexported fields
}

注文発注(現物)リクエスト

func (*SendStockOrderRequest) Descriptor deprecated

func (*SendStockOrderRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendStockOrderRequest.ProtoReflect.Descriptor instead.

func (*SendStockOrderRequest) GetAccountType

func (x *SendStockOrderRequest) GetAccountType() AccountType

func (*SendStockOrderRequest) GetDeliveryType

func (x *SendStockOrderRequest) GetDeliveryType() DeliveryType

func (*SendStockOrderRequest) GetExchange

func (x *SendStockOrderRequest) GetExchange() StockExchange

func (*SendStockOrderRequest) GetExpireDay

func (x *SendStockOrderRequest) GetExpireDay() *timestamppb.Timestamp

func (*SendStockOrderRequest) GetFundType

func (x *SendStockOrderRequest) GetFundType() FundType

func (*SendStockOrderRequest) GetIsVirtual

func (x *SendStockOrderRequest) GetIsVirtual() bool

func (*SendStockOrderRequest) GetOrderType

func (x *SendStockOrderRequest) GetOrderType() StockOrderType

func (*SendStockOrderRequest) GetPassword

func (x *SendStockOrderRequest) GetPassword() string

func (*SendStockOrderRequest) GetPrice

func (x *SendStockOrderRequest) GetPrice() float64

func (*SendStockOrderRequest) GetQuantity

func (x *SendStockOrderRequest) GetQuantity() float64

func (*SendStockOrderRequest) GetSide

func (x *SendStockOrderRequest) GetSide() Side

func (*SendStockOrderRequest) GetStopOrder

func (x *SendStockOrderRequest) GetStopOrder() *StockStopOrder

func (*SendStockOrderRequest) GetSymbolCode

func (x *SendStockOrderRequest) GetSymbolCode() string

func (*SendStockOrderRequest) ProtoMessage

func (*SendStockOrderRequest) ProtoMessage()

func (*SendStockOrderRequest) ProtoReflect

func (x *SendStockOrderRequest) ProtoReflect() protoreflect.Message

func (*SendStockOrderRequest) Reset

func (x *SendStockOrderRequest) Reset()

func (*SendStockOrderRequest) String

func (x *SendStockOrderRequest) String() string

type Side

type Side int32

売買区分

const (
	Side_SIDE_UNSPECIFIED Side = 0 // 未指定
	Side_SIDE_BUY         Side = 1 // 買い
	Side_SIDE_SELL        Side = 2 // 売り
)

func (Side) Descriptor

func (Side) Descriptor() protoreflect.EnumDescriptor

func (Side) Enum

func (x Side) Enum() *Side

func (Side) EnumDescriptor deprecated

func (Side) EnumDescriptor() ([]byte, []int)

Deprecated: Use Side.Descriptor instead.

func (Side) Number

func (x Side) Number() protoreflect.EnumNumber

func (Side) String

func (x Side) String() string

func (Side) Type

func (Side) Type() protoreflect.EnumType

type SoftLimit

type SoftLimit struct {

	// 現物のワンショット上限
	//   単位は万円
	Stock float64 `protobuf:"fixed64,1,opt,name=stock,proto3" json:"stock,omitempty"`
	// 信用のワンショット上限
	//   単位は万円
	Margin float64 `protobuf:"fixed64,2,opt,name=margin,proto3" json:"margin,omitempty"`
	// 先物のワンショット上限
	//   単位は枚
	Future float64 `protobuf:"fixed64,3,opt,name=future,proto3" json:"future,omitempty"`
	// 先物ミニのワンショット上限
	//   単位は枚
	FutureMini float64 `protobuf:"fixed64,4,opt,name=future_mini,json=futureMini,proto3" json:"future_mini,omitempty"`
	// オプションのワンショット上限
	//   単位は枚
	Option float64 `protobuf:"fixed64,5,opt,name=option,proto3" json:"option,omitempty"`
	// kabuステーションのバージョン
	KabusVersion string `protobuf:"bytes,6,opt,name=kabus_version,json=kabusVersion,proto3" json:"kabus_version,omitempty"`
	// contains filtered or unexported fields
}

ソフトリミット

func (*SoftLimit) Descriptor deprecated

func (*SoftLimit) Descriptor() ([]byte, []int)

Deprecated: Use SoftLimit.ProtoReflect.Descriptor instead.

func (*SoftLimit) GetFuture

func (x *SoftLimit) GetFuture() float64

func (*SoftLimit) GetFutureMini

func (x *SoftLimit) GetFutureMini() float64

func (*SoftLimit) GetKabusVersion

func (x *SoftLimit) GetKabusVersion() string

func (*SoftLimit) GetMargin

func (x *SoftLimit) GetMargin() float64

func (*SoftLimit) GetOption

func (x *SoftLimit) GetOption() float64

func (*SoftLimit) GetStock

func (x *SoftLimit) GetStock() float64

func (*SoftLimit) ProtoMessage

func (*SoftLimit) ProtoMessage()

func (*SoftLimit) ProtoReflect

func (x *SoftLimit) ProtoReflect() protoreflect.Message

func (*SoftLimit) Reset

func (x *SoftLimit) Reset()

func (*SoftLimit) String

func (x *SoftLimit) String() string

type State

type State int32

状態

const (
	State_STATE_UNSPECIFIED State = 0 // 未指定
	State_STATE_WAIT        State = 1 // 待機(発注待機)
	State_STATE_PROCESSING  State = 2 // 処理中(発注送信中)
	State_STATE_PROCESSED   State = 3 // 処理済(発注済・訂正済)
	State_STATE_IN_MODIFY   State = 4 // 訂正取消送信中
	State_STATE_DONE        State = 5 // 終了(発注エラー・取消済・全約定・失効・期限切れ)
)

func (State) Descriptor

func (State) Descriptor() protoreflect.EnumDescriptor

func (State) Enum

func (x State) Enum() *State

func (State) EnumDescriptor deprecated

func (State) EnumDescriptor() ([]byte, []int)

Deprecated: Use State.Descriptor instead.

func (State) Number

func (x State) Number() protoreflect.EnumNumber

func (State) String

func (x State) String() string

func (State) Type

func (State) Type() protoreflect.EnumType

type StockAfterHitOrderType

type StockAfterHitOrderType int32

ヒット後執行条件(現物)

const (
	StockAfterHitOrderType_STOCK_AFTER_HIT_ORDER_TYPE_UNSPECIFIED StockAfterHitOrderType = 0 // 未指定
	StockAfterHitOrderType_STOCK_AFTER_HIT_ORDER_TYPE_MO          StockAfterHitOrderType = 1 // 成行
	StockAfterHitOrderType_STOCK_AFTER_HIT_ORDER_TYPE_LO          StockAfterHitOrderType = 2 // 指値
	StockAfterHitOrderType_STOCK_AFTER_HIT_ORDER_TYPE_FUNARI      StockAfterHitOrderType = 3 // 不成
)

func (StockAfterHitOrderType) Descriptor

func (StockAfterHitOrderType) Enum

func (StockAfterHitOrderType) EnumDescriptor deprecated

func (StockAfterHitOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StockAfterHitOrderType.Descriptor instead.

func (StockAfterHitOrderType) Number

func (StockAfterHitOrderType) String

func (x StockAfterHitOrderType) String() string

func (StockAfterHitOrderType) Type

type StockExchange

type StockExchange int32

株式市場

const (
	StockExchange_STOCK_EXCHANGE_UNSPECIFIED StockExchange = 0 // 指定なし
	StockExchange_STOCK_EXCHANGE_TOUSHOU     StockExchange = 1 // 東証
	StockExchange_STOCK_EXCHANGE_MEISHOU     StockExchange = 3 // 名証
	StockExchange_STOCK_EXCHANGE_FUKUSHOU    StockExchange = 5 // 福証
	StockExchange_STOCK_EXCHANGE_SATSUSHOU   StockExchange = 6 // 札証
)

func (StockExchange) Descriptor

func (StockExchange) Enum

func (x StockExchange) Enum() *StockExchange

func (StockExchange) EnumDescriptor deprecated

func (StockExchange) EnumDescriptor() ([]byte, []int)

Deprecated: Use StockExchange.Descriptor instead.

func (StockExchange) Number

func (StockExchange) String

func (x StockExchange) String() string

func (StockExchange) Type

type StockOrderType

type StockOrderType int32

株式執行条件

const (
	StockOrderType_STOCK_ORDER_TYPE_UNSPECIFIED StockOrderType = 0  // 未指定
	StockOrderType_STOCK_ORDER_TYPE_MO          StockOrderType = 10 // 成行 Market Order
	StockOrderType_STOCK_ORDER_TYPE_MOMO        StockOrderType = 13 // 寄成(前場) Market Order on Morning Opening
	StockOrderType_STOCK_ORDER_TYPE_MOAO        StockOrderType = 14 // 寄成(後場) Market Order on Afternoon Opening
	StockOrderType_STOCK_ORDER_TYPE_MOMC        StockOrderType = 15 // 引成(前場) Market Order on Morning Closing
	StockOrderType_STOCK_ORDER_TYPE_MOAC        StockOrderType = 16 // 引成(後場) Market Order on Afternoon Closing
	StockOrderType_STOCK_ORDER_TYPE_IOC_MO      StockOrderType = 17 // IOC成行 Immediate Or Cancel Market Order
	StockOrderType_STOCK_ORDER_TYPE_LO          StockOrderType = 20 // 指値 Limit Order
	StockOrderType_STOCK_ORDER_TYPE_LOMO        StockOrderType = 21 // 寄指(前場) Limit Order on Morning Opening
	StockOrderType_STOCK_ORDER_TYPE_LOAO        StockOrderType = 22 // 寄指(後場) Limit Order on Afternoon Opening
	StockOrderType_STOCK_ORDER_TYPE_LOMC        StockOrderType = 23 // 引指(前場) Limit Order on Morning Closing
	StockOrderType_STOCK_ORDER_TYPE_LOAC        StockOrderType = 24 // 引指(後場) Limit Order on Afternoon Closing
	StockOrderType_STOCK_ORDER_TYPE_FUNARI_M    StockOrderType = 25 // 不成(前場) Funari Mooning
	StockOrderType_STOCK_ORDER_TYPE_FUNARI_A    StockOrderType = 26 // 不成(後場) Funari Afternoon
	StockOrderType_STOCK_ORDER_TYPE_IOC_LO      StockOrderType = 27 // IOC指値 Immediate Or Cancel Limit Order
	StockOrderType_STOCK_ORDER_TYPE_STOP        StockOrderType = 30 // 逆指値 Stop Order
)

func (StockOrderType) Descriptor

func (StockOrderType) Enum

func (x StockOrderType) Enum() *StockOrderType

func (StockOrderType) EnumDescriptor deprecated

func (StockOrderType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StockOrderType.Descriptor instead.

func (StockOrderType) Number

func (StockOrderType) String

func (x StockOrderType) String() string

func (StockOrderType) Type

type StockStopOrder

type StockStopOrder struct {

	// トリガ銘柄
	TriggerType TriggerType `protobuf:"varint,1,opt,name=trigger_type,json=triggerType,proto3,enum=kabuspb.TriggerType" json:"trigger_type,omitempty"`
	// トリガ価格
	TriggerPrice float64 `protobuf:"fixed64,2,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
	// 以上・以下
	UnderOver UnderOver `protobuf:"varint,3,opt,name=under_over,json=underOver,proto3,enum=kabuspb.UnderOver" json:"under_over,omitempty"`
	// ヒット後執行条件
	AfterHitOrderType StockAfterHitOrderType `` /* 153-byte string literal not displayed */
	// ヒット後注文価格
	AfterHitPrice float64 `protobuf:"fixed64,5,opt,name=after_hit_price,json=afterHitPrice,proto3" json:"after_hit_price,omitempty"`
	// contains filtered or unexported fields
}

逆指値条件(現物)

func (*StockStopOrder) Descriptor deprecated

func (*StockStopOrder) Descriptor() ([]byte, []int)

Deprecated: Use StockStopOrder.ProtoReflect.Descriptor instead.

func (*StockStopOrder) GetAfterHitOrderType

func (x *StockStopOrder) GetAfterHitOrderType() StockAfterHitOrderType

func (*StockStopOrder) GetAfterHitPrice

func (x *StockStopOrder) GetAfterHitPrice() float64

func (*StockStopOrder) GetTriggerPrice

func (x *StockStopOrder) GetTriggerPrice() float64

func (*StockStopOrder) GetTriggerType

func (x *StockStopOrder) GetTriggerType() TriggerType

func (*StockStopOrder) GetUnderOver

func (x *StockStopOrder) GetUnderOver() UnderOver

func (*StockStopOrder) ProtoMessage

func (*StockStopOrder) ProtoMessage()

func (*StockStopOrder) ProtoReflect

func (x *StockStopOrder) ProtoReflect() protoreflect.Message

func (*StockStopOrder) Reset

func (x *StockStopOrder) Reset()

func (*StockStopOrder) String

func (x *StockStopOrder) String() string

type StockWallet

type StockWallet struct {

	// 現物買付可能額
	StockAccountWallet float64 `protobuf:"fixed64,1,opt,name=stock_account_wallet,json=stockAccountWallet,proto3" json:"stock_account_wallet,omitempty"`
	// contains filtered or unexported fields
}

取引余力(現物)

func (*StockWallet) Descriptor deprecated

func (*StockWallet) Descriptor() ([]byte, []int)

Deprecated: Use StockWallet.ProtoReflect.Descriptor instead.

func (*StockWallet) GetStockAccountWallet

func (x *StockWallet) GetStockAccountWallet() float64

func (*StockWallet) ProtoMessage

func (*StockWallet) ProtoMessage()

func (*StockWallet) ProtoReflect

func (x *StockWallet) ProtoReflect() protoreflect.Message

func (*StockWallet) Reset

func (x *StockWallet) Reset()

func (*StockWallet) String

func (x *StockWallet) String() string

type Symbol

type Symbol struct {

	// 銘柄コード
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// 銘柄名
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// 銘柄略称
	//   ※株式・先物・オプション銘柄の場合のみ
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// 市場コード
	//   株式・先物・オプション銘柄の場合のみ
	Exchange Exchange `protobuf:"varint,4,opt,name=exchange,proto3,enum=kabuspb.Exchange" json:"exchange,omitempty"`
	// 市場名称
	//   株式・先物・オプション銘柄の場合のみ
	ExchangeName string `protobuf:"bytes,5,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 業種コード名
	//   株式銘柄の場合のみ
	IndustryCategory string `protobuf:"bytes,6,opt,name=industry_category,json=industryCategory,proto3" json:"industry_category,omitempty"` // TODO enum
	// 時価総額
	//   株式銘柄の場合のみ
	TotalMarketValue float64 `protobuf:"fixed64,7,opt,name=total_market_value,json=totalMarketValue,proto3" json:"total_market_value,omitempty"`
	// 発行済み株式数(千株)
	//   株式銘柄の場合のみ
	TotalStocks float64 `protobuf:"fixed64,8,opt,name=total_stocks,json=totalStocks,proto3" json:"total_stocks,omitempty"`
	// 売買単位
	//   株式・先物・オプション銘柄の場合のみ
	TradingUnit float64 `protobuf:"fixed64,9,opt,name=trading_unit,json=tradingUnit,proto3" json:"trading_unit,omitempty"`
	// 決算期日
	//   株式銘柄の場合のみ
	FiscalYearEndBasic *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=fiscal_year_end_basic,json=fiscalYearEndBasic,proto3" json:"fiscal_year_end_basic,omitempty"`
	// 呼値グループ
	//   株式・先物・オプション銘柄の場合のみ
	PriceRangeGroup string `protobuf:"bytes,11,opt,name=price_range_group,json=priceRangeGroup,proto3" json:"price_range_group,omitempty"` // todo enum
	// 一般信用買建フラグ
	//   trueのとき一般信用買建可能
	//   株式銘柄の場合のみ
	KabucomMarginBuy bool `protobuf:"varint,12,opt,name=kabucom_margin_buy,json=kabucomMarginBuy,proto3" json:"kabucom_margin_buy,omitempty"`
	// 一般信用売建フラグ
	//   trueのとき一般信用売建可能
	//   株式銘柄の場合のみ
	KabucomMarginSell bool `protobuf:"varint,13,opt,name=kabucom_margin_sell,json=kabucomMarginSell,proto3" json:"kabucom_margin_sell,omitempty"`
	// 制度信用買建フラグ
	//   trueのとき制度信用買建可能
	//   株式銘柄の場合のみ
	MarginBuy bool `protobuf:"varint,14,opt,name=margin_buy,json=marginBuy,proto3" json:"margin_buy,omitempty"`
	// 制度信用売建フラグ
	//   trueのとき制度信用売建可能
	//   株式銘柄の場合のみ
	MarginSell bool `protobuf:"varint,15,opt,name=margin_sell,json=marginSell,proto3" json:"margin_sell,omitempty"`
	// 値幅上限
	//   株式・先物・オプション銘柄の場合のみ
	UpperLimit float64 `protobuf:"fixed64,16,opt,name=upper_limit,json=upperLimit,proto3" json:"upper_limit,omitempty"`
	// 値幅下限
	//   株式・先物・オプション銘柄の場合のみ
	LowerLimit float64 `protobuf:"fixed64,17,opt,name=lower_limit,json=lowerLimit,proto3" json:"lower_limit,omitempty"`
	// 原資産コード
	//   先物・オプション銘柄の場合のみ
	Underlyer string `protobuf:"bytes,18,opt,name=underlyer,proto3" json:"underlyer,omitempty"` // todo enum
	// 限月-年月
	//   先物・オプション銘柄の場合のみ
	DerivativeMonth *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=derivative_month,json=derivativeMonth,proto3" json:"derivative_month,omitempty"`
	// 取引開始日
	//   先物・オプション銘柄の場合のみ
	TradeStart *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=trade_start,json=tradeStart,proto3" json:"trade_start,omitempty"`
	// 取引終了日
	//   先物・オプション銘柄の場合のみ
	TradeEnd *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=trade_end,json=tradeEnd,proto3" json:"trade_end,omitempty"`
	// 権利行使価格
	//   オプション銘柄の場合のみ
	StrikePrice float64 `protobuf:"fixed64,22,opt,name=strike_price,json=strikePrice,proto3" json:"strike_price,omitempty"`
	// プット/コール区分
	//   オプション銘柄の場合のみ
	CallOrPut CallPut `protobuf:"varint,23,opt,name=call_or_put,json=callOrPut,proto3,enum=kabuspb.CallPut" json:"call_or_put,omitempty"`
	// 清算値
	//   先物銘柄の場合のみ
	ClearingPrice float64 `protobuf:"fixed64,24,opt,name=clearing_price,json=clearingPrice,proto3" json:"clearing_price,omitempty"`
	// contains filtered or unexported fields
}

銘柄

func (*Symbol) Descriptor deprecated

func (*Symbol) Descriptor() ([]byte, []int)

Deprecated: Use Symbol.ProtoReflect.Descriptor instead.

func (*Symbol) GetCallOrPut

func (x *Symbol) GetCallOrPut() CallPut

func (*Symbol) GetClearingPrice

func (x *Symbol) GetClearingPrice() float64

func (*Symbol) GetCode

func (x *Symbol) GetCode() string

func (*Symbol) GetDerivativeMonth

func (x *Symbol) GetDerivativeMonth() *timestamppb.Timestamp

func (*Symbol) GetDisplayName

func (x *Symbol) GetDisplayName() string

func (*Symbol) GetExchange

func (x *Symbol) GetExchange() Exchange

func (*Symbol) GetExchangeName

func (x *Symbol) GetExchangeName() string

func (*Symbol) GetFiscalYearEndBasic

func (x *Symbol) GetFiscalYearEndBasic() *timestamppb.Timestamp

func (*Symbol) GetIndustryCategory

func (x *Symbol) GetIndustryCategory() string

func (*Symbol) GetKabucomMarginBuy

func (x *Symbol) GetKabucomMarginBuy() bool

func (*Symbol) GetKabucomMarginSell

func (x *Symbol) GetKabucomMarginSell() bool

func (*Symbol) GetLowerLimit

func (x *Symbol) GetLowerLimit() float64

func (*Symbol) GetMarginBuy

func (x *Symbol) GetMarginBuy() bool

func (*Symbol) GetMarginSell

func (x *Symbol) GetMarginSell() bool

func (*Symbol) GetName

func (x *Symbol) GetName() string

func (*Symbol) GetPriceRangeGroup

func (x *Symbol) GetPriceRangeGroup() string

func (*Symbol) GetStrikePrice

func (x *Symbol) GetStrikePrice() float64

func (*Symbol) GetTotalMarketValue

func (x *Symbol) GetTotalMarketValue() float64

func (*Symbol) GetTotalStocks

func (x *Symbol) GetTotalStocks() float64

func (*Symbol) GetTradeEnd

func (x *Symbol) GetTradeEnd() *timestamppb.Timestamp

func (*Symbol) GetTradeStart

func (x *Symbol) GetTradeStart() *timestamppb.Timestamp

func (*Symbol) GetTradingUnit

func (x *Symbol) GetTradingUnit() float64

func (*Symbol) GetUnderlyer

func (x *Symbol) GetUnderlyer() string

func (*Symbol) GetUpperLimit

func (x *Symbol) GetUpperLimit() float64

func (*Symbol) ProtoMessage

func (*Symbol) ProtoMessage()

func (*Symbol) ProtoReflect

func (x *Symbol) ProtoReflect() protoreflect.Message

func (*Symbol) Reset

func (x *Symbol) Reset()

func (*Symbol) String

func (x *Symbol) String() string

type SymbolCodeInfo

type SymbolCodeInfo struct {

	// 銘柄コード
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// 銘柄名
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

銘柄コード情報

func (*SymbolCodeInfo) Descriptor deprecated

func (*SymbolCodeInfo) Descriptor() ([]byte, []int)

Deprecated: Use SymbolCodeInfo.ProtoReflect.Descriptor instead.

func (*SymbolCodeInfo) GetCode

func (x *SymbolCodeInfo) GetCode() string

func (*SymbolCodeInfo) GetName

func (x *SymbolCodeInfo) GetName() string

func (*SymbolCodeInfo) ProtoMessage

func (*SymbolCodeInfo) ProtoMessage()

func (*SymbolCodeInfo) ProtoReflect

func (x *SymbolCodeInfo) ProtoReflect() protoreflect.Message

func (*SymbolCodeInfo) Reset

func (x *SymbolCodeInfo) Reset()

func (*SymbolCodeInfo) String

func (x *SymbolCodeInfo) String() string

type TickRanking

type TickRanking struct {

	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// ランキング
	Ranking []*TickRankingInfo `protobuf:"bytes,3,rep,name=ranking,proto3" json:"ranking,omitempty"`
	// contains filtered or unexported fields
}

TICK回数ランキング

func (*TickRanking) Descriptor deprecated

func (*TickRanking) Descriptor() ([]byte, []int)

Deprecated: Use TickRanking.ProtoReflect.Descriptor instead.

func (*TickRanking) GetExchangeDivision

func (x *TickRanking) GetExchangeDivision() ExchangeDivision

func (*TickRanking) GetRanking

func (x *TickRanking) GetRanking() []*TickRankingInfo

func (*TickRanking) ProtoMessage

func (*TickRanking) ProtoMessage()

func (*TickRanking) ProtoReflect

func (x *TickRanking) ProtoReflect() protoreflect.Message

func (*TickRanking) Reset

func (x *TickRanking) Reset()

func (*TickRanking) String

func (x *TickRanking) String() string

type TickRankingInfo

type TickRankingInfo struct {

	// 順位
	No int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	// トレンド
	Trend RankingTrend `protobuf:"varint,2,opt,name=trend,proto3,enum=kabuspb.RankingTrend" json:"trend,omitempty"`
	// 平均順位
	//   100位以下は「999」となります
	AverageRanking float64 `protobuf:"fixed64,3,opt,name=average_ranking,json=averageRanking,proto3" json:"average_ranking,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,4,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名称
	SymbolName string `protobuf:"bytes,5,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 現在値
	CurrentPrice float64 `protobuf:"fixed64,6,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	// 前日比
	ChangeRatio float64 `protobuf:"fixed64,7,opt,name=change_ratio,json=changeRatio,proto3" json:"change_ratio,omitempty"`
	// TICK回数
	TickCount int32 `protobuf:"varint,8,opt,name=tick_count,json=tickCount,proto3" json:"tick_count,omitempty"`
	// UP
	UpCount int32 `protobuf:"varint,9,opt,name=up_count,json=upCount,proto3" json:"up_count,omitempty"`
	// DOWN
	DownCount int32 `protobuf:"varint,10,opt,name=down_count,json=downCount,proto3" json:"down_count,omitempty"`
	// 騰落率(%)
	ChangePercentage float64 `protobuf:"fixed64,11,opt,name=change_percentage,json=changePercentage,proto3" json:"change_percentage,omitempty"`
	// 売買高
	TradingVolume float64 `protobuf:"fixed64,12,opt,name=trading_volume,json=tradingVolume,proto3" json:"trading_volume,omitempty"`
	// 売買代金
	Turnover float64 `protobuf:"fixed64,13,opt,name=turnover,proto3" json:"turnover,omitempty"`
	// 市場名
	ExchangeName string `protobuf:"bytes,14,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 業種名
	IndustryName string `protobuf:"bytes,15,opt,name=industry_name,json=industryName,proto3" json:"industry_name,omitempty"`
	// contains filtered or unexported fields
}

TICK回数ランキング詳細

func (*TickRankingInfo) Descriptor deprecated

func (*TickRankingInfo) Descriptor() ([]byte, []int)

Deprecated: Use TickRankingInfo.ProtoReflect.Descriptor instead.

func (*TickRankingInfo) GetAverageRanking

func (x *TickRankingInfo) GetAverageRanking() float64

func (*TickRankingInfo) GetChangePercentage

func (x *TickRankingInfo) GetChangePercentage() float64

func (*TickRankingInfo) GetChangeRatio

func (x *TickRankingInfo) GetChangeRatio() float64

func (*TickRankingInfo) GetCurrentPrice

func (x *TickRankingInfo) GetCurrentPrice() float64

func (*TickRankingInfo) GetDownCount

func (x *TickRankingInfo) GetDownCount() int32

func (*TickRankingInfo) GetExchangeName

func (x *TickRankingInfo) GetExchangeName() string

func (*TickRankingInfo) GetIndustryName

func (x *TickRankingInfo) GetIndustryName() string

func (*TickRankingInfo) GetNo

func (x *TickRankingInfo) GetNo() int32

func (*TickRankingInfo) GetSymbolCode

func (x *TickRankingInfo) GetSymbolCode() string

func (*TickRankingInfo) GetSymbolName

func (x *TickRankingInfo) GetSymbolName() string

func (*TickRankingInfo) GetTickCount

func (x *TickRankingInfo) GetTickCount() int32

func (*TickRankingInfo) GetTradingVolume

func (x *TickRankingInfo) GetTradingVolume() float64

func (*TickRankingInfo) GetTrend

func (x *TickRankingInfo) GetTrend() RankingTrend

func (*TickRankingInfo) GetTurnover

func (x *TickRankingInfo) GetTurnover() float64

func (*TickRankingInfo) GetUpCount

func (x *TickRankingInfo) GetUpCount() int32

func (*TickRankingInfo) ProtoMessage

func (*TickRankingInfo) ProtoMessage()

func (*TickRankingInfo) ProtoReflect

func (x *TickRankingInfo) ProtoReflect() protoreflect.Message

func (*TickRankingInfo) Reset

func (x *TickRankingInfo) Reset()

func (*TickRankingInfo) String

func (x *TickRankingInfo) String() string

type TimeInForce

type TimeInForce int32

有効期間条件

const (
	TimeInForce_TIME_IN_FORCE_UNSPECIFIED TimeInForce = 0
	TimeInForce_TIME_IN_FORCE_FAS         TimeInForce = 1 // FAS (Fill And Store)
	TimeInForce_TIME_IN_FORCE_FAK         TimeInForce = 2 // FAK (Fill And Kill)
	TimeInForce_TIME_IN_FORCE_FOK         TimeInForce = 3 // FOK (Fill Or Kill)
)

func (TimeInForce) Descriptor

func (TimeInForce) Enum

func (x TimeInForce) Enum() *TimeInForce

func (TimeInForce) EnumDescriptor deprecated

func (TimeInForce) EnumDescriptor() ([]byte, []int)

Deprecated: Use TimeInForce.Descriptor instead.

func (TimeInForce) Number

func (x TimeInForce) Number() protoreflect.EnumNumber

func (TimeInForce) String

func (x TimeInForce) String() string

func (TimeInForce) Type

type Token

type Token struct {

	// トークン
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// 有効期限
	ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
	// contains filtered or unexported fields
}

トークン

func (*Token) Descriptor deprecated

func (*Token) Descriptor() ([]byte, []int)

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetExpiredAt

func (x *Token) GetExpiredAt() *timestamppb.Timestamp

func (*Token) GetToken

func (x *Token) GetToken() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type TradeType

type TradeType int32

取引区分

const (
	TradeType_TRADE_TYPE_UNSPECIFIED TradeType = 0 // 未指定
	TradeType_TRADE_TYPE_ENTRY       TradeType = 1 // 新規
	TradeType_TRADE_TYPE_EXIT        TradeType = 2 // 返済
)

func (TradeType) Descriptor

func (TradeType) Descriptor() protoreflect.EnumDescriptor

func (TradeType) Enum

func (x TradeType) Enum() *TradeType

func (TradeType) EnumDescriptor deprecated

func (TradeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TradeType.Descriptor instead.

func (TradeType) Number

func (x TradeType) Number() protoreflect.EnumNumber

func (TradeType) String

func (x TradeType) String() string

func (TradeType) Type

type TriggerType

type TriggerType int32

トリガ種別

const (
	TriggerType_TRIGGER_TYPE_UNSPECIFIED  TriggerType = 0 // 未指定
	TriggerType_TRIGGER_TYPE_ORDER_SYMBOL TriggerType = 1 // 発注銘柄
	TriggerType_TRIGGER_TYPE_NK225        TriggerType = 2 // NK225指数
	TriggerType_TRIGGER_TYPE_TOPIX        TriggerType = 3 // TOPIX指数
)

func (TriggerType) Descriptor

func (TriggerType) Enum

func (x TriggerType) Enum() *TriggerType

func (TriggerType) EnumDescriptor deprecated

func (TriggerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TriggerType.Descriptor instead.

func (TriggerType) Number

func (x TriggerType) Number() protoreflect.EnumNumber

func (TriggerType) String

func (x TriggerType) String() string

func (TriggerType) Type

type UnderOver

type UnderOver int32

以上・以下

const (
	UnderOver_UNDER_OVER_UNSPECIFIED UnderOver = 0 // 未指定
	UnderOver_UNDER_OVER_UNDER       UnderOver = 1 // 以下
	UnderOver_UNDER_OVER_OVER        UnderOver = 2 // 以上
)

func (UnderOver) Descriptor

func (UnderOver) Descriptor() protoreflect.EnumDescriptor

func (UnderOver) Enum

func (x UnderOver) Enum() *UnderOver

func (UnderOver) EnumDescriptor deprecated

func (UnderOver) EnumDescriptor() ([]byte, []int)

Deprecated: Use UnderOver.Descriptor instead.

func (UnderOver) Number

func (x UnderOver) Number() protoreflect.EnumNumber

func (UnderOver) String

func (x UnderOver) String() string

func (UnderOver) Type

type UnimplementedKabusServiceServer

type UnimplementedKabusServiceServer struct {
}

UnimplementedKabusServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedKabusServiceServer) CancelOrder

func (UnimplementedKabusServiceServer) GetBoard

func (UnimplementedKabusServiceServer) GetExchange

func (UnimplementedKabusServiceServer) GetFutureSymbolCodeInfo

func (UnimplementedKabusServiceServer) GetFutureWallet

func (UnimplementedKabusServiceServer) GetIndustryRanking

func (UnimplementedKabusServiceServer) GetMarginRanking

func (UnimplementedKabusServiceServer) GetMarginWallet

func (UnimplementedKabusServiceServer) GetOptionSymbolCodeInfo

func (UnimplementedKabusServiceServer) GetOptionWallet

func (UnimplementedKabusServiceServer) GetOrders

func (UnimplementedKabusServiceServer) GetPositions

func (UnimplementedKabusServiceServer) GetPriceRanking

func (UnimplementedKabusServiceServer) GetPrimaryExchange

func (UnimplementedKabusServiceServer) GetRegisteredSymbols

func (UnimplementedKabusServiceServer) GetRegulation

func (UnimplementedKabusServiceServer) GetSoftLimit

func (UnimplementedKabusServiceServer) GetStockWallet

func (UnimplementedKabusServiceServer) GetSymbol

func (UnimplementedKabusServiceServer) GetTickRanking

func (UnimplementedKabusServiceServer) GetValueRanking

func (UnimplementedKabusServiceServer) GetVolumeRanking

func (UnimplementedKabusServiceServer) RegisterSymbols

func (UnimplementedKabusServiceServer) SendFutureOrder

func (UnimplementedKabusServiceServer) SendMarginOrder

func (UnimplementedKabusServiceServer) SendOptionOrder

func (UnimplementedKabusServiceServer) SendStockOrder

func (UnimplementedKabusServiceServer) UnregisterAllSymbols

func (UnimplementedKabusServiceServer) UnregisterSymbols

type UnregisterAllSymbolsRequest

type UnregisterAllSymbolsRequest struct {

	// ツール名
	RequesterName string `protobuf:"bytes,1,opt,name=requester_name,json=requesterName,proto3" json:"requester_name,omitempty"`
	// contains filtered or unexported fields
}

銘柄登録全解除リクエスト

func (*UnregisterAllSymbolsRequest) Descriptor deprecated

func (*UnregisterAllSymbolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnregisterAllSymbolsRequest.ProtoReflect.Descriptor instead.

func (*UnregisterAllSymbolsRequest) GetRequesterName

func (x *UnregisterAllSymbolsRequest) GetRequesterName() string

func (*UnregisterAllSymbolsRequest) ProtoMessage

func (*UnregisterAllSymbolsRequest) ProtoMessage()

func (*UnregisterAllSymbolsRequest) ProtoReflect

func (*UnregisterAllSymbolsRequest) Reset

func (x *UnregisterAllSymbolsRequest) Reset()

func (*UnregisterAllSymbolsRequest) String

func (x *UnregisterAllSymbolsRequest) String() string

type UnregisterSymbolsRequest

type UnregisterSymbolsRequest struct {

	// ツール名
	RequesterName string `protobuf:"bytes,2,opt,name=requester_name,json=requesterName,proto3" json:"requester_name,omitempty"`
	// 登録解除する銘柄のリスト
	Symbols []*RegisterSymbol `protobuf:"bytes,1,rep,name=symbols,proto3" json:"symbols,omitempty"`
	// contains filtered or unexported fields
}

銘柄登録解除リクエスト

func (*UnregisterSymbolsRequest) Descriptor deprecated

func (*UnregisterSymbolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnregisterSymbolsRequest.ProtoReflect.Descriptor instead.

func (*UnregisterSymbolsRequest) GetRequesterName

func (x *UnregisterSymbolsRequest) GetRequesterName() string

func (*UnregisterSymbolsRequest) GetSymbols

func (x *UnregisterSymbolsRequest) GetSymbols() []*RegisterSymbol

func (*UnregisterSymbolsRequest) ProtoMessage

func (*UnregisterSymbolsRequest) ProtoMessage()

func (*UnregisterSymbolsRequest) ProtoReflect

func (x *UnregisterSymbolsRequest) ProtoReflect() protoreflect.Message

func (*UnregisterSymbolsRequest) Reset

func (x *UnregisterSymbolsRequest) Reset()

func (*UnregisterSymbolsRequest) String

func (x *UnregisterSymbolsRequest) String() string

type UnsafeKabusServiceServer

type UnsafeKabusServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeKabusServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KabusServiceServer will result in compilation errors.

type ValueRanking

type ValueRanking struct {

	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// ランキング
	Ranking []*ValueRankingInfo `protobuf:"bytes,3,rep,name=ranking,proto3" json:"ranking,omitempty"`
	// contains filtered or unexported fields
}

売買代金ランキング

func (*ValueRanking) Descriptor deprecated

func (*ValueRanking) Descriptor() ([]byte, []int)

Deprecated: Use ValueRanking.ProtoReflect.Descriptor instead.

func (*ValueRanking) GetExchangeDivision

func (x *ValueRanking) GetExchangeDivision() ExchangeDivision

func (*ValueRanking) GetRanking

func (x *ValueRanking) GetRanking() []*ValueRankingInfo

func (*ValueRanking) ProtoMessage

func (*ValueRanking) ProtoMessage()

func (*ValueRanking) ProtoReflect

func (x *ValueRanking) ProtoReflect() protoreflect.Message

func (*ValueRanking) Reset

func (x *ValueRanking) Reset()

func (*ValueRanking) String

func (x *ValueRanking) String() string

type ValueRankingInfo

type ValueRankingInfo struct {

	// 順位
	No int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	// トレンド
	Trend RankingTrend `protobuf:"varint,2,opt,name=trend,proto3,enum=kabuspb.RankingTrend" json:"trend,omitempty"`
	// 平均順位
	//   100位以下は「999」となります
	AverageRanking float64 `protobuf:"fixed64,3,opt,name=average_ranking,json=averageRanking,proto3" json:"average_ranking,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,4,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名称
	SymbolName string `protobuf:"bytes,5,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 現在値
	CurrentPrice float64 `protobuf:"fixed64,6,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	// 前日比
	ChangeRatio float64 `protobuf:"fixed64,7,opt,name=change_ratio,json=changeRatio,proto3" json:"change_ratio,omitempty"`
	// 代金急増(%)
	RapidPaymentPercentage float64 `` /* 131-byte string literal not displayed */
	// 売買代金
	Turnover float64 `protobuf:"fixed64,9,opt,name=turnover,proto3" json:"turnover,omitempty"`
	// 時刻 HH:mm
	//   日付は返しません
	CurrentPriceTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=current_price_time,json=currentPriceTime,proto3" json:"current_price_time,omitempty"`
	// 騰落率(%)
	ChangePercentage float64 `protobuf:"fixed64,11,opt,name=change_percentage,json=changePercentage,proto3" json:"change_percentage,omitempty"`
	// 市場名
	ExchangeName string `protobuf:"bytes,12,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 業種名
	IndustryName string `protobuf:"bytes,13,opt,name=industry_name,json=industryName,proto3" json:"industry_name,omitempty"`
	// contains filtered or unexported fields
}

売買代金ランキング詳細

func (*ValueRankingInfo) Descriptor deprecated

func (*ValueRankingInfo) Descriptor() ([]byte, []int)

Deprecated: Use ValueRankingInfo.ProtoReflect.Descriptor instead.

func (*ValueRankingInfo) GetAverageRanking

func (x *ValueRankingInfo) GetAverageRanking() float64

func (*ValueRankingInfo) GetChangePercentage

func (x *ValueRankingInfo) GetChangePercentage() float64

func (*ValueRankingInfo) GetChangeRatio

func (x *ValueRankingInfo) GetChangeRatio() float64

func (*ValueRankingInfo) GetCurrentPrice

func (x *ValueRankingInfo) GetCurrentPrice() float64

func (*ValueRankingInfo) GetCurrentPriceTime

func (x *ValueRankingInfo) GetCurrentPriceTime() *timestamppb.Timestamp

func (*ValueRankingInfo) GetExchangeName

func (x *ValueRankingInfo) GetExchangeName() string

func (*ValueRankingInfo) GetIndustryName

func (x *ValueRankingInfo) GetIndustryName() string

func (*ValueRankingInfo) GetNo

func (x *ValueRankingInfo) GetNo() int32

func (*ValueRankingInfo) GetRapidPaymentPercentage

func (x *ValueRankingInfo) GetRapidPaymentPercentage() float64

func (*ValueRankingInfo) GetSymbolCode

func (x *ValueRankingInfo) GetSymbolCode() string

func (*ValueRankingInfo) GetSymbolName

func (x *ValueRankingInfo) GetSymbolName() string

func (*ValueRankingInfo) GetTrend

func (x *ValueRankingInfo) GetTrend() RankingTrend

func (*ValueRankingInfo) GetTurnover

func (x *ValueRankingInfo) GetTurnover() float64

func (*ValueRankingInfo) ProtoMessage

func (*ValueRankingInfo) ProtoMessage()

func (*ValueRankingInfo) ProtoReflect

func (x *ValueRankingInfo) ProtoReflect() protoreflect.Message

func (*ValueRankingInfo) Reset

func (x *ValueRankingInfo) Reset()

func (*ValueRankingInfo) String

func (x *ValueRankingInfo) String() string

type VolumeRanking

type VolumeRanking struct {

	// 市場・上場部
	ExchangeDivision ExchangeDivision `` /* 140-byte string literal not displayed */
	// ランキング
	Ranking []*VolumeRankingInfo `protobuf:"bytes,3,rep,name=ranking,proto3" json:"ranking,omitempty"`
	// contains filtered or unexported fields
}

売買高ランキング

func (*VolumeRanking) Descriptor deprecated

func (*VolumeRanking) Descriptor() ([]byte, []int)

Deprecated: Use VolumeRanking.ProtoReflect.Descriptor instead.

func (*VolumeRanking) GetExchangeDivision

func (x *VolumeRanking) GetExchangeDivision() ExchangeDivision

func (*VolumeRanking) GetRanking

func (x *VolumeRanking) GetRanking() []*VolumeRankingInfo

func (*VolumeRanking) ProtoMessage

func (*VolumeRanking) ProtoMessage()

func (*VolumeRanking) ProtoReflect

func (x *VolumeRanking) ProtoReflect() protoreflect.Message

func (*VolumeRanking) Reset

func (x *VolumeRanking) Reset()

func (*VolumeRanking) String

func (x *VolumeRanking) String() string

type VolumeRankingInfo

type VolumeRankingInfo struct {

	// 順位
	No int32 `protobuf:"varint,1,opt,name=no,proto3" json:"no,omitempty"`
	// トレンド
	Trend RankingTrend `protobuf:"varint,2,opt,name=trend,proto3,enum=kabuspb.RankingTrend" json:"trend,omitempty"`
	// 平均順位
	//   100位以下は「999」となります
	AverageRanking float64 `protobuf:"fixed64,3,opt,name=average_ranking,json=averageRanking,proto3" json:"average_ranking,omitempty"`
	// 銘柄コード
	SymbolCode string `protobuf:"bytes,4,opt,name=symbol_code,json=symbolCode,proto3" json:"symbol_code,omitempty"`
	// 銘柄名称
	SymbolName string `protobuf:"bytes,5,opt,name=symbol_name,json=symbolName,proto3" json:"symbol_name,omitempty"`
	// 現在値
	CurrentPrice float64 `protobuf:"fixed64,6,opt,name=current_price,json=currentPrice,proto3" json:"current_price,omitempty"`
	// 前日比
	ChangeRatio float64 `protobuf:"fixed64,7,opt,name=change_ratio,json=changeRatio,proto3" json:"change_ratio,omitempty"`
	// 売買高急増(%)
	RapidTradePercentage float64 `protobuf:"fixed64,8,opt,name=rapid_trade_percentage,json=rapidTradePercentage,proto3" json:"rapid_trade_percentage,omitempty"`
	// 売買高
	TradingVolume float64 `protobuf:"fixed64,9,opt,name=trading_volume,json=tradingVolume,proto3" json:"trading_volume,omitempty"`
	// 時刻 HH:mm
	//   日付は返しません
	CurrentPriceTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=current_price_time,json=currentPriceTime,proto3" json:"current_price_time,omitempty"`
	// 騰落率(%)
	ChangePercentage float64 `protobuf:"fixed64,11,opt,name=change_percentage,json=changePercentage,proto3" json:"change_percentage,omitempty"`
	// 市場名
	ExchangeName string `protobuf:"bytes,12,opt,name=exchange_name,json=exchangeName,proto3" json:"exchange_name,omitempty"`
	// 業種名
	IndustryName string `protobuf:"bytes,13,opt,name=industry_name,json=industryName,proto3" json:"industry_name,omitempty"`
	// contains filtered or unexported fields
}

売買高ランキング詳細

func (*VolumeRankingInfo) Descriptor deprecated

func (*VolumeRankingInfo) Descriptor() ([]byte, []int)

Deprecated: Use VolumeRankingInfo.ProtoReflect.Descriptor instead.

func (*VolumeRankingInfo) GetAverageRanking

func (x *VolumeRankingInfo) GetAverageRanking() float64

func (*VolumeRankingInfo) GetChangePercentage

func (x *VolumeRankingInfo) GetChangePercentage() float64

func (*VolumeRankingInfo) GetChangeRatio

func (x *VolumeRankingInfo) GetChangeRatio() float64

func (*VolumeRankingInfo) GetCurrentPrice

func (x *VolumeRankingInfo) GetCurrentPrice() float64

func (*VolumeRankingInfo) GetCurrentPriceTime

func (x *VolumeRankingInfo) GetCurrentPriceTime() *timestamppb.Timestamp

func (*VolumeRankingInfo) GetExchangeName

func (x *VolumeRankingInfo) GetExchangeName() string

func (*VolumeRankingInfo) GetIndustryName

func (x *VolumeRankingInfo) GetIndustryName() string

func (*VolumeRankingInfo) GetNo

func (x *VolumeRankingInfo) GetNo() int32

func (*VolumeRankingInfo) GetRapidTradePercentage

func (x *VolumeRankingInfo) GetRapidTradePercentage() float64

func (*VolumeRankingInfo) GetSymbolCode

func (x *VolumeRankingInfo) GetSymbolCode() string

func (*VolumeRankingInfo) GetSymbolName

func (x *VolumeRankingInfo) GetSymbolName() string

func (*VolumeRankingInfo) GetTradingVolume

func (x *VolumeRankingInfo) GetTradingVolume() float64

func (*VolumeRankingInfo) GetTrend

func (x *VolumeRankingInfo) GetTrend() RankingTrend

func (*VolumeRankingInfo) ProtoMessage

func (*VolumeRankingInfo) ProtoMessage()

func (*VolumeRankingInfo) ProtoReflect

func (x *VolumeRankingInfo) ProtoReflect() protoreflect.Message

func (*VolumeRankingInfo) Reset

func (x *VolumeRankingInfo) Reset()

func (*VolumeRankingInfo) String

func (x *VolumeRankingInfo) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL