Alpaca's Broker API offers mechanisms for users to fund their accounts, with distinct processes for simulated and live trading environments. The API allows for the creation of new transfer requests, which serve as the gateway for moving funds. This functionality is crucial for users looking to deploy capital for trading activities.
Funding Mechanisms
In the sandbox or simulated trading environment, users can enact instant deposits and withdrawals using virtual money. This allows for immediate testing of funding strategies without real financial risk. For the production environment, the API endpoint is currently dedicated to initiating outgoing wire transfer requests.
Production Environment Specifics
To execute a wire transfer in the live production environment, users are required to first establish a bank resource through the Bank API. This step is a prerequisite for initiating outgoing wire transfers.
Withdrawal Requirements
For withdrawals, specifically those involving cryptocurrency, the process involves creating a withdrawal request. A key stipulation is that outgoing withdrawals must be directed to pre-approved, 'whitelisted' addresses. Addresses must be added to this whitelist at least 24 hours prior to any attempted withdrawal. Transfers to non-whitelisted addresses will be automatically rejected.
Read More: SriLankan Airlines Chennai Office Faces 22M Rupee Fund Misappropriation Claims
API and Tooling
The Alpaca Broker API supports various functionalities beyond fund transfers, including opening brokerage accounts and enabling trading. It employs HTTP Basic authentication and maintains API compatibility within the same version. Developers can leverage tools like alpaca-py, a Python library installed via pip, to interact with the Broker API and build investment applications. The API has a defined rate limit of 1,000 calls per minute.
Ancillary Services and Disclaimers
Alpaca also offers access to data, such as historical cryptocurrency bar data and news data, through dedicated clients within the alpaca-py library. The company explicitly states it does not provide investment, tax, or legal advice, directing users to consult their own independent advisors for such matters. Disclaimers regarding securities, cryptocurrencies, and account opening are prominently featured on their website.