Universe Functions | |
---|---|
universe_update | This operation updates the Universe used by API. |
universe_update()
Wrapper for POST /universe
This operation updates the Universe used by API. This universe is always called "ApiUniverse" and it's stored in your account. If you don’t have this Universe already saved in the platform, it will be created.
p123api.Client().universe_update( {
'rules': ['rule1','rule2', ... ],
# optional parameters
'type': 'stock' | 'etf',
'currency': 'USD' | 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'NOK' | 'PLN' | 'SEK' | 'TRY',
'startingUniverse': 'SP500' (optional)
})
Go to:
All p123api functions
Technical API reference