Files
Dmitry ccd06f32f7 chore(app): сгенерированный Dart-клиент
just gen-client — покрывает links, cashflow-broker, ручные цены,
imports/pending, goals/income/rebalance/tax/benchmarks.
2026-09-19 10:46:09 +03:00

35 lines
1.0 KiB
Dart

import 'package:test/test.dart';
import 'package:fintracker_api/fintracker_api.dart';
/// tests for RebalanceApi
void main() {
final instance = FintrackerApi().getRebalanceApi();
group(RebalanceApi, () {
// Rebalance
//
//Future<RebalanceOut> rebalanceRebalance(int portfolioId, { String dimension, CashAvailable cashAvailable }) async
test('test rebalanceRebalance', () async {
// TODO
});
// Set Targets
//
// Replace the whole set for one dimension. The weights must add up to 1 within `WEIGHT_TOLERANCE`; otherwise the request is refused with the actual sum in the message, so the user can see by how much the plan misses rather than being handed a silently rescaled one.
//
//Future<TargetsOut> rebalanceSetTargets(int portfolioId, TargetsIn targetsIn) async
test('test rebalanceSetTargets', () async {
// TODO
});
// Targets
//
//Future<TargetsOut> rebalanceTargets(int portfolioId, { String dimension }) async
test('test rebalanceTargets', () async {
// TODO
});
});
}