Skip to content
These docs describe Tradr v0.14.0. Running an older release? Check the release notes for what changed.

Set the calculator's buying-power basis.

PUT
/api/users/me/buying-power-basis
curl --request PUT \
--url https://api.tradr.cloud/api/users/me/buying-power-basis \
--header 'Content-Type: application/json' \
--data '{ "basis": "cash" }'

Authed. cash caps position size at what the account can actually deploy; balance caps at total equity, which overstates fundable capital by whatever is already tied up in open positions. Affects only the cap — the risk budget stays riskPercent × balance either way. Changes nothing stored beyond the preference itself.

Media typeapplication/json
object
basis
required
string
Allowed values: cash balance

The stored basis.

Not one of cash | balance.

Authentication required.