apca 0.30.0

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

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

/// The API base URL used for paper trading.
pub(crate) const API_BASE_URL: &str = "https://paper-api.alpaca.markets";
/// The HTTP header representing the key ID.
pub(crate) const HDR_KEY_ID: &str = "APCA-API-KEY-ID";
/// The HTTP header representing the secret key.
pub(crate) const HDR_SECRET: &str = "APCA-API-SECRET-KEY";