Module: KabustationClient

Defined in:
lib/kabustation_client/version.rb,
lib/kabustation_client.rb,
lib/kabustation_client/api_error.rb,
lib/kabustation_client/api_client.rb,
lib/kabustation_client/push_client.rb,
lib/kabustation_client/api/auth_api.rb,
lib/kabustation_client/api/info_api.rb,
lib/kabustation_client/api/order_api.rb,
lib/kabustation_client/configuration.rb,
lib/kabustation_client/api/wallet_api.rb,
lib/kabustation_client/api/register_api.rb,
lib/kabustation_client/models/positions.rb,
lib/kabustation_client/models/board_success.rb,
lib/kabustation_client/models/order_success.rb,
lib/kabustation_client/models/request_token.rb,
lib/kabustation_client/models/token_success.rb,
lib/kabustation_client/models/error_response.rb,
lib/kabustation_client/models/orders_success.rb,
lib/kabustation_client/models/regist_success.rb,
lib/kabustation_client/models/symbol_success.rb,
lib/kabustation_client/models/positions_deriv.rb,
lib/kabustation_client/models/request_register.rb,
lib/kabustation_client/models/exchange_response.rb,
lib/kabustation_client/models/positions_success.rb,
lib/kabustation_client/models/board_success_buy1.rb,
lib/kabustation_client/models/board_success_buy2.rb,
lib/kabustation_client/models/board_success_buy3.rb,
lib/kabustation_client/models/board_success_buy4.rb,
lib/kabustation_client/models/board_success_buy5.rb,
lib/kabustation_client/models/board_success_buy6.rb,
lib/kabustation_client/models/board_success_buy7.rb,
lib/kabustation_client/models/board_success_buy8.rb,
lib/kabustation_client/models/board_success_buy9.rb,
lib/kabustation_client/models/request_send_order.rb,
lib/kabustation_client/models/request_unregister.rb,
lib/kabustation_client/models/board_success_buy10.rb,
lib/kabustation_client/models/board_success_sell1.rb,
lib/kabustation_client/models/board_success_sell2.rb,
lib/kabustation_client/models/board_success_sell3.rb,
lib/kabustation_client/models/board_success_sell4.rb,
lib/kabustation_client/models/board_success_sell5.rb,
lib/kabustation_client/models/board_success_sell6.rb,
lib/kabustation_client/models/board_success_sell7.rb,
lib/kabustation_client/models/board_success_sell8.rb,
lib/kabustation_client/models/board_success_sell9.rb,
lib/kabustation_client/models/symbol_name_success.rb,
lib/kabustation_client/models/wallet_cash_success.rb,
lib/kabustation_client/models/board_success_sell10.rb,
lib/kabustation_client/models/regulations_response.rb,
lib/kabustation_client/models/request_cancel_order.rb,
lib/kabustation_client/models/wallet_future_success.rb,
lib/kabustation_client/models/wallet_margin_success.rb,
lib/kabustation_client/models/wallet_option_success.rb,
lib/kabustation_client/models/unregister_all_success.rb,
lib/kabustation_client/models/api_soft_limit_response.rb,
lib/kabustation_client/models/margin_premium_response.rb,
lib/kabustation_client/models/ranking_get200_response.rb,
lib/kabustation_client/models/ranking_default_response.rb,
lib/kabustation_client/models/primary_exchange_response.rb,
lib/kabustation_client/models/ranking_by_margin_response.rb,
lib/kabustation_client/models/orders_success_details_inner.rb,
lib/kabustation_client/models/ranking_by_category_response.rb,
lib/kabustation_client/models/ranking_by_tick_count_response.rb,
lib/kabustation_client/models/request_register_symbols_inner.rb,
lib/kabustation_client/models/ranking_by_trade_value_response.rb,
lib/kabustation_client/models/request_send_order_deriv_future.rb,
lib/kabustation_client/models/request_send_order_deriv_option.rb,
lib/kabustation_client/models/ranking_by_trade_volume_response.rb,
lib/kabustation_client/models/margin_premium_response_day_trade.rb,
lib/kabustation_client/models/margin_premium_response_general_margin.rb,
lib/kabustation_client/models/ranking_default_response_ranking_inner.rb,
lib/kabustation_client/models/request_send_order_reverse_limit_order.rb,
lib/kabustation_client/models/ranking_by_margin_response_ranking_inner.rb,
lib/kabustation_client/models/ranking_by_category_response_ranking_inner.rb,
lib/kabustation_client/models/regulations_response_regulations_info_inner.rb,
lib/kabustation_client/models/ranking_by_tick_count_response_ranking_inner.rb,
lib/kabustation_client/models/ranking_by_trade_value_response_ranking_inner.rb,
lib/kabustation_client/models/ranking_by_trade_volume_response_ranking_inner.rb,
lib/kabustation_client/models/request_send_order_deriv_future_reverse_limit_order.rb

Overview

#kabuステーションAPI

## 定義情報 REST APIのコード一覧、エンドポイントは下記リンク参照 - [REST APIコード一覧](../ptal/error.html)

The version of the OpenAPI document: 1.5

Generated by: openapi-generator.tech Generator version: 7.4.0

Defined Under Namespace

Modules: RankingGet200Response Classes: ApiClient, ApiError, ApiSoftLimitResponse, AuthApi, BoardSuccess, BoardSuccessBuy1, BoardSuccessBuy10, BoardSuccessBuy2, BoardSuccessBuy3, BoardSuccessBuy4, BoardSuccessBuy5, BoardSuccessBuy6, BoardSuccessBuy7, BoardSuccessBuy8, BoardSuccessBuy9, BoardSuccessSell1, BoardSuccessSell10, BoardSuccessSell2, BoardSuccessSell3, BoardSuccessSell4, BoardSuccessSell5, BoardSuccessSell6, BoardSuccessSell7, BoardSuccessSell8, BoardSuccessSell9, Configuration, ErrorResponse, ExchangeResponse, InfoApi, MarginPremiumResponse, MarginPremiumResponseDayTrade, MarginPremiumResponseGeneralMargin, OrderApi, OrderSuccess, OrdersSuccess, OrdersSuccessDetailsInner, Positions, PositionsDeriv, PositionsSuccess, PrimaryExchangeResponse, PushClient, RankingByCategoryResponse, RankingByCategoryResponseRankingInner, RankingByMarginResponse, RankingByMarginResponseRankingInner, RankingByTickCountResponse, RankingByTickCountResponseRankingInner, RankingByTradeValueResponse, RankingByTradeValueResponseRankingInner, RankingByTradeVolumeResponse, RankingByTradeVolumeResponseRankingInner, RankingDefaultResponse, RankingDefaultResponseRankingInner, RegistSuccess, RegisterApi, RegulationsResponse, RegulationsResponseRegulationsInfoInner, RequestCancelOrder, RequestRegister, RequestRegisterSymbolsInner, RequestSendOrder, RequestSendOrderDerivFuture, RequestSendOrderDerivFutureReverseLimitOrder, RequestSendOrderDerivOption, RequestSendOrderReverseLimitOrder, RequestToken, RequestUnregister, SymbolNameSuccess, SymbolSuccess, TokenSuccess, UnregisterAllSuccess, WalletApi, WalletCashSuccess, WalletFutureSuccess, WalletMarginSuccess, WalletOptionSuccess

Constant Summary collapse

VERSION =
'1.2.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

KabustationClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



107
108
109
110
111
112
113
# File 'lib/kabustation_client.rb', line 107

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end