Finance::Alpaca::Struct::Configuration - A Single Account Configuration Object
use Finance::Alpaca; my $config = Finance::Alpaca->new( ... )->configuration;
The account configuration API provides custom configurations about your trading account settings. These configurations control various allow you to modify settings to suit your trading needs.
For DTMC protection, see Day Trade Margin Call Protection
The following properties are contained in the object.
say sprintf 'Can%s trade with this account', $config->suspend_trade ? 'not' : '';
dtbp_check
both
entry
exit
trade_confirm_email
all
none
syspend_trade
no_shorting
fractional_trading
max_margin_multiplier
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
Sanko Robinson <sanko@cpan.org>
To install Finance::Alpaca, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::Alpaca
CPAN shell
perl -MCPAN -e shell install Finance::Alpaca
For more information on module installation, please visit the detailed CPAN module installation guide.