这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f70f641
Merge pull request #483 from bitfinexcom/staging
tarcisiozf Sep 25, 2025
b7ae1df
Implement method to make ledger map filtered by ccy grouped by category
ZIMkaRU Sep 18, 2025
bd884f8
Calc all fees usd by ccy
ZIMkaRU Sep 18, 2025
16181bb
Calc total fees usd
ZIMkaRU Sep 18, 2025
8bb2ac0
Add deposits-withdrawals usd statistic info
ZIMkaRU Sep 19, 2025
a2eee28
Inject movements into SummaryByAsset service
ZIMkaRU Sep 24, 2025
6f6e9f3
Omit redundant res field from getSummaryByAsset endpoint
ZIMkaRU Sep 24, 2025
30417ce
Update data consistency checker for getSummaryByAsset endpoint
ZIMkaRU Sep 24, 2025
6948cd3
Update test cases for getSummaryByAsset endpoint
ZIMkaRU Sep 24, 2025
a95c085
Adapt WinLossVSAccountBalance service to get daily returns
ZIMkaRU Sep 29, 2025
4fc46d8
Get daily balances and pl for summary stats
ZIMkaRU Sep 29, 2025
34ab709
Omit unnecessary zero first res
ZIMkaRU Sep 30, 2025
7ac4136
Add ability to get daily returns
ZIMkaRU Sep 30, 2025
2ca171b
Calc pl usd for summary statistic
ZIMkaRU Sep 30, 2025
4db01bb
Add isUnrealizedProfitExcluded flag to data validation schema
ZIMkaRU Sep 30, 2025
c1943ad
Get daily returns
ZIMkaRU Sep 30, 2025
9bddd94
Calc volatility percentage
ZIMkaRU Sep 30, 2025
5cd77f1
Rework volatility perc calc
ZIMkaRU Oct 1, 2025
a304650
Calc sharpe ratio
ZIMkaRU Oct 1, 2025
3924ab4
Calc sortino ratio
ZIMkaRU Oct 1, 2025
a83f999
Calc max drawdown perc
ZIMkaRU Oct 1, 2025
1557288
Enhance data consistency checker for summary stats
ZIMkaRU Oct 2, 2025
24fc883
Drop redundant dao service injection
ZIMkaRU Oct 2, 2025
b3d8ed9
Enhance test coverage for summary stats
ZIMkaRU Oct 2, 2025
6e3bd79
Enhance daily return stat calc
ZIMkaRU Oct 2, 2025
b7eb320
Adjust ledger categories
ZIMkaRU Oct 2, 2025
41850cd
Optimaze ledger map creation
ZIMkaRU Oct 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"inversify": "6.0.1",
"lib-js-util-base": "git+https://github.com/bitfinexcom/lib-js-util-base.git",
"lodash": "4.17.21",
"mathjs": "14.8.1",
"moment": "2.29.4",
"puppeteer": "24.1.0",
"uuid": "9.0.0",
Expand Down
18 changes: 16 additions & 2 deletions test/test-cases/additional-api-sync-mode-sqlite-test-cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,14 @@ module.exports = (
'balanceChangeUsd',
'balanceChangePerc',
'volumeUsd',
'tradingFeesUsd'
'tradingFeesUsd',
'allFeesUsd',
'depositsWithdrawalsUsd',
'plUsd',
'volatilityPerc',
'sharpeRatio',
'sortinoRatio',
'maxDrawdownPerc'
])
})

Expand Down Expand Up @@ -866,7 +873,14 @@ module.exports = (
'balanceChangeUsd',
'balanceChangePerc',
'volumeUsd',
'tradingFeesUsd'
'tradingFeesUsd',
'allFeesUsd',
'depositsWithdrawalsUsd',
'plUsd',
'volatilityPerc',
'sharpeRatio',
'sortinoRatio',
'maxDrawdownPerc'
])
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ module.exports = {
},
end: {
$ref: 'defs#/definitions/end'
},
isUnrealizedProfitExcluded: {
$ref: 'fwDefs#/definitions/isUnrealizedProfitExcluded'
}
}
}
5 changes: 4 additions & 1 deletion workers/loc.api/sync/data.consistency.checker/checkers.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,12 @@ class Checkers {
auth,
params: {
schema: [
this.SYNC_API_METHODS.TRADES,
this.SYNC_API_METHODS.LEDGERS,
this.SYNC_API_METHODS.CANDLES,
this.SYNC_API_METHODS.MOVEMENTS
this.SYNC_API_METHODS.MOVEMENTS,
this.SYNC_API_METHODS.POSITIONS_SNAPSHOT,
this.SYNC_API_METHODS.POSITIONS_HISTORY
]
}
})
Expand Down
Loading