examples/

directory
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: MIT

Directories

Path Synopsis
Command combos-maker quotes on every buy request it sees: three times the stake, standing for 30 seconds.
Command combos-maker quotes on every buy request it sees: three times the stake, standing for 30 seconds.
Command combos-taker asks for quotes on a two-leg combination for a $1.00 stake and accepts the first quote.
Command combos-taker asks for quotes on a two-leg combination for a $1.00 stake and accepts the first quote.
An app with its own accounts links each user's STX account once and acts for them (https://docs.stxapp.io/oauth/connect-your-stx-account/):
An app with its own accounts links each user's STX account once and acts for them (https://docs.stxapp.io/oauth/connect-your-stx-account/):
Create player prop markets on an upcoming event as your app, then send the same request again to show that a repeat is safe.
Create player prop markets on an upcoming event as your app, then send the same request again to show that a repeat is safe.
Create spread markets on the next basketball or football game as your app: a dry run first, then the create, then the same request again to show that a repeat is safe.
Create spread markets on the next basketball or football game as your app: a dry run first, then the create, then the same request again to show that a repeat is safe.
STX as a login option inside a login service such as Auth0, Clerk, Okta or Cognito (https://docs.stxapp.io/oauth/sign-in-with-your-stx-account/login-vendor/).
STX as a login option inside a login service such as Auth0, Clerk, Okta or Cognito (https://docs.stxapp.io/oauth/sign-in-with-your-stx-account/login-vendor/).
Command quickstart checks your STX API key, lists five open markets, reads your balance and positions, and with -place-order places a 1-cent limit buy and cancels it.
Command quickstart checks your STX API key, lists five open markets, reads your balance and positions, and with -place-order places a 1-cent limit buy and cancels it.
An app with no login of its own: people register or log in with their STX account, and the app gets back who they are and tokens to act for them (https://docs.stxapp.io/oauth/sign-in-with-your-stx-account/).
An app with no login of its own: people register or log in with their STX account, and the app gets back who they are and tokens to act for them (https://docs.stxapp.io/oauth/sign-in-with-your-stx-account/).
Command stream-account keeps a live view of your account and prints it whenever it changes.
Command stream-account keeps a live view of your account and prints it whenever it changes.
Command stream-orderbook prints the book of one market as it changes.
Command stream-orderbook prints the book of one market as it changes.
Command stream-trades prints every trade on the exchange as it happens.
Command stream-trades prints every trade on the exchange as it happens.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL