reefledge


Namereefledge JSON
Version 1.6.3 PyPI version JSON
download
home_pagehttps://www.reefledge.com/python_package/docs/
SummaryA powerful API designed for Quantitative Finance practitioners.
upload_time2022-12-29 12:06:49
maintainer
docs_urlNone
authorReefLedge
requires_python>=3.8, <3.11
license
keywords quant quantitative finance forecasting time-series machine learning trading portfolio management risk management
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            **reefledge** is a Python package which provides a fast, simple and
powerful API designed to simplify the retrieval of price/return density
forecasts (on a ticker-by-ticker basis) generated from cutting-edge Time
Series Analysis models.
Our algorithms consume market data on liquid financial assets and
require demanding estimation and simulation steps, both accomplished on
a high-performance cloud cluster.
Forecasts are produced for a wide range of reference dates and
investment horizons, covering multiple metrics for a variety of asset
classes.

Delivery Frequency
------------------
Forecasts are generated on a daily basis.

Data Frequency
--------------
All models consume daily-frequency data.

Data Reporting Lag
------------------
Usually, every ticker which passes our demanding filtering criteria
requires around one minute of processing on a Google Cloud C2 compute
engine with a single vCPU and four gigabytes of RAM.
Our cluster boots as soon as the latest market data is available
and, at the time of writing, scales up to 120 vCPUs.

Data History
------------
In general, expect forecasts to be readily accessible for reference
dates going back at least four years.

Data Coverage
-------------
Currently, only the 'NYSE' target is in production. Nonetheless,
multiple targets - such as 'NASDAQ' - have already been extensively
tested and will be released soon.

Main Features
-------------
Here are just a few of the things that make `reefledge` special:

  * Intuitive object oriented interface.
  * Type checking at runtime of all public functions/methods.
  * Seamless integration with Microsoft Excel.
  * Fast and robust cythonized codebase.
  * Multithreading capabilities to overcome I/O overheads.
  * Smart and 'respectful' (in terms of RAM usage) caching.
  * Efficient and highly available back end, featuring global load
    balancing, optimized connection pooling and extensive database table
    partitioning, besides an intelligent use of indexes to speed up SQL
    queries (not to mention full use of SSD disks).

Installation
------------
The easiest way to install `reefledge` and get updates is via `pip`:

    $ pip install reefledge

On Linux, the shell command above should return an error due to the
`xlwings` module dependency, which is only relevant on the Windows
platform. You can safely ignore it by preceding the installation command
with:

    $ export INSTALL_ON_LINUX=1

Basic Usage
-----------
>>> import reefledge as rl
>>> rl.login(user_name='foobar', api_key='secret')
>>> df = rl.get_point_forecasts_df( # Returns a pandas DataFrame instance.
        target='NYSE',
        metric='STD',
        tickers=['GS', 'IBM'])

Advanced Usage
--------------
Advanced users should refer to the following functions/classes:

  * `reefledge.reefledge.front_end.get.get`
    for retrieving and parsing data into a
    `reefledge.reefledge.back_end.data_wrapper.data_wrapper.DataWrapper` instance.
  * `reefledge.reefledge.front_end.get_point_forecasts_df.get_point_forecasts_df`
    for retrieving and parsing data into a
    `pandas.core.frame.DataFrame` instance.
  * `reefledge.reefledge.front_end.list_tickers.list_tickers`
    for querying all available tickers associated with a particular
    target.
  * `reefledge.reefledge.back_end.api_config.api_config.APIConfig`
    for configuring the API.

Generic Error Catching
----------------------
>>> try:
        rl.get_point_forecasts_df(target='NYSE', metric='STD', tickers='GS')
    except rl.Error as exc:
        print(exc)

Basic Configuration
-------------------
>>> rl.APIConfig.allow_caching
True
>>> rl.APIConfig.allow_tickers_sorting
False
>>> rl.APIConfig.allow_caching = False # Disable caching.

Notes
-----
Further examples assume that `reefledge` has been imported as `rl`:

    >>> import reefledge as rl

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.reefledge.com/python_package/docs/",
    "name": "reefledge",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8, <3.11",
    "maintainer_email": "",
    "keywords": "quant,quantitative,finance,forecasting,time-series,machine learning,trading,portfolio management,risk management",
    "author": "ReefLedge",
    "author_email": "support@reefledge.com",
    "download_url": "https://files.pythonhosted.org/packages/b0/15/ad57af2e61b8172f385774dd0b0425a8cd0e9db0049b44d79e1e94194514/reefledge-1.6.3.tar.gz",
    "platform": "Windows",
    "description": "**reefledge** is a Python package which provides a fast, simple and\r\npowerful API designed to simplify the retrieval of price/return density\r\nforecasts (on a ticker-by-ticker basis) generated from cutting-edge Time\r\nSeries Analysis models.\r\nOur algorithms consume market data on liquid financial assets and\r\nrequire demanding estimation and simulation steps, both accomplished on\r\na high-performance cloud cluster.\r\nForecasts are produced for a wide range of reference dates and\r\ninvestment horizons, covering multiple metrics for a variety of asset\r\nclasses.\r\n\r\nDelivery Frequency\r\n------------------\r\nForecasts are generated on a daily basis.\r\n\r\nData Frequency\r\n--------------\r\nAll models consume daily-frequency data.\r\n\r\nData Reporting Lag\r\n------------------\r\nUsually, every ticker which passes our demanding filtering criteria\r\nrequires around one minute of processing on a Google Cloud C2 compute\r\nengine with a single vCPU and four gigabytes of RAM.\r\nOur cluster boots as soon as the latest market data is available\r\nand, at the time of writing, scales up to 120 vCPUs.\r\n\r\nData History\r\n------------\r\nIn general, expect forecasts to be readily accessible for reference\r\ndates going back at least four years.\r\n\r\nData Coverage\r\n-------------\r\nCurrently, only the 'NYSE' target is in production. Nonetheless,\r\nmultiple targets - such as 'NASDAQ' - have already been extensively\r\ntested and will be released soon.\r\n\r\nMain Features\r\n-------------\r\nHere are just a few of the things that make `reefledge` special:\r\n\r\n  * Intuitive object oriented interface.\r\n  * Type checking at runtime of all public functions/methods.\r\n  * Seamless integration with Microsoft Excel.\r\n  * Fast and robust cythonized codebase.\r\n  * Multithreading capabilities to overcome I/O overheads.\r\n  * Smart and 'respectful' (in terms of RAM usage) caching.\r\n  * Efficient and highly available back end, featuring global load\r\n    balancing, optimized connection pooling and extensive database table\r\n    partitioning, besides an intelligent use of indexes to speed up SQL\r\n    queries (not to mention full use of SSD disks).\r\n\r\nInstallation\r\n------------\r\nThe easiest way to install `reefledge` and get updates is via `pip`:\r\n\r\n    $ pip install reefledge\r\n\r\nOn Linux, the shell command above should return an error due to the\r\n`xlwings` module dependency, which is only relevant on the Windows\r\nplatform. You can safely ignore it by preceding the installation command\r\nwith:\r\n\r\n    $ export INSTALL_ON_LINUX=1\r\n\r\nBasic Usage\r\n-----------\r\n>>> import reefledge as rl\r\n>>> rl.login(user_name='foobar', api_key='secret')\r\n>>> df = rl.get_point_forecasts_df( # Returns a pandas DataFrame instance.\r\n        target='NYSE',\r\n        metric='STD',\r\n        tickers=['GS', 'IBM'])\r\n\r\nAdvanced Usage\r\n--------------\r\nAdvanced users should refer to the following functions/classes:\r\n\r\n  * `reefledge.reefledge.front_end.get.get`\r\n    for retrieving and parsing data into a\r\n    `reefledge.reefledge.back_end.data_wrapper.data_wrapper.DataWrapper` instance.\r\n  * `reefledge.reefledge.front_end.get_point_forecasts_df.get_point_forecasts_df`\r\n    for retrieving and parsing data into a\r\n    `pandas.core.frame.DataFrame` instance.\r\n  * `reefledge.reefledge.front_end.list_tickers.list_tickers`\r\n    for querying all available tickers associated with a particular\r\n    target.\r\n  * `reefledge.reefledge.back_end.api_config.api_config.APIConfig`\r\n    for configuring the API.\r\n\r\nGeneric Error Catching\r\n----------------------\r\n>>> try:\r\n        rl.get_point_forecasts_df(target='NYSE', metric='STD', tickers='GS')\r\n    except rl.Error as exc:\r\n        print(exc)\r\n\r\nBasic Configuration\r\n-------------------\r\n>>> rl.APIConfig.allow_caching\r\nTrue\r\n>>> rl.APIConfig.allow_tickers_sorting\r\nFalse\r\n>>> rl.APIConfig.allow_caching = False # Disable caching.\r\n\r\nNotes\r\n-----\r\nFurther examples assume that `reefledge` has been imported as `rl`:\r\n\r\n    >>> import reefledge as rl\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A powerful API designed for Quantitative Finance practitioners.",
    "version": "1.6.3",
    "split_keywords": [
        "quant",
        "quantitative",
        "finance",
        "forecasting",
        "time-series",
        "machine learning",
        "trading",
        "portfolio management",
        "risk management"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "c1d4bfe737d26a43d135fe6b9d224d2b",
                "sha256": "3698cf707b1b413aea3fab450b25ad6066804f7c5406f255a50b2562c30cb394"
            },
            "downloads": -1,
            "filename": "reefledge-1.6.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c1d4bfe737d26a43d135fe6b9d224d2b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8, <3.11",
            "size": 54590,
            "upload_time": "2022-12-29T12:06:49",
            "upload_time_iso_8601": "2022-12-29T12:06:49.752959Z",
            "url": "https://files.pythonhosted.org/packages/b0/15/ad57af2e61b8172f385774dd0b0425a8cd0e9db0049b44d79e1e94194514/reefledge-1.6.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-29 12:06:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "reefledge"
}
        
Elapsed time: 0.09444s