Skip to documentation
Screebits Docs
Flow Editor
Open Screebits
  • Screebits
  • Flow Editor documentation
  • Blueprints
  • Your first steps in Screebits
  • Workspace, strategies and account
  • Get started with the Flow Editor
  • Build an RSI Momentum Alert
  • Flow Editor concepts
  • How a strategy starts and continues
  • Control and data connections
  • Nodes, parameters, outcomes, and ports
  • Plans and feature availability
  • Saves, versions, and checkpoints
  • Tactical and Portfolio strategies
  • Validation and readiness
  • Flow Editor mode guides
  • Build Portfolio strategies
  • Build Tactical strategies
  • Flow Editor guides
  • Add a Quant Hub metric
  • Configure a node
  • Configure Settings and visual preferences
  • Connect nodes
  • Create a strategy
  • Create checkpoints and restore versions
  • Reset a Flow safely
  • Debug and replay a Backtest
  • Fix validation issues
  • Use keyboard shortcuts
  • Manage variables
  • Run a Backtest
  • Save and resolve conflicts
  • Work on tablet and mobile
  • Use Quick add
  • Use the Inspector
  • Add, move, duplicate, and remove nodes
  • Flow Editor examples
  • Portfolio rebalance with risk limits
  • Tactical order and position monitoring
  • Use Backtest Center
  • Read a Backtest result
  • Compare and export Backtests
  • Explore Quant Hub
  • Metric parameters, charts and overlays
  • Flow Editor node reference
  • Margin Check
  • Flow Editor troubleshooting
  • Troubleshoot activation and validation
  • Troubleshoot Backtests and replay
  • Troubleshoot compact layouts
  • Troubleshoot connections and data types
  • Troubleshoot plans and locked features
  • Troubleshoot Quant Hub in the Flow Editor
  • Troubleshoot save, offline, and conflicts
  • Backtests and responsible use
  • Flow Editor glossary
  1. Screebits
  2. /Flow Editor documentation
  3. /Flow Editor node reference
  4. /Margin Check
IntermediateLast verified Sep 30, 2026

Margin Check

Checks a proposed Tactical order against available margin before submission.

On this page
  1. When to use
  2. Example
  3. Keep the estimate before the action
  4. Common problems
  5. Next steps

Checks a proposed Tactical order against available margin before submission.

When to use

Use it between sizing and Order when the strategy uses margin-sensitive execution.

Example

Check instrument, size, price, and leverage; connect Sufficient to Order and Insufficient to a recovery path.

Try it here

Explore Margin Check

Checks a proposed Tactical order against available margin before submission.

Exercise steps
  1. Inspect the connections supplying Instrument and Size.
  2. Change the leverage source and compare the required inputs.
Event TriggerPosition SizerMargin Check
Graph preview — a diagram of the example

Keep the estimate before the action

Supply a supported Instrument, proposed Size and Price to Margin Check. Choose whether leverage comes from account configuration, a literal value or the Leverage data input. Its Margin Estimate can report required and available amounts; an illustrative 300 required against 500 available follows Sufficient under that estimate. Connect Sufficient to Order and route Insufficient away from submission. The result is a pre-order check for that proposal, not a reservation of funds or a guarantee that Order will be Submitted or Filled. Re-check the parameters if size, price, instrument or account state changes.

Common problems

A check is based on the supplied request and current simulated state. Do not submit through both outcomes.

Next steps

Review the generated Parameters, Outcomes, and Data Ports on this page, then open the related guides for the complete workflow.

Node facts

These facts come from the current Flow Editor node catalog.

Node type
Margin Check
Activation role
No activation role
Category
Action
Availability
Tactical only
Modes
Tactical
Required plan
Pro
Behavior
Performs an action
Control inputs
1
Output data types
margin Estimate

Parameters

NameInput typeRequirementDefaultOptions and constraints
Leverage sourceSelection listRequiredaccountConfigOptions: Account config, Leverage port, Literal
LeverageNumberRequired when shownNot setMinimum: 1; Shown when Leverage source is literal

Primary parameters

  • Leverage source
  • Leverage

Outcomes

  • Sufficient
  • Insufficient

Data inputs

  • InstrumentText · Required
  • SizeNumber · Required
  • Priceprice · Optional
  • LeverageNumber · Required when shownShown when Leverage source is dataPort

Data outputs

  • Margin Estimatemargin Estimate

Related documentation

  • Position SizerCalculates an order quantity from account, price, and risk inputs.
  • OrderSubmits a configured Tactical order and produces a ticket for lifecycle tracking.
  • Tactical order and position monitoringUnderstand a Tactical pattern that sizes an order, checks margin, tracks its lifecycle, and monitors the position.

On this page

1 / 5
  1. When to use
  2. Example
  3. Keep the estimate before the action
  4. Common problems
  5. Next steps

Practical guidance for strategies, historical simulations and metric research in Screebits.

Responsible useGlossary