30 Apr 2021 22:56:50 UTC
- Distribution: Finance-Alpaca
- Module version: 0.9902
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (44 / 57 / 10)
- KwaliteeBus factor: 1
- 80.44% Coverage
- License: artistic_2
- Perl: v5.22.0
- Activity24 month
- Download (39.39KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionSANKO Sanko Robinson
Finance::Alpaca::Struct::Asset - A Single Account Object
use Finance::Alpaca; Finance::Alpaca->new( ... )->assets;
The assets API serves as the master list of assets available for trade and data consumption from Alpaca. Assets are sorted by asset class, exchange and symbol. Some assets are only available for data consumption via Polygon, and are not tradable with Alpaca. These assets will be marked with the flag
The following properties are contained in the object.
class- String (us_equity)
tradable- Boolean indicating whether the asset is tradable on Alpaca or not
marginable- Boolean indicating whether the asset is marginable or not
shortable- Boolean indicating whether the asset is shortable or not
easy_to_borrow- Boolean indicating the asset is easy-to-borrow or not (filtering for easy_to_borrow = True is the best way to check whether the name is currently available to short at Alpaca)
fractionable- Boolean indicating the asset is fractionable or not
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 <firstname.lastname@example.org>
Module Install Instructions
To install Finance::Alpaca, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Finance::Alpaca
For more information on module installation, please visit the detailed CPAN module installation guide.