@investingwolf/alpaca-broker-api
Version:
Node.js client for alpaca broker API
78 lines (77 loc) • 1.72 kB
TypeScript
/**
* Alpaca Broker API
* Open brokerage accounts, enable commission-free trading, and manage the ongoing user experience with Alpaca Broker API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export declare class JournalResource {
/**
* journal ID
*/
'id': string;
/**
* JNLS (constant)
*/
'entry_type': string;
/**
* account ID the shares go from
*/
'from_account': string;
/**
* account ID the shares go to
*/
'to_account': string;
/**
* ID the amount goes to
*/
'description'?: string;
'settle_date': string | null;
'status'?: JournalResource.StatusEnum;
'net_amount': string;
/**
* max 255 characters
*/
'transmitter_name'?: string;
/**
* max 255 characters
*/
'transmitter_account_number'?: string;
/**
* max 255 characters
*/
'transmitter_address'?: string;
/**
* max 255 characters
*/
'transmitter_financial_institution'?: string;
'transmitter_timestamp'?: Date;
'symbol': string;
'qty': string;
'price': string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export declare namespace JournalResource {
enum StatusEnum {
Pending,
Canceled,
Executed,
Queued,
Rejected,
Deleted
}
}