setupsdeskpro.online / FIELD NOTES
Explicit order records with Singapore journal dates · Practical reference

Trace the unfilled remainder through GTC, IOC and FOK

Three explicit quantity paths from the same assumptions, with no silent estimate of real fills or fees.

Publisher: CRYPTO TRADING SIGNALSSource review: 2026-10-20Free to use · No sign-up
Try it with your own inputs

Trace the unfilled remainder through GTC, IOC and FOK

  1. Keep the original 10-unit request and 6-unit immediate-capacity example, or enter your own hypothetical values in one common quantity unit.
  2. Capacity here means quantity assumed matchable by this particular order at its permitted price. It is not visible depth, a queue estimate or an observed execution. Ordinary acceptance and no other matching restrictions are assumptions.
  3. Enter up to 12 decimal places. Requested quantity must be positive; capacities may be zero. A blank capacity remains unknown. Maximum per input is 1,000,000,000,000,000.
  4. Optional later capacity applies only to a still-open GTC remainder. Choose whether the scenario then leaves that remainder open or explicitly cancels it. A missing later amount prevents inferring the final GTC quantities.
  5. The optional scenario instant needs seconds and Z or a known numeric offset. Compare its Singapore calendar date with your journal date; that check never changes order quantities.
  6. Calculate all three policies, inspect their distinct outcomes and copy or download the same result CSV. An input edit clears the result and export. No order is sent and no account is connected.

Calculations and downloads run in this browser. This page does not fetch live market or account data.

Hold the scenario fixed before comparing the policies

A disappearing order can be consistent with its time-in-force instruction, but the instruction alone cannot tell you what happened to your order. This worksheet answers a narrower question: if a hypothetical ordinary limit order is accepted and a stated amount can match immediately, how would three persistence policies treat its unfilled amount? Keeping those assumptions fixed makes the comparison readable.

Choose one quantity unit and use it for the requested amount and both capacities. Do not mix base units, quote value and contracts. The worksheet contains no price, side, order book or venue connection. Its capacity fields are assumptions about this scenario, so they deliberately cannot measure queue priority, hidden liquidity, self-trade prevention or whether a real order would pass the venue checks.

Read a policy separately from the name of a terminal status

Kraken Spot REST documents GTC as the persistence default, IOC as immediate possible execution with the remainder canceled, and FOK as full immediate execution or cancellation. These definitions support the three branches used here; they do not establish acceptance or execution for any supplied account record.

Coinbase Exchange instead describes an unmatchable FOK as rejected and documents post-only as incompatible with IOC or FOK. Keep those source-specific labels and combinations intact. The worksheet therefore labels its results model outcomes rather than emitting a purported exchange status code.

Sources: Kraken Spot REST — Add Order, timeinforce, Coinbase Exchange — Create a new order.

Work the original 10-unit, 6-unit example by hand

Start with a requested quantity of 10 and an immediate hypothetical capacity of 6. For IOC, the modeled immediate fill is the smaller quantity, 6. The unfilled difference is 10 minus 6, or 4, and it does not rest. There is no later IOC fill in this model because the same order has ended. That zero is a model consequence, not a measured account value.

For FOK, compare the whole requested amount with the immediate capacity before allocating anything. Six is less than ten, so this branch models zero execution and ten ended unfilled. Raising the immediate capacity to ten or more produces a modeled full fill of ten. Additional assumed capacity never increases the executed quantity beyond the original request.

Give a GTC remainder its own later event

GTC initially models the same six units filled and four left open. With later hypothetical capacity of two, the model adds two and reaches eight total. Leaving the remainder open ends the scenario with two still resting. Selecting an explicit cancellation instead ends those two unfilled. The three amounts—eight filled, two ended, zero resting—then conserve the original ten.

Do not enter a later capacity merely to make the worksheet complete. When it is blank and an initial GTC remainder exists, the later fill, final total and ending quantities remain unknown. If the initial stage already filled the entire order, no remainder exists and later input has no effect. Later capacity never changes the IOC or FOK branch.

Use zero only when it is one of your assumptions

An immediate capacity of zero means you intentionally modeled no immediate match. GTC then leaves the full quantity available for the later scenario; IOC and FOK end without a modeled fill. An empty immediate-capacity field says you have not supplied that assumption. All three branches then withhold their quantities rather than silently substituting zero.

The result CSV records the assumptions as well as each policy outcome. Arithmetic uses exact scaled integers with twelve decimal places, so 0.1 plus 0.2 remains exactly 0.3. It does not round a tiny remainder to zero or accept scientific notation. The limit on input size bounds the exercise; it is not a venue minimum, maximum or lot-size rule.

Keep the educational trace beside the actual evidence

OKX illustrates an IOC order moving through live, partially filled and canceled states. It also distinguishes a request acknowledgement from later order-state evidence. This is an example of why a terminal cancellation label can coexist with an execution. The named guide describes its own order channel, not a common status vocabulary for every provider.

For your actual record, preserve the venue and product, exact order identifier, selected time-in-force and source version. Add the recorded executed quantity and terminal evidence only when available. Do not copy a simulated quantity into the actual-filled column. Actual execution, fees and actual venue status remain explicitly unknown in this worksheet, even when the hypothetical arithmetic is complete.

Sources: OKX API guide — Checking order state and canceling an order.

Catch the Singapore date boundary without inventing a trading session

Singapore standard time is UTC+8. The loaded scenario instant, 2026-10-20T16:00:05Z, is 21 October at 00:00:05 in Singapore. The expected journal date 2026-10-21 therefore matches. Entering the UTC date 2026-10-20 into that Singapore-date field produces a visible mismatch and changes the exported check.

Keep the original offset-bearing instant as well as its UTC and Singapore representations. A blank instant or date leaves the comparison unknown. This check helps file a scenario under the intended local day; it does not create a market opening time, expiry, legal reporting deadline or claim that a venue or the promoted offer is available in Singapore.

Sources: Singapore BCA — Site Management Data Standards v1.1, page 65.

Save a complete result before considering another resource

The original blank CSV and six-question TXT remain linked below, with their original contents. They are useful for retaining evidence that a hypothetical scenario cannot provide. The new result CSV is a separate file. It includes all three branches, their traces, supplied timestamps, the local-date check and the unknown actual outcomes.

Everything needed for the worked example is visible without JavaScript or joining a channel. With JavaScript, download and copy use the same current calculation; a visible text field provides manual copying when clipboard access is unavailable. Editing any input invalidates old output. After finishing the record, the existing landing is an optional, separately promoted Telegram offer rather than a prerequisite for the worksheet.

Worked examples

Example 1

requested quantity
10
immediate capacity
6
later capacity
2
quantity unit
units
gtc end
leave_open
recorded at
2026-10-20T16:00:05Z
journal date
2026-10-21
GTC total fill
8
GTC resting
2
IOC total fill
6
IOC ended
4
FOK total fill
0
FOK ended
10
journal date matches
True

Same immediate capacity; only the GTC scenario consumes the supplied later capacity.

Example 2

change
Clear later_capacity with the same initial 10 and 6.
GTC total fill
unknown
IOC total fill
6
FOK total fill
0

Missing later evidence is not a zero assumption.

Questions before you use the result

Does available book depth prove this modeled fill?

No. The capacity is a hypothetical input for this particular order; queue position and other constraints are not examined.

Does GTC guarantee the remainder will eventually fill?

No. Persistence permits the remainder to stay open under applicable conditions. The later outcome needs another assumption here, or actual evidence in a real record.

Why does the worksheet avoid real exchange status codes?

Provider status names and rejection paths differ. The table presents model outcomes and keeps actual venue status unknown.

Primary sources and scope

  1. Kraken Spot REST — Add Order, timeinforceChecked 2026-10-20. Documents GTC persistence, IOC immediate possible execution with remainder canceled, and FOK full immediate execution or cancellation. No endpoint was called.
  2. Coinbase Exchange — Create a new orderChecked 2026-10-20. Documents FOK rejection if full size cannot match, IOC ending unfilled size, and post-only incompatibility with IOC/FOK for this product. No live order was submitted.
  3. OKX API guide — Checking order state and canceling an orderChecked 2026-10-20. Distinguishes cancel acknowledgement from order-channel cancellation confirmation. Gives IOC partial-fill-then-canceled example and separately identifies terminal filled/canceled states. The guide is venue/product scoped, not a universal protocol.
  4. Singapore BCA — Site Management Data Standards v1.1, page 65Checked 2026-10-20. Page 65 identifies Singapore standard time as UTC+8. Used only for timestamp/date arithmetic, not construction requirements or financial regulation.

Prepared from the sources listed above. Examples and calculations explain a method; they do not predict prices or certify an investment. Geographic time references do not establish where a trading service is available. Dated schedules can change: consult the named publisher before relying on a future event.

Existing blank records