-
-
30 Apr 2021 22:56:50 UTC
- Distribution: Finance-Alpaca
- Module version: 0.9902
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (44 / 57 / 10)
- Kwalitee
Bus factor: 1- 80.44% Coverage
- License: artistic_2
- Perl: v5.22.0
- Activity
24 month- Tools
- Download (39.39KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
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 modefractional_trading
- If true, account can trade fractions of sharesmax_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>
Module Install Instructions
To install Finance::Alpaca, copy and paste the appropriate command in to your terminal.
cpanm Finance::Alpaca
perl -MCPAN -e shell install Finance::Alpaca
For more information on module installation, please visit the detailed CPAN module installation guide.