apca 0.30.0

A crate for interacting with the Alpaca API.
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright (C) 2020-2022 The apca Developers
// SPDX-License-Identifier: GPL-3.0-or-later

/// Definitions for the second version of the Alpaca Data API.
pub mod v2;

/// The API base URL used for retrieving market data.
pub(crate) const DATA_BASE_URL: &str = "https://data.alpaca.markets";
/// The base URL for streaming market data over a websocket connection.
pub(crate) const DATA_STREAM_BASE_URL: &str = "wss://stream.data.alpaca.markets";