@argantom/argantom
    Preparing search index...

    Class PolymarketClosedPositionsFetcher

    Fetch closed positions for Polymarket user.

    Create a new fetcher instance, then async loop over streamPages.

    Example

    const fetcher = new PolymarketClosedPositionsFetcher(
    '0x1b20a00709dfe648afd26b326394b5e031f83ab0',
    50,
    );
    for await (const page of fetcher.streamPages()) {
    ...
    }
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Safe asynchronous generator processing memory-efficient streaming across all data layers.

      Returns AsyncGenerator<ClosedPosition[], void, unknown>