django_napse/__init__.py |
5 |
0 |
0 |
100% |
django_napse/api/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/_utils/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/api_urls.py |
29 |
2 |
0 |
93% |
django_napse/api/bots/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/bots/serializers/__init__.py |
5 |
0 |
0 |
100% |
django_napse/api/bots/serializers/architecture_serializer.py |
7 |
0 |
0 |
100% |
django_napse/api/bots/serializers/bot_serializers.py |
71 |
31 |
0 |
56% |
django_napse/api/bots/serializers/config_serializer.py |
7 |
0 |
0 |
100% |
django_napse/api/bots/serializers/plugin_serializer.py |
9 |
0 |
0 |
100% |
django_napse/api/bots/serializers/strategy_serializer.py |
10 |
0 |
0 |
100% |
django_napse/api/bots/views/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/bots/views/bot_view.py |
86 |
67 |
0 |
22% |
django_napse/api/connections/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/connections/serializers/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/connections/views/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/custom_permissions.py |
54 |
37 |
0 |
31% |
django_napse/api/custom_viewset.py |
17 |
10 |
0 |
41% |
django_napse/api/exchanges/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/exchanges/serializers/__init__.py |
2 |
0 |
0 |
100% |
django_napse/api/exchanges/serializers/exchange_account_detail_serializer.py |
10 |
0 |
0 |
100% |
django_napse/api/exchanges/serializers/exchange_account_serializer.py |
8 |
0 |
0 |
100% |
django_napse/api/exchanges/views/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/exchanges/views/exchange_account_view.py |
54 |
32 |
0 |
41% |
django_napse/api/fleets/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/fleets/serializers/__init__.py |
2 |
0 |
0 |
100% |
django_napse/api/fleets/serializers/cluster_serialisers.py |
24 |
9 |
0 |
62% |
django_napse/api/fleets/serializers/fleet_serializers.py |
128 |
83 |
0 |
35% |
django_napse/api/fleets/views/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/fleets/views/fleet_view.py |
91 |
67 |
0 |
26% |
django_napse/api/histories/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/keys/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/keys/serializers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/keys/serializers/key.py |
18 |
5 |
0 |
72% |
django_napse/api/keys/views/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/keys/views/key_view.py |
78 |
53 |
0 |
32% |
django_napse/api/orders/__init__.py |
2 |
0 |
0 |
100% |
django_napse/api/orders/serializers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/orders/serializers/order_serializer.py |
26 |
11 |
0 |
58% |
django_napse/api/orders/views/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/orders/views/order_view.py |
17 |
6 |
0 |
65% |
django_napse/api/permissions/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/permissions/serializers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/permissions/serializers/permission.py |
7 |
0 |
0 |
100% |
django_napse/api/permissions/views/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/spaces/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/spaces/serializers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/spaces/serializers/space_serializers.py |
84 |
49 |
0 |
42% |
django_napse/api/spaces/views/__init__.py |
1 |
0 |
0 |
100% |
django_napse/api/spaces/views/space_view.py |
95 |
68 |
0 |
28% |
django_napse/api/transactions/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/transactions/serializers/__init__.py |
3 |
0 |
0 |
100% |
django_napse/api/transactions/serializers/credit_serializer.py |
8 |
0 |
0 |
100% |
django_napse/api/transactions/serializers/debit_serializer.py |
8 |
0 |
0 |
100% |
django_napse/api/transactions/serializers/transaction_serializer.py |
8 |
0 |
0 |
100% |
django_napse/api/wallets/__init__.py |
0 |
0 |
0 |
100% |
django_napse/api/wallets/serializers/__init__.py |
2 |
0 |
0 |
100% |
django_napse/api/wallets/serializers/currency_serializer.py |
11 |
1 |
0 |
91% |
django_napse/api/wallets/serializers/wallet_serializers.py |
21 |
6 |
0 |
71% |
django_napse/auth/__init__.py |
1 |
0 |
0 |
100% |
django_napse/auth/apps.py |
5 |
0 |
0 |
100% |
django_napse/auth/db_essentials.py |
18 |
0 |
0 |
100% |
django_napse/auth/migrations/0001_initial.py |
7 |
0 |
0 |
100% |
django_napse/auth/migrations/0002_napseapikey.py |
5 |
0 |
0 |
100% |
django_napse/auth/migrations/0003_alter_keypermission_key.py |
5 |
0 |
0 |
100% |
django_napse/auth/migrations/0004_napseapikey_description.py |
4 |
0 |
0 |
100% |
django_napse/auth/migrations/0005_alter_keypermission_space.py |
5 |
0 |
0 |
100% |
django_napse/auth/migrations/__init__.py |
0 |
0 |
0 |
100% |
django_napse/auth/models/__init__.py |
2 |
0 |
0 |
100% |
django_napse/auth/models/keys/__init__.py |
1 |
0 |
0 |
100% |
django_napse/auth/models/keys/key.py |
21 |
4 |
0 |
81% |
django_napse/auth/models/permissions/__init__.py |
1 |
0 |
0 |
100% |
django_napse/auth/models/permissions/managers/__init__.py |
0 |
0 |
0 |
100% |
django_napse/auth/models/permissions/permission.py |
28 |
13 |
2 |
54% |
django_napse/core/__init__.py |
2 |
0 |
0 |
100% |
django_napse/core/apps.py |
5 |
0 |
0 |
100% |
django_napse/core/celery_app.py |
20 |
5 |
0 |
75% |
django_napse/core/db_essentials.py |
41 |
4 |
0 |
90% |
django_napse/core/migrations/0001_initial.py |
10 |
0 |
0 |
100% |
django_napse/core/migrations/0002_history_historydatapoint_historydatapointfield.py |
6 |
0 |
0 |
100% |
django_napse/core/migrations/0003_wallethistory.py |
5 |
0 |
0 |
100% |
django_napse/core/migrations/0004_spacehistory_fleethistory_exchangeaccounthistory.py |
5 |
0 |
0 |
100% |
django_napse/core/migrations/0005_exchangeaccount_default.py |
4 |
0 |
0 |
100% |
django_napse/core/migrations/0006_alter_exchangeaccount_name.py |
4 |
0 |
0 |
100% |
django_napse/core/migrations/0007_historydatapoint_created_at.py |
5 |
0 |
0 |
100% |
django_napse/core/migrations/0008_bothistory.py |
5 |
0 |
0 |
100% |
django_napse/core/migrations/0009_rename_exit_base_amount_order_exit_amount_base_and_more.py |
4 |
0 |
0 |
100% |
django_napse/core/migrations/__init__.py |
0 |
0 |
0 |
100% |
django_napse/core/models/__init__.py |
8 |
0 |
0 |
100% |
django_napse/core/models/accounts/__init__.py |
2 |
0 |
0 |
100% |
django_napse/core/models/accounts/exchange.py |
59 |
1 |
13 |
98% |
django_napse/core/models/accounts/managers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/accounts/managers/exchange.py |
9 |
0 |
0 |
100% |
django_napse/core/models/accounts/managers/space.py |
11 |
0 |
0 |
100% |
django_napse/core/models/accounts/space.py |
75 |
23 |
2 |
69% |
django_napse/core/models/bots/__init__.py |
9 |
0 |
0 |
100% |
django_napse/core/models/bots/architecture.py |
68 |
20 |
30 |
71% |
django_napse/core/models/bots/architectures/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/bots/architectures/single_pair.py |
30 |
1 |
2 |
97% |
django_napse/core/models/bots/bot.py |
139 |
39 |
2 |
72% |
django_napse/core/models/bots/config.py |
36 |
1 |
4 |
97% |
django_napse/core/models/bots/controller.py |
171 |
37 |
2 |
78% |
django_napse/core/models/bots/implementations/__init__.py |
3 |
0 |
0 |
100% |
django_napse/core/models/bots/implementations/dca/__init__.py |
2 |
0 |
0 |
100% |
django_napse/core/models/bots/implementations/dca/config.py |
6 |
0 |
0 |
100% |
django_napse/core/models/bots/implementations/dca/strategy.py |
27 |
1 |
2 |
96% |
django_napse/core/models/bots/implementations/empty/__init__.py |
2 |
0 |
0 |
100% |
django_napse/core/models/bots/implementations/empty/config.py |
6 |
0 |
0 |
100% |
django_napse/core/models/bots/implementations/empty/strategy.py |
23 |
0 |
2 |
100% |
django_napse/core/models/bots/implementations/turbo_dca/__init__.py |
2 |
0 |
0 |
100% |
django_napse/core/models/bots/implementations/turbo_dca/config.py |
7 |
0 |
0 |
100% |
django_napse/core/models/bots/implementations/turbo_dca/strategy.py |
45 |
4 |
2 |
91% |
django_napse/core/models/bots/managers/__init__.py |
3 |
0 |
0 |
100% |
django_napse/core/models/bots/managers/architecture.py |
9 |
0 |
0 |
100% |
django_napse/core/models/bots/managers/bot_config.py |
22 |
0 |
0 |
100% |
django_napse/core/models/bots/managers/controller.py |
9 |
2 |
0 |
78% |
django_napse/core/models/bots/managers/plugin.py |
11 |
2 |
0 |
82% |
django_napse/core/models/bots/managers/strategy.py |
16 |
4 |
0 |
75% |
django_napse/core/models/bots/plugin.py |
37 |
12 |
0 |
68% |
django_napse/core/models/bots/plugins/__init__.py |
3 |
0 |
0 |
100% |
django_napse/core/models/bots/plugins/lbo.py |
16 |
1 |
0 |
94% |
django_napse/core/models/bots/plugins/mbp.py |
15 |
0 |
0 |
100% |
django_napse/core/models/bots/plugins/sbv.py |
16 |
0 |
0 |
100% |
django_napse/core/models/bots/strategy.py |
52 |
27 |
2 |
48% |
django_napse/core/models/connections/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/connections/connection.py |
59 |
25 |
9 |
58% |
django_napse/core/models/connections/managers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/connections/managers/connection.py |
9 |
0 |
0 |
100% |
django_napse/core/models/fleets/__init__.py |
3 |
0 |
0 |
100% |
django_napse/core/models/fleets/cluster.py |
61 |
10 |
2 |
84% |
django_napse/core/models/fleets/fleet.py |
79 |
23 |
2 |
71% |
django_napse/core/models/fleets/link.py |
15 |
8 |
2 |
47% |
django_napse/core/models/fleets/managers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/fleets/managers/fleet.py |
20 |
4 |
0 |
80% |
django_napse/core/models/histories/__init__.py |
6 |
0 |
0 |
100% |
django_napse/core/models/histories/bot.py |
4 |
0 |
0 |
100% |
django_napse/core/models/histories/exchange_account.py |
4 |
0 |
0 |
100% |
django_napse/core/models/histories/fleet.py |
4 |
0 |
0 |
100% |
django_napse/core/models/histories/history.py |
63 |
15 |
4 |
76% |
django_napse/core/models/histories/space.py |
4 |
0 |
0 |
100% |
django_napse/core/models/histories/wallet.py |
4 |
0 |
0 |
100% |
django_napse/core/models/modifications/__init__.py |
4 |
0 |
0 |
100% |
django_napse/core/models/modifications/architecture.py |
17 |
6 |
0 |
65% |
django_napse/core/models/modifications/connection.py |
13 |
3 |
0 |
77% |
django_napse/core/models/modifications/modification.py |
16 |
1 |
0 |
94% |
django_napse/core/models/modifications/strategy.py |
17 |
6 |
0 |
65% |
django_napse/core/models/orders/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/orders/managers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/orders/managers/order.py |
24 |
6 |
0 |
75% |
django_napse/core/models/orders/order.py |
172 |
42 |
2 |
76% |
django_napse/core/models/transactions/__init__.py |
3 |
0 |
0 |
100% |
django_napse/core/models/transactions/credit.py |
20 |
0 |
2 |
100% |
django_napse/core/models/transactions/debit.py |
20 |
0 |
2 |
100% |
django_napse/core/models/transactions/managers/__init__.py |
3 |
0 |
0 |
100% |
django_napse/core/models/transactions/managers/credit.py |
11 |
0 |
0 |
100% |
django_napse/core/models/transactions/managers/debit.py |
11 |
0 |
0 |
100% |
django_napse/core/models/transactions/managers/transaction.py |
26 |
4 |
0 |
85% |
django_napse/core/models/transactions/transaction.py |
26 |
0 |
2 |
100% |
django_napse/core/models/wallets/__init__.py |
2 |
0 |
0 |
100% |
django_napse/core/models/wallets/currency.py |
22 |
1 |
4 |
95% |
django_napse/core/models/wallets/managers/__init__.py |
1 |
0 |
0 |
100% |
django_napse/core/models/wallets/managers/wallet.py |
9 |
0 |
0 |
100% |
django_napse/core/models/wallets/wallet.py |
174 |
9 |
8 |
95% |
django_napse/core/settings.py |
71 |
29 |
0 |
59% |
django_napse/core/tasks/__init__.py |
4 |
0 |
0 |
100% |
django_napse/core/tasks/base_tasks.py |
53 |
20 |
0 |
62% |
django_napse/core/tasks/candle_collector.py |
83 |
68 |
0 |
18% |
django_napse/core/tasks/controller_update.py |
18 |
7 |
0 |
61% |
django_napse/core/tasks/order_process_executor.py |
11 |
4 |
0 |
64% |
django_napse/simulations/__init__.py |
0 |
0 |
0 |
100% |
django_napse/simulations/apps.py |
5 |
0 |
0 |
100% |
django_napse/simulations/migrations/0001_initial.py |
8 |
0 |
0 |
100% |
django_napse/simulations/migrations/__init__.py |
0 |
0 |
0 |
100% |
django_napse/simulations/models/__init__.py |
2 |
0 |
0 |
100% |
django_napse/simulations/models/datasets/__init__.py |
1 |
0 |
0 |
100% |
django_napse/simulations/models/datasets/dataset.py |
116 |
11 |
0 |
91% |
django_napse/simulations/models/datasets/managers/__init__.py |
0 |
0 |
0 |
100% |
django_napse/simulations/models/datasets/managers/dataset.py |
10 |
0 |
0 |
100% |
django_napse/simulations/models/simulations/__init__.py |
3 |
0 |
0 |
100% |
django_napse/simulations/models/simulations/currency.py |
41 |
19 |
4 |
54% |
django_napse/simulations/models/simulations/managers/__init__.py |
3 |
0 |
0 |
100% |
django_napse/simulations/models/simulations/managers/data_point.py |
12 |
8 |
0 |
33% |
django_napse/simulations/models/simulations/managers/simulation.py |
41 |
4 |
0 |
90% |
django_napse/simulations/models/simulations/managers/simulation_queue.py |
11 |
0 |
0 |
100% |
django_napse/simulations/models/simulations/simulation.py |
64 |
9 |
0 |
86% |
django_napse/simulations/models/simulations/simulation_queue.py |
249 |
9 |
0 |
96% |
django_napse/simulations/tasks/__init__.py |
2 |
0 |
0 |
100% |
django_napse/simulations/tasks/dataset_queue.py |
25 |
14 |
0 |
44% |
django_napse/simulations/tasks/simulation_queue.py |
36 |
25 |
0 |
31% |
django_napse/utils/__init__.py |
0 |
0 |
0 |
100% |
django_napse/utils/api_test_case.py |
136 |
83 |
0 |
39% |
django_napse/utils/constants.py |
65 |
1 |
0 |
98% |
django_napse/utils/custom_test_case.py |
29 |
5 |
0 |
83% |
django_napse/utils/dict_comparison.py |
61 |
56 |
0 |
8% |
django_napse/utils/errors/__init__.py |
13 |
0 |
0 |
100% |
django_napse/utils/errors/api.py |
22 |
0 |
0 |
100% |
django_napse/utils/errors/bots.py |
18 |
0 |
0 |
100% |
django_napse/utils/errors/exchange.py |
5 |
0 |
0 |
100% |
django_napse/utils/errors/fleets.py |
5 |
0 |
0 |
100% |
django_napse/utils/errors/histories.py |
2 |
0 |
0 |
100% |
django_napse/utils/errors/key.py |
2 |
0 |
0 |
100% |
django_napse/utils/errors/napse.py |
3 |
0 |
0 |
100% |
django_napse/utils/errors/orders.py |
4 |
0 |
0 |
100% |
django_napse/utils/errors/sims.py |
7 |
0 |
0 |
100% |
django_napse/utils/errors/spaces.py |
2 |
0 |
0 |
100% |
django_napse/utils/errors/tasks.py |
1 |
0 |
0 |
100% |
django_napse/utils/errors/transactions.py |
3 |
0 |
0 |
100% |
django_napse/utils/errors/wallets.py |
5 |
0 |
0 |
100% |
django_napse/utils/findable_class.py |
12 |
0 |
0 |
100% |
django_napse/utils/model_test_case.py |
34 |
6 |
0 |
82% |
django_napse/utils/serializers/__init__.py |
2 |
0 |
0 |
100% |
django_napse/utils/serializers/fields.py |
50 |
2 |
0 |
96% |
django_napse/utils/serializers/serializer.py |
125 |
0 |
0 |
100% |
django_napse/utils/trading/__init__.py |
1 |
0 |
0 |
100% |
django_napse/utils/trading/binance_controller.py |
303 |
145 |
0 |
52% |
django_napse/utils/usefull_functions.py |
53 |
19 |
0 |
64% |
tests/__init__.py |
0 |
0 |
0 |
100% |
tests/django_tests/__init__.py |
2 |
0 |
0 |
100% |
tests/django_tests/api/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/api/fleets/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/api/fleets/test_fleet_view.py |
40 |
23 |
0 |
42% |
tests/django_tests/api/keys/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/api/keys/test_create.py |
23 |
10 |
0 |
57% |
tests/django_tests/api/spaces/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/api/spaces/test_space_view.py |
27 |
11 |
0 |
59% |
tests/django_tests/db/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/accounts/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/accounts/test_exchange.py |
55 |
3 |
0 |
95% |
tests/django_tests/db/accounts/test_space.py |
31 |
0 |
0 |
100% |
tests/django_tests/db/authorizations/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/bots/__init__.py |
2 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_architechture.py |
9 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_bot.py |
24 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_bot_config.py |
30 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_plugin.py |
31 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_plugins/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_plugins/test_plugin_mbp.py |
12 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_strategies/__init__.py |
3 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_strategies/test_dca.py |
14 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_strategies/test_empty_bot.py |
13 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_strategies/test_turbo_dca.py |
14 |
0 |
0 |
100% |
tests/django_tests/db/bots/test_strategy.py |
30 |
3 |
0 |
90% |
tests/django_tests/db/datasets/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/datasets/test_candle.py |
14 |
0 |
0 |
100% |
tests/django_tests/db/datasets/test_dataset.py |
63 |
0 |
0 |
100% |
tests/django_tests/db/fleets/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/fleets/test_fleet.py |
53 |
0 |
0 |
100% |
tests/django_tests/db/histories/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/histories/test_history.py |
24 |
0 |
0 |
100% |
tests/django_tests/db/histories/test_special_history.py |
15 |
0 |
0 |
100% |
tests/django_tests/db/orders/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/orders/test_order.py |
18 |
0 |
0 |
100% |
tests/django_tests/db/simulations/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/simulations/test_simulation.py |
31 |
0 |
0 |
100% |
tests/django_tests/db/simulations/test_simulation_queue.py |
25 |
0 |
0 |
100% |
tests/django_tests/db/test_validation.py |
34 |
13 |
0 |
62% |
tests/django_tests/db/transactions/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/transactions/test_credit.py |
17 |
0 |
0 |
100% |
tests/django_tests/db/transactions/test_debit.py |
19 |
0 |
0 |
100% |
tests/django_tests/db/transactions/test_transactions.py |
29 |
0 |
0 |
100% |
tests/django_tests/db/wallets/__init__.py |
1 |
0 |
0 |
100% |
tests/django_tests/db/wallets/test_currency.py |
21 |
0 |
0 |
100% |
tests/django_tests/db/wallets/test_wallet.py |
112 |
0 |
0 |
100% |
tests/django_tests/test_serializer.py |
127 |
8 |
0 |
94% |
tests/test_app/__init__.py |
2 |
0 |
0 |
100% |
tests/test_app/celery_app.py |
1 |
0 |
0 |
100% |
tests/test_app/manage.py |
15 |
3 |
0 |
80% |
tests/test_app/settings.py |
30 |
0 |
0 |
100% |
tests/test_app/urls.py |
5 |
0 |
0 |
100% |