All Projects → man-group → Arctic

man-group / Arctic

Licence: lgpl-2.1
High performance datastore for time series and tick data

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Arctic

Pystore
Fast data store for Pandas time-series data
Stars: ✭ 325 (-87.13%)
Mutual labels:  pandas, database, timeseries
Griddb
GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.
Stars: ✭ 1,587 (-37.15%)
Mutual labels:  database, timeseries
Liiptestfixturesbundle
This bundles enables efficient loading of Doctrine fixtures in functional test-cases for Symfony applications
Stars: ✭ 92 (-96.36%)
Mutual labels:  database, mongodb
Meteor Peerdb
Reactive database layer with references, generators, triggers, migrations, etc.
Stars: ✭ 128 (-94.93%)
Mutual labels:  database, mongodb
Iotdb
Apache IoTDB
Stars: ✭ 1,221 (-51.64%)
Mutual labels:  database, timeseries
Pymarketstore
Python driver for MarketStore
Stars: ✭ 74 (-97.07%)
Mutual labels:  pandas, timeseries
Kairosdb
Fast scalable time series database
Stars: ✭ 1,633 (-35.33%)
Mutual labels:  timeseries, timeseries-database
Mongoaudit
🔥 A powerful MongoDB auditing and pentesting tool 🔥
Stars: ✭ 1,174 (-53.5%)
Mutual labels:  database, mongodb
Mongo Hacker
MongoDB Shell Enhancements for Hackers
Stars: ✭ 1,786 (-29.27%)
Mutual labels:  database, mongodb
Vscode
Connect to MongoDB and Atlas and directly from your VS Code environment, navigate your databases and collections, inspect your schema and use playgrounds to prototype queries and aggregations.
Stars: ✭ 161 (-93.62%)
Mutual labels:  database, mongodb
Space Cloud
Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
Stars: ✭ 3,323 (+31.6%)
Mutual labels:  database, mongodb
Laravel Log To Db
Custom Laravel and Lumen 5.6+ Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel/Monolog native logging functionality.
Stars: ✭ 76 (-96.99%)
Mutual labels:  database, mongodb
Lxhive
A lightweight Experience API Learning Record Store (LRS)
Stars: ✭ 73 (-97.11%)
Mutual labels:  database, mongodb
Timbala
Durable time-series database that's API-compatible with Prometheus.
Stars: ✭ 85 (-96.63%)
Mutual labels:  database, timeseries
Locopy
locopy: Loading/Unloading to Redshift and Snowflake using Python.
Stars: ✭ 73 (-97.11%)
Mutual labels:  pandas, database
Databazel
The analytical and reporting solution for MongoDB
Stars: ✭ 118 (-95.33%)
Mutual labels:  database, mongodb
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-92.55%)
Mutual labels:  database, mongodb
Eventql
Distributed "massively parallel" SQL query engine
Stars: ✭ 1,121 (-55.6%)
Mutual labels:  database, timeseries
Avocado
Strongly-typed MongoDB driver for Rust
Stars: ✭ 70 (-97.23%)
Mutual labels:  database, mongodb
Mongodb For Python Developers
MongoDB for Python developers course handouts from Talk Python Training
Stars: ✭ 141 (-94.42%)
Mutual labels:  database, mongodb

arctic Arctic TimeSeries and Tick store

Documentation Status CircleCI PyPI Travis CI Join the chat at https://gitter.im/manahl/arctic

Arctic is a high performance datastore for numeric data. It supports Pandas, numpy arrays and pickled objects out-of-the-box, with pluggable support for other data types and optional versioning.

Arctic can query millions of rows per second per client, achieves ~10x compression on network bandwidth, ~10x compression on disk, and scales to hundreds of millions of rows per second per MongoDB instance.

Arctic has been under active development at Man AHL since 2012.

Quickstart

Install Arctic

pip install git+https://github.com/manahl/arctic.git

Run a MongoDB

mongod --dbpath <path/to/db_directory>

Using VersionStore

from arctic import Arctic
import quandl

# Connect to Local MONGODB
store = Arctic('localhost')

# Create the library - defaults to VersionStore
store.initialize_library('NASDAQ')

# Access the library
library = store['NASDAQ']

# Load some data - maybe from Quandl
aapl = quandl.get("WIKI/AAPL", authtoken="your token here")

# Store the data in the library
library.write('AAPL', aapl, metadata={'source': 'Quandl'})

# Reading the data
item = library.read('AAPL')
aapl = item.data
metadata = item.metadata

VersionStore supports much more: See the HowTo!

Adding your own storage engine

Plugging a custom class in as a library type is straightforward. This example shows how.

Documentation

You can find complete documentation at Arctic docs

Concepts

Libraries

Arctic provides namespaced libraries of data. These libraries allow bucketing data by source, user or some other metric (for example frequency: End-Of-Day; Minute Bars; etc.).

Arctic supports multiple data libraries per user. A user (or namespace) maps to a MongoDB database (the granularity of mongo authentication). The library itself is composed of a number of collections within the database. Libraries look like:

  • user.EOD
  • user.ONEMINUTE

A library is mapped to a Python class. All library databases in MongoDB are prefixed with 'arctic_'

Storage Engines

Arctic includes three storage engines:

  • VersionStore: a key-value versioned TimeSeries store. It supports:
    • Pandas data types (other Python types pickled)
    • Multiple versions of each data item. Can easily read previous versions.
    • Create point-in-time snapshots across symbols in a library
    • Soft quota support
    • Hooks for persisting other data types
    • Audited writes: API for saving metadata and data before and after a write.
    • a wide range of TimeSeries data frequencies: End-Of-Day to Minute bars
    • See the HowTo
    • Documentation
  • TickStore: Column oriented tick database. Supports dynamic fields, chunks aren't versioned. Designed for large continuously ticking data.
  • Chunkstore: A storage type that allows data to be stored in customizable chunk sizes. Chunks aren't versioned, and can be appended to and updated in place.

Arctic storage implementations are pluggable. VersionStore is the default.

Requirements

Arctic currently works with:

  • Python 3.5, 3.6
  • pymongo 3.60 thru 3.11.0
  • Pandas 0.22.0 thru 1.0.3
  • MongoDB >= 2.4.x

Operating Systems:

  • Linux
  • macOS
  • Windows 10

Acknowledgements

Arctic has been under active development at Man AHL since 2012.

It wouldn't be possible without the work of the AHL Data Engineering Team including:

Contributions welcome!

License

Arctic is licensed under the GNU LGPL v2.1. A copy of which is included in LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].