Flip
Re-plans for the caller and tracks the buy order of one item in game. Accepts the Google token or the SkyCofl api key in the x-api-key header (only this route accepts the key alone).
Changed onpost/api/flip/bazaar/plan/track-item
Request
- Base URLhttps://sky.coflnet.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Request body
Bazaar Plan Track Item Request required
Request to re-plan and track the buy order of one item in game, without a quote of this service.
itemTag, string nullable
Tag of the item to track, required.
modes, string[] nullable
Requested modes, same as for the plan.
investingHorizonHours, integer nullable
Investing horizon in hours, same rules as for the plan.
budgetCoins, integer nullable
Coins to plan with, same rules as for the plan.
sellTaxRate, number double nullable
Attested sell tax fraction.
expectedEntryPrice, number double nullable
Entry price the caller saw; a different fresh entry is flagged in the response.
Response
OK
Bazaar Plan Track Item Response required
Terms an item was tracked with.
itemTag, string nullable
Tag of the item.
itemName, string nullable
Display name of the item.
originalQuantity, integer required
Quantity of the tracked cycle.
entryPrice, number double required
Fresh buy price per unit.
exitPrice, number double nullable
Fresh sell price per unit.
estimatedNetProfit, number double required
Estimated profit after tax in coins.
capitalLockHorizonHours, number double required
Hours the capital stays locked at most.
quoteId, string nullable
Quote the tracked terms come from.
priceChanged, boolean required
True when the fresh entry price differs from the expected one by more than max(0.1, 2%).
Changes
- info
endpoint added
- info