Skip to content

Commit

Permalink
feat: Add transmitter info into BatchJournalRequestEntry (#459)
Browse files Browse the repository at this point in the history
* feat: add transmitter info into BatchJournalRequestEntry

* doc: update type of amount in BatchJournalRequestEntry

* feat: add description field into BatchJournalRequestEntry
  • Loading branch information
hiohiohio committed May 30, 2024
1 parent b880c26 commit 795680d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions alpaca/broker/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,11 +891,23 @@ class BatchJournalRequestEntry(NonEmptyRequest):
Attributes:
to_account (UUID): Account to fund in batch journal request.
amount (float): The cash amount in USD to fund by.
amount (Union[str, float]): The cash amount in USD to fund by.
description (Optional[str]): Journal description.
transmitter_name (Optional[str]): For cash journals, travel rule related name info.
transmitter_account_number (Optional[str]): For cash journals, travel rule account number info.
transmitter_address (Optional[str]): For cash journals, travel rule related address info.
transmitter_financial_institution (Optional[str]): For cash journals, travel rule related institution info.
transmitter_timestamp (Optional[str]): For cash journals, travel rule related timestamp info.
"""

to_account: UUID
amount: float
amount: Union[str, float]
description: Optional[str] = None
transmitter_name: Optional[str] = None
transmitter_account_number: Optional[str] = None
transmitter_address: Optional[str] = None
transmitter_financial_institution: Optional[str] = None
transmitter_timestamp: Optional[str] = None


class ReverseBatchJournalRequestEntry(NonEmptyRequest):
Expand Down

0 comments on commit 795680d

Please sign in to comment.