Bentrix Docs
HomePricingDashboard

Java: account

Every method of client.account in the Java SDK.

fillsGet#

Read a real account's measured fills · tool fills_get

scope: readplan: freesince 1.14.0

Answers the measurement fills_measure started: whether it is still reading, the laboratory it re-prices on, per market the shortfall's figures and the calibrated slippage (fixed at the median, random up to twice the mean, each in the market's price units), the latency, and every deal re-priced.

Declaration

client.account
public Object fillsGet(FillsGetArgs args)

Parameters

NameTypeWhat it is
accountStringrequiredThe account's uri, as get_state gives it: bentrix://account/<id>.

Returns

Object — the tool’s answer as maps and lists.

What it answers

Answers the measurement fills_measure started: whether it is still reading, the laboratory it re-prices on, per market the shortfall's figures and the calibrated slippage (fixed at the median, random up to twice the mean, each in the market's price units), the latency, and every deal re-priced.

Example

client.account.fillsGet(new Bentrix.AccountApi.FillsGetArgs(account))

fillsMakeBench#

Make a workbench with a real account's measured slippage · tool fills_make_bench

scope: labplan: freesince 1.14.0

Makes a laboratory workbench alike one of the account's history's laboratory, its fills slipping by what fills_measure measured — fixed at the median or random with the measured mean, each market in its own price units — and waiting the measured latency where chosen; a strategy re-run there runs on the person's own slippage. Answers the workbench's uri.

Declaration

client.account
public Object fillsMakeBench(FillsMakeBenchArgs args)

Parameters

NameTypeWhat it is
accountStringrequiredThe account's uri, as get_state gives it: bentrix://account/<id>.
alikeStringoptionalThe laboratory workbench to make it alike (the laboratory's first when absent): bentrix://lab/<lab>/bench/<bench>.
latencybooleanoptionalWhether the measured latency is taken too (true when absent).
slippageStringoptionalMedian (fixed at each market's median shortfall) or mean (random, its mean the measured mean); median when absent.

Returns

Object — the tool’s answer as maps and lists.

What it answers

Answers the workbench's uri.

Example

client.account.fillsMakeBench(new Bentrix.AccountApi.FillsMakeBenchArgs(account))

fillsMeasure#

Measure a real account's own fills · tool fills_measure

scope: readplan: freesince 1.14.0

Reads a real account's deals and orders off its MetaTrader (prices and moments, no money figure) and re-prices each on the laboratory of that account's history: per market the shortfall against what Bentrix's venue would have filled (median, mean, 90th percentile, worst, in points), the latency from placing a market order to its fill, and a calibrated slippage. Starts the read and answers as fills_get does; fills_get again until reading is false.

Declaration

client.account
public Object fillsMeasure(FillsMeasureArgs args)

Parameters

NameTypeWhat it is
accountStringrequiredThe account's uri, as get_state gives it: bentrix://account/<id>.
spanStringoptionalHow far back: 30d, 90d, 1y or all (90d when absent).

Returns

Object — the tool’s answer as maps and lists.

What it answers

What the tool's description says.

Example

client.account.fillsMeasure(new Bentrix.AccountApi.FillsMeasureArgs(account))

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed