NAME
Finance::Alpaca::Struct::Configuration - A Single Account Configuration Object
SYNOPSIS
use Finance::Alpaca;
my $config = Finance::Alpaca->new( ... )->configuration;
DESCRIPTION
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
Properties
The following properties are contained in the object.
say sprintf 'Can%s trade with this account', $config->suspend_trade ? 'not' : '';
dtbp_check
-both
,entry
, orexit
. Controls Day Trading Margin Call (DTMC) checkstrade_confirm_email
-all
ornone
. Ifnone
, emails for order fills are not sentsyspend_trade
- If true, new orders are blockedno_shorting
- If true, account becomes long-only modemax_margin_multiplier
- Leverage
LICENSE
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.
AUTHOR
Sanko Robinson <sanko@cpan.org>