Contracts.with_name_prefix()

Adds a filter to get contracts whose names have the given prefix.

with_name_prefix(prefix: str, sensitivity: bool = True) -> Contracts

Query Example

from glider import *

def query():

  main_contracts = Contracts().with_name_prefix("Acc", sensitivity=True).exec(5)

  return main_contracts

Output Example

Last updated