Skip to content

MoabDB/moabdb-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoabDB Official Rust Library

MoabDB loves Rust! This library makes it super easy to use MoabDB in your Rust projects. It's a simple wrapper around the MoabDB HTTP API.

Usage

Add this to your Cargo.toml:

[dependencies]
moabdb = "*"

Create a time window to search for data:

let window = WindowBuilder::new()
    .length(Years(1))
    .build()
    .expect("Failed to create time window");

Send a query to MoabDB:

let df = moabdb::get_equity("AAPL", window, false, None).expect("Failed to get data");

Design

The design of the library is targeted at being identical to the Python library. This is so people can easily switch between the two languages without having to learn a new API.

License

This library is licensed under the MIT license. See the LICENSE file for more information.

About

Rust client for MoabDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages