Strategy API endpoint

Dear all,
We released a new strategy API endpoint which returns the data from the Summary, Holdings (Current) and Statistics tabs for strategies and books. Below is an example of how the endpoint is used:

import p123api

client = p123api.Client(api_id='xxx', api_key='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') #Insert your API Id and Key

try:
    print(client.strategy(strategy_id=1004872)) #GARP $100k

except p123api.ClientException as e:
    print(e)

Thank you, happy to see this project progressing.

By the way, can you allow to pull data of a ranking system in Universe API endpoint.

Like in the example below :

df = client.data_universe(
        {
            "universe": "test1",
            "asOfDt": "2020-02-23", 
            'formulas': [
                'Open(0)',
                'FutureRel%Chg(251,GetSeries("SPY"))',
                'Rating("Core: Value")'          
                        ]
        }, True)  #True to output to dataframe

Yeah baby! Keep-em coming.

Hi Norbert,
The case you asked about above can be accomplished with the Ranks endpoint like this:

data = client.rank_ranks(
        {
            "rankingSystem": 'Core: Value',
            "asOfDt": "2019-11-20",
            "universe": 'DJIA',
            'additionalData': [
                'Open(0)',
                'FutureRel%Chg(251,GetSeries("SPY"))']
        },True)

Was that your actual use case or just a simplified version?

Thank you, this will work for my use case.
Actually I want to pull data of multiple ranking systems - for each date.
But I can loop through all multiple ranking systems and merge tables.