chapaty 0.1.4

A software to backtest trading strategies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use google_cloud_storage::client::{Client, ClientConfig};

pub async fn get_google_cloud_storage_client() -> Client {
    let config = ClientConfig::default().with_auth().await.unwrap();
    Client::new(config)
}

#[derive(Clone)]
pub struct GoogleCloudBucket {
    pub historical_market_data_bucket_name: String,
    pub cached_bot_data_bucket_name: String,
}