Skip to content

Commit

Permalink
Regenerate SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
konfig-publisher committed May 8, 2024
1 parent 78fd275 commit 81e50fc
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cc239da8-3943-462c-9745-ce075ed483c7
d75caf17-dbdc-47f9-80bc-e595fd794650
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ Number of days in the past to fetch the most recent orders. Defaults to the last

### `snaptrade.accountInformation.getUserAccountPositions`<a id="snaptradeaccountinformationgetuseraccountpositions"></a>

Returns a list of positions in the the specified account.
Returns a list of positions in the specified account.


#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -705,7 +705,7 @@ SnapTrade User Secret randomly generated by SnapTrade. This should be considered

### `snaptrade.connections.detailBrokerageAuthorization`<a id="snaptradeconnectionsdetailbrokerageauthorization"></a>

Get brokerage authorization details
Returns a single brokerage authorization object for the specified ID.


#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -744,7 +744,7 @@ The ID of a brokerage authorization object.

### `snaptrade.connections.listBrokerageAuthorizations`<a id="snaptradeconnectionslistbrokerageauthorizations"></a>

List all brokerage authorizations for the user
Returns a list of Brokerage Autherization objects for the specified userId.


#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -778,7 +778,7 @@ $result = $snaptrade->connections->listBrokerageAuthorizations(

### `snaptrade.connections.removeBrokerageAuthorization`<a id="snaptradeconnectionsremovebrokerageauthorization"></a>

Delete brokerage authorization
Deletes a specified brokerage authorization given by the ID.


#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -817,7 +817,7 @@ void (empty response body)

### `snaptrade.connections.sessionEvents`<a id="snaptradeconnectionssessionevents"></a>

List all session events for the partner
Returns a list of session events associated with a user.


#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -858,7 +858,8 @@ Optional comma seperated list of session IDs used to filter the request on speci

### `snaptrade.options.getOptionStrategy`<a id="snaptradeoptionsgetoptionstrategy"></a>

Creates an option strategy object that will be used to place an option strategy order
Creates an option strategy object that will be used to place an option strategy order.



#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -912,7 +913,7 @@ The ID of the account to create the option strategy object in.

### `snaptrade.options.getOptionsChain`<a id="snaptradeoptionsgetoptionschain"></a>

Get the options chain
Returns the option chain for the specified symbol in the specified account.


#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -956,7 +957,8 @@ Universal symbol ID if symbol

### `snaptrade.options.getOptionsStrategyQuote`<a id="snaptradeoptionsgetoptionsstrategyquote"></a>

Get latest market data of option strategy
Returns a Strategy Quotes object which has latest market data of the specified option strategy.



#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -1000,7 +1002,8 @@ Option strategy id obtained from response when creating option strategy object

### `snaptrade.options.listOptionHoldings`<a id="snaptradeoptionslistoptionholdings"></a>

Get the options holdings in the account
Returns a list of Options Positions.



#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down Expand Up @@ -1039,7 +1042,7 @@ The ID of the account to fetch options holdings for.

### `snaptrade.options.placeOptionStrategy`<a id="snaptradeoptionsplaceoptionstrategy"></a>

Place an option strategy order on the brokerage
Places the option strategy order and returns the order record received from the brokerage.


#### 🛠️ Usage<a id="🛠️-usage"></a>
Expand Down
16 changes: 8 additions & 8 deletions lib/Api/ConnectionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ public function detailBrokerageAuthorizationRequest($authorization_id, $user_id,
/**
* Operation listBrokerageAuthorizations
*
* List all brokerage authorizations for the user
* List all brokerage authorizations for the User
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
Expand All @@ -570,7 +570,7 @@ public function listBrokerageAuthorizations(
/**
* Operation listBrokerageAuthorizationsWithHttpInfo
*
* List all brokerage authorizations for the user
* List all brokerage authorizations for the User
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -689,7 +689,7 @@ public function listBrokerageAuthorizationsWithHttpInfo($user_id, $user_secret,
/**
* Operation listBrokerageAuthorizationsAsync
*
* List all brokerage authorizations for the user
* List all brokerage authorizations for the User
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -718,7 +718,7 @@ function ($response) {
/**
* Operation listBrokerageAuthorizationsAsyncWithHttpInfo
*
* List all brokerage authorizations for the user
* List all brokerage authorizations for the User
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1261,7 +1261,7 @@ public function removeBrokerageAuthorizationRequest($authorization_id, $user_id,
/**
* Operation sessionEvents
*
* List all session events for the partner
* Get all session events for a user
*
* @param string $partner_client_id partner_client_id (required)
* @param string $user_id Optional comma seperated list of user IDs used to filter the request on specific users (optional)
Expand All @@ -1288,7 +1288,7 @@ public function sessionEvents(
/**
* Operation sessionEventsWithHttpInfo
*
* List all session events for the partner
* Get all session events for a user
*
* @param string $partner_client_id (required)
* @param string $user_id Optional comma seperated list of user IDs used to filter the request on specific users (optional)
Expand Down Expand Up @@ -1409,7 +1409,7 @@ public function sessionEventsWithHttpInfo($partner_client_id, $user_id = null, $
/**
* Operation sessionEventsAsync
*
* List all session events for the partner
* Get all session events for a user
*
* @param string $partner_client_id (required)
* @param string $user_id Optional comma seperated list of user IDs used to filter the request on specific users (optional)
Expand Down Expand Up @@ -1440,7 +1440,7 @@ function ($response) {
/**
* Operation sessionEventsAsyncWithHttpInfo
*
* List all session events for the partner
* Get all session events for a user
*
* @param string $partner_client_id (required)
* @param string $user_id Optional comma seperated list of user IDs used to filter the request on specific users (optional)
Expand Down
40 changes: 20 additions & 20 deletions lib/Api/OptionsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private function setRequestBodyProperty(&$body, $property, $value) {
/**
* Operation getOptionStrategy
*
* Creates an option strategy object that will be used to place an option strategy order
* Create options strategy
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
Expand Down Expand Up @@ -186,7 +186,7 @@ public function getOptionStrategy(
/**
* Operation getOptionStrategyWithHttpInfo
*
* Creates an option strategy object that will be used to place an option strategy order
* Create options strategy
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -332,7 +332,7 @@ public function getOptionStrategyWithHttpInfo($user_id, $user_secret, $account_i
/**
* Operation getOptionStrategyAsync
*
* Creates an option strategy object that will be used to place an option strategy order
* Create options strategy
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -372,7 +372,7 @@ function ($response) {
/**
* Operation getOptionStrategyAsyncWithHttpInfo
*
* Creates an option strategy object that will be used to place an option strategy order
* Create options strategy
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -614,7 +614,7 @@ public function getOptionStrategyRequest($user_id, $user_secret, $account_id, $o
/**
* Operation getOptionsChain
*
* Get the options chain
* Get the options chain for a symbol
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
Expand Down Expand Up @@ -643,7 +643,7 @@ public function getOptionsChain(
/**
* Operation getOptionsChainWithHttpInfo
*
* Get the options chain
* Get the options chain for a symbol
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -789,7 +789,7 @@ public function getOptionsChainWithHttpInfo($user_id, $user_secret, $account_id,
/**
* Operation getOptionsChainAsync
*
* Get the options chain
* Get the options chain for a symbol
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -822,7 +822,7 @@ function ($response) {
/**
* Operation getOptionsChainAsyncWithHttpInfo
*
* Get the options chain
* Get the options chain for a symbol
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1064,7 +1064,7 @@ public function getOptionsChainRequest($user_id, $user_secret, $account_id, $sym
/**
* Operation getOptionsStrategyQuote
*
* Get latest market data of option strategy
* Get options strategy quotes
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
Expand Down Expand Up @@ -1093,7 +1093,7 @@ public function getOptionsStrategyQuote(
/**
* Operation getOptionsStrategyQuoteWithHttpInfo
*
* Get latest market data of option strategy
* Get options strategy quotes
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1239,7 +1239,7 @@ public function getOptionsStrategyQuoteWithHttpInfo($user_id, $user_secret, $acc
/**
* Operation getOptionsStrategyQuoteAsync
*
* Get latest market data of option strategy
* Get options strategy quotes
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1272,7 +1272,7 @@ function ($response) {
/**
* Operation getOptionsStrategyQuoteAsyncWithHttpInfo
*
* Get latest market data of option strategy
* Get options strategy quotes
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1511,7 +1511,7 @@ public function getOptionsStrategyQuoteRequest($user_id, $user_secret, $account_
/**
* Operation listOptionHoldings
*
* Get the options holdings in the account
* Get account option holdings
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
Expand All @@ -1538,7 +1538,7 @@ public function listOptionHoldings(
/**
* Operation listOptionHoldingsWithHttpInfo
*
* Get the options holdings in the account
* Get account option holdings
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1682,7 +1682,7 @@ public function listOptionHoldingsWithHttpInfo($user_id, $user_secret, $account_
/**
* Operation listOptionHoldingsAsync
*
* Get the options holdings in the account
* Get account option holdings
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1713,7 +1713,7 @@ function ($response) {
/**
* Operation listOptionHoldingsAsyncWithHttpInfo
*
* Get the options holdings in the account
* Get account option holdings
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -1932,7 +1932,7 @@ public function listOptionHoldingsRequest($user_id, $user_secret, $account_id, s
/**
* Operation placeOptionStrategy
*
* Place an option strategy order on the brokerage
* Place an option strategy order
*
* @param string $user_id user_id (required)
* @param string $user_secret user_secret (required)
Expand Down Expand Up @@ -1970,7 +1970,7 @@ public function placeOptionStrategy(
/**
* Operation placeOptionStrategyWithHttpInfo
*
* Place an option strategy order on the brokerage
* Place an option strategy order
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -2118,7 +2118,7 @@ public function placeOptionStrategyWithHttpInfo($user_id, $user_secret, $account
/**
* Operation placeOptionStrategyAsync
*
* Place an option strategy order on the brokerage
* Place an option strategy order
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down Expand Up @@ -2160,7 +2160,7 @@ function ($response) {
/**
* Operation placeOptionStrategyAsyncWithHttpInfo
*
* Place an option strategy order on the brokerage
* Place an option strategy order
*
* @param string $user_id (required)
* @param string $user_secret (required)
Expand Down
4 changes: 2 additions & 2 deletions test/Api/ConnectionsApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function testDetailBrokerageAuthorization()
/**
* Test case for listBrokerageAuthorizations
*
* List all brokerage authorizations for the user.
* List all brokerage authorizations for the User.
*
*/
public function testListBrokerageAuthorizations()
Expand All @@ -97,7 +97,7 @@ public function testRemoveBrokerageAuthorization()
/**
* Test case for sessionEvents
*
* List all session events for the partner.
* Get all session events for a user.
*
*/
public function testSessionEvents()
Expand Down
Loading

0 comments on commit 81e50fc

Please sign in to comment.