{"slug":"finops-halowerk-com-v1-treasury-share-equity-reissue-ledger-dc4fd7","title":"Reconstruct one issuer OWNordinary-equity treasury-share ledger from openingquan","host":"finops.halowerk.com","method":"POST","resource":"https://finops.halowerk.com/v1/treasury-share-equity-reissue-ledger","category":"market","description":"Reconstruct one issuer OWNordinary-equity treasury-share ledger from openingquantity/cost and FOUR ordered repurchases(kind0)/reissues(kind1). OWNrollingWEIGHTED-AVERAGEcost: buysaddquantity*price tocost; reissue removes oldcost*quantity/oldquantity. Return13completefour-slotfractionarrays: closingq","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":1264,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"capture_index":0,"captured_price_domain":[1],"events":[{"fee":0,"kind":1,"price":1,"quantity":1},{"fee":0,"kind":0,"price":1,"quantity":1},{"fee":0,"kind":1,"price":1,"quantity":1},{"fee":0,"kind":1,"price":1,"quantity":2}],"opening_shares":3,"opening_treasury_cost":1,"report":{"average_cost":[{"d":"3","n":"1"},{"d":"9","n":"5"},{"d":"9","n":"5"},{"d":"1","n":"0"}],"cash_delta":[{"d":"1","n":"1"},{"d":"1","n":"-1"},{"d":"1","n":"1"},{"d":"1","n":"2"}],"cost_removed":[{"d":"3","n":"1"},{"d":"1","n":"0"},{"d":"9","n":"5"},{"d":"9","n":"10"}],"cumulative_cash":[{"d":"1","n":"1"},{"d":"1","n":"0"},{"d":"1","n":"1"},{"d":"1","n":"3"}],"cumulative_other_equity":[{"d":"3","n":"2"},{"d":"3","n":"2"},{"d":"9","n":"10"},{"d":"1","n":"2"}],"direct_equity_difference":[{"d":"3","n":"2"},{"d":"1","n":"0"},{"d":"9","n":"4"},{"d":"9","n":"8"}],"equity_cash_gap":[{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"}],"fee_equity":[{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"}],"profit_loss":[{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"},{"d":"1","n":"0"}],"quantity":[{"d":"1","n":"2"},{"d":"1","n":"3"},{"d":"1","n":"2"},{"d":"1","n":"0"}],"total_equity_change":[{"d":"1","n":"1"},{"d":"1","n":"0"},{"d":"1","n":"1"},{"d":"1","n":"3"}],"treasury_cost":[{"d":"3","n":"2"},{"d":"3","n":"5"},{"d":"9","n":"10"},{"d":"1","n":"0"}],"treasury_equity":[{"d":"3","n":"-2"},{"d":"3","n":"-5"},{"d":"9","n":"-10"},{"d":"1","n":"0"}]}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"capture_index":{"maximum":3,"minimum":0,"type":"integer"},"captured_price_domain":{"items":{"maximum":10000,"minimum":1,"type":"integer"},"maxItems":2,"minItems":1,"type":"array","uniqueItems":true},"events":{"items":{"additionalProperties":false,"properties":{"fee":{"maximum":10000,"minimum":0,"type":"integer"},"kind":{"maximum":1,"minimum":0,"type":"integer"},"price":{"maximum":10000,"minimum":1,"type":"integer"},"quantity":{"maximum":100,"minimum":1,"type":"integer"}},"required":["kind","quantity","price","fee"],"type":"object"},"maxItems":4,"minItems":4,"type":"array"},"opening_shares":{"maximum":100,"minimum":0,"type":"integer"},"opening_treasury_cost":{"maximum":1000000,"minimum":0,"type":"integer"},"report":{"additionalProperties":{"items":{"additionalProperties":false,"properties":{"d":{"maxLength":64,"minLength":1,"type":["string","null"]},"n":{"maxLength":64,"minLength":1,"type":["string","null"]}},"required":["n","d"],"type":"object"},"maxItems":4,"minItems":4,"type":"array"},"maxProperties":13,"minProperties":13,"propertyNames":{"enum":["quantity","treasury_cost","average_cost","cash_delta","cumulative_cash","cost_removed","direct_equity_difference","fee_equity","cumulative_other_equity","treasury_equity","total_equity_change","profit_loss","equity_cash_gap"]},"type":"object"}},"required":["opening_shares","opening_treasury_cost","events","capture_index","captured_price_domain","report"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1184,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1307,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1222,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1322,"error":null}],"description_full":"Reconstruct one issuer OWNordinary-equity treasury-share ledger from openingquantity/cost and FOUR ordered repurchases(kind0)/reissues(kind1). OWNrollingWEIGHTED-AVERAGEcost: buysaddquantity*price tocost; reissue removes oldcost*quantity/oldquantity. Return13completefour-slotfractionarrays: closingquantity/cost/averagecost,cashdelta/cumulativecash,costremoved,directequitydifference,negativefeeequity,cumulativeotherequity,negativetreasurycontraequity,totalequitychange,P&LZERO andequity-cashgap.","last_updated":"2026-11-24T10:33:19.73Z","schemes":["exact"]}