kabuspb

package
Version: v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 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