Flip

Personal bazaar plan for the verified account of the caller: Active, Investing or both from one budget. Free users get three sampled rows and the number of hidden ones.

Changed on
post/api/flip/bazaar/plan

Request

  • Base URL
    https://sky.coflnet.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header GoogleToken

Request body

BazaarPlanRequest required

Optional overrides of the personal bazaar plan; every field has a smart default.

modes, string[] nullable

Requested modes "active" and/or "investing" (case-insensitive); defaults to active only.

investingHorizonHours, number double nullable

Hold horizon for investing in hours, required when investing is requested, greater than 0 and at most 48. Never clamped.

activeHorizonHours, number double nullable

Hold horizon of active orders in hours, defaults to 1.

budgetCoins, number double nullable

Coins to plan with; defaults to two thirds of the purse of the verified account.

sellTaxRate, number double nullable

Attested sell tax as fraction (for example 0.0125); the engine assumes a rate when omitted.

Response

OK

BazaarPlanResponse required

A personal bazaar plan.

quote, BazaarPlanQuote

Identity and validity of the quote an allocation was computed from.

status, string nullable

Overall engine status.

investingStatus, string nullable

Investing status, for example EmptyQualified or Unavailable; null when investing was not requested.

investingReasonCodes, string[] nullable

Reasons for the investing status.

portfolio, BazaarPlanPortfolio

Budget and slot accounting of a plan.

orders, BazaarPlanOrder[] nullable

Planned orders.

unqualifiedInvestingCandidates, BazaarPlanOrder[] nullable

Advisory investing candidates that are not part of the plan; empty for free users.

modes, string[] nullable

Canonical modes that were planned.

investingHorizonHours, number double nullable

Investing horizon that was used.

budgetCoins, number double required

Budget before open buy orders were deducted.

budgetSource, string nullable

"request" or "purse-estimate".

accountState, BazaarPlanAccountState

Account state the plan was computed with.

tier, string nullable

Tier of the user.

hiddenCount, integer required

Number of orders only visible with Starter Premium.

premiumUrl, string nullable

Where to get Starter Premium, set when orders are hidden.

warnings, string[] nullable

Non fatal problems such as orders_unavailable.

Changes

    • info

      added the optional property orders/items/confidence/evidenceSource to the response with the status (media type: text/plain)

    • info

      added the optional property orders/items/confidence/evidenceSource to the response with the status (media type: application/json)

    • info

      added the optional property orders/items/confidence/evidenceSource to the response with the status (media type: text/json)

    9 more changes in this revision