Skip to content

Commit

Permalink
feat(api): add average cost to positions (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Dec 19, 2024
1 parent b3f8f61 commit 10bd7e6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 31
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/clear-street%2Fstudio-sdk-507601d533175bf3b74a3b04c29d55029c585b24a4ec873bc43d93fe76528076.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/clear-street%2Fstudio-sdk-f04f51a2adbacf75b26ed0b3cd1920c8e2dc63a35c78a579bb8f007247307082.yml
13 changes: 9 additions & 4 deletions src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,19 +267,24 @@ export interface Position {
/**
* Account ID for the account.
*/
account_id?: string;
account_id: string;

/**
* Account number for the account.
*/
account_number?: string;
account_number: string;

/**
* The average cost of the position.
*/
average_cost: number;

/**
* String representation of quantity.
*/
quantity?: string;
quantity: string;

symbol?: string;
symbol: string;
}

export interface RegtMarginSimulation {
Expand Down

0 comments on commit 10bd7e6

Please sign in to comment.