mirror of
https://github.com/finmars-platform/finmars-core.git
synced 2026-04-27 07:06:02 +03:00
[GH-ISSUE #50] Calculate Price History Endpoint #9
Labels
No labels
BackEnd
FrontEnd
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/finmars-core#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @falendary on GitHub (Jul 15, 2025).
Original GitHub issue: https://github.com/finmars-platform/finmars-core/issues/50
Originally assigned to: @paktusov on GitHub.
API Endpoint
/:realm_code:/:space_code:/api/v1/instruments/price-history/calculate/
Payload:
Response:
Problem:
Current implementation is part of csv_import, and its not clear how price history fields calculation works
Goal:
Separate Celery Task that will calculate fields like .ytm, .accrued_price etc in background
@sergeiosipov commented on GitHub (Jul 18, 2025):
@paktusov sent you invite into the following workspace for you to check errors
can't understand how the task processed - no info in options and in result of the task:
status of imported prices is still "init" while "success" (or other actual) was expected:
@sergeiosipov commented on GitHub (Jul 19, 2025):
@paktusov 1) at least i need to understand how many items in which status and their error message, ideally have something like in the import results.