MCPcopy Create free account
hub / github.com/MikePia/structjour / setMaxLoss

Method setMaxLoss

structjour/view/sumcontrol.py:1312–1348  ·  view source on GitHub ↗

Called (manually) when the stop loss is edited, calculate the max loss from the sldiff and the number of shares. Not exact--the shares is the max number in the trade, not necessarily the initial value. Second opens may or may not increase risk.

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

stopLossMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected