get_market_holdings

Description

Enterprise users only.

Gets holdings associated with a market ID.

Simple Example

mid = 'front_end_demo'
q = { 'api_key' : api_key,
     'market_account_id':mid,
     'timestepsize':1,
     'timesteptype':'minute',
    'timestart':datetime.datetime.utcnow() - datetime.timedelta(seconds=90),
     'timeend':datetime.datetime.utcnow(),}
datserver = pq.get_market_holdings(q,remote=True)
display(datserver)

Simple Example Output

{'KO': 100}

Failure Examples

Failure Examples Output

Three Examples

Three Examples Output