@almadar/std 6.5.2 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-trading-dashboard",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-trading-dashboard as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "PortfolioOrbital",
|
|
@@ -17,30 +17,71 @@
|
|
|
17
17
|
{
|
|
18
18
|
"name": "totalValue",
|
|
19
19
|
"type": "number",
|
|
20
|
-
"default": 0
|
|
20
|
+
"default": 0.0
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "dailyChange",
|
|
24
24
|
"type": "number",
|
|
25
|
-
"default": 0
|
|
25
|
+
"default": 0.0
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "positions",
|
|
29
29
|
"type": "number",
|
|
30
|
-
"default": 0
|
|
30
|
+
"default": 0.0
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "cashBalance",
|
|
34
34
|
"type": "number",
|
|
35
|
-
"default": 0
|
|
35
|
+
"default": 0.0
|
|
36
36
|
}
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
39
|
"traits": [
|
|
40
40
|
{
|
|
41
41
|
"name": "PortfolioDisplay",
|
|
42
|
-
"linkedEntity": "Portfolio",
|
|
43
42
|
"category": "interaction",
|
|
43
|
+
"linkedEntity": "Portfolio",
|
|
44
|
+
"emits": [
|
|
45
|
+
{
|
|
46
|
+
"event": "PortfolioLoaded",
|
|
47
|
+
"description": "Fired when Portfolio finishes loading",
|
|
48
|
+
"scope": "internal",
|
|
49
|
+
"payload": [
|
|
50
|
+
{
|
|
51
|
+
"name": "id",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"required": true
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "totalValue",
|
|
57
|
+
"type": "number"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "dailyChange",
|
|
61
|
+
"type": "number"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "positions",
|
|
65
|
+
"type": "number"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "cashBalance",
|
|
69
|
+
"type": "number"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"event": "PortfolioLoadFailed",
|
|
75
|
+
"description": "Fired when Portfolio fails to load",
|
|
76
|
+
"scope": "internal",
|
|
77
|
+
"payload": [
|
|
78
|
+
{
|
|
79
|
+
"name": "message",
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
],
|
|
44
85
|
"stateMachine": {
|
|
45
86
|
"states": [
|
|
46
87
|
{
|
|
@@ -70,6 +111,20 @@
|
|
|
70
111
|
{
|
|
71
112
|
"key": "REFRESHED",
|
|
72
113
|
"name": "Refreshed"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"key": "PortfolioLoaded",
|
|
117
|
+
"name": "Portfolio loaded"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"key": "PortfolioLoadFailed",
|
|
121
|
+
"name": "Portfolio load failed",
|
|
122
|
+
"payload": [
|
|
123
|
+
{
|
|
124
|
+
"name": "message",
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
73
128
|
}
|
|
74
129
|
],
|
|
75
130
|
"transitions": [
|
|
@@ -80,39 +135,22 @@
|
|
|
80
135
|
"effects": [
|
|
81
136
|
[
|
|
82
137
|
"fetch",
|
|
83
|
-
"Portfolio"
|
|
138
|
+
"Portfolio",
|
|
139
|
+
{
|
|
140
|
+
"emit": {
|
|
141
|
+
"failure": "PortfolioLoadFailed",
|
|
142
|
+
"success": "PortfolioLoaded"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
84
145
|
],
|
|
85
146
|
[
|
|
86
147
|
"render-ui",
|
|
87
148
|
"main",
|
|
88
149
|
{
|
|
89
|
-
"type": "dashboard-layout",
|
|
90
|
-
"appName": "Trading Dashboard",
|
|
91
|
-
"navItems": [
|
|
92
|
-
{
|
|
93
|
-
"label": "Portfolio",
|
|
94
|
-
"href": "/portfolio",
|
|
95
|
-
"icon": "layout-list"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"label": "Orders",
|
|
99
|
-
"href": "/orders",
|
|
100
|
-
"icon": "clipboard-list"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"label": "Market",
|
|
104
|
-
"href": "/market",
|
|
105
|
-
"icon": "layout-list"
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
150
|
"children": [
|
|
109
151
|
{
|
|
110
|
-
"type": "scaled-diagram",
|
|
111
152
|
"children": [
|
|
112
153
|
{
|
|
113
|
-
"type": "stack",
|
|
114
|
-
"direction": "vertical",
|
|
115
|
-
"gap": "lg",
|
|
116
154
|
"children": [
|
|
117
155
|
{
|
|
118
156
|
"type": "breadcrumb",
|
|
@@ -128,35 +166,35 @@
|
|
|
128
166
|
},
|
|
129
167
|
{
|
|
130
168
|
"type": "stack",
|
|
131
|
-
"direction": "horizontal",
|
|
132
|
-
"gap": "md",
|
|
133
|
-
"justify": "space-between",
|
|
134
169
|
"children": [
|
|
135
170
|
{
|
|
136
|
-
"type": "stack",
|
|
137
|
-
"direction": "horizontal",
|
|
138
|
-
"gap": "md",
|
|
139
171
|
"children": [
|
|
140
172
|
{
|
|
141
|
-
"type": "icon",
|
|
142
173
|
"name": "trending-up",
|
|
143
|
-
"size": "lg"
|
|
174
|
+
"size": "lg",
|
|
175
|
+
"type": "icon"
|
|
144
176
|
},
|
|
145
177
|
{
|
|
146
|
-
"type": "typography",
|
|
147
178
|
"content": "Portfolio",
|
|
179
|
+
"type": "typography",
|
|
148
180
|
"variant": "h2"
|
|
149
181
|
}
|
|
150
|
-
]
|
|
182
|
+
],
|
|
183
|
+
"type": "stack",
|
|
184
|
+
"direction": "horizontal",
|
|
185
|
+
"gap": "md"
|
|
151
186
|
},
|
|
152
187
|
{
|
|
153
|
-
"
|
|
188
|
+
"icon": "refresh-cw",
|
|
189
|
+
"variant": "secondary",
|
|
154
190
|
"label": "Refresh",
|
|
155
191
|
"event": "REFRESH",
|
|
156
|
-
"
|
|
157
|
-
"icon": "refresh-cw"
|
|
192
|
+
"type": "button"
|
|
158
193
|
}
|
|
159
|
-
]
|
|
194
|
+
],
|
|
195
|
+
"justify": "space-between",
|
|
196
|
+
"direction": "horizontal",
|
|
197
|
+
"gap": "md"
|
|
160
198
|
},
|
|
161
199
|
{
|
|
162
200
|
"type": "divider"
|
|
@@ -167,7 +205,7 @@
|
|
|
167
205
|
"children": [
|
|
168
206
|
{
|
|
169
207
|
"type": "simple-grid",
|
|
170
|
-
"columns": 3,
|
|
208
|
+
"columns": 3.0,
|
|
171
209
|
"children": [
|
|
172
210
|
{
|
|
173
211
|
"type": "stat-display",
|
|
@@ -194,7 +232,6 @@
|
|
|
194
232
|
]
|
|
195
233
|
},
|
|
196
234
|
{
|
|
197
|
-
"type": "stat-display",
|
|
198
235
|
"label": "Positions",
|
|
199
236
|
"value": [
|
|
200
237
|
"object/get",
|
|
@@ -203,10 +240,10 @@
|
|
|
203
240
|
"@entity"
|
|
204
241
|
],
|
|
205
242
|
"positions"
|
|
206
|
-
]
|
|
243
|
+
],
|
|
244
|
+
"type": "stat-display"
|
|
207
245
|
},
|
|
208
246
|
{
|
|
209
|
-
"type": "stat-display",
|
|
210
247
|
"label": "CashBalance",
|
|
211
248
|
"value": [
|
|
212
249
|
"object/get",
|
|
@@ -215,7 +252,8 @@
|
|
|
215
252
|
"@entity"
|
|
216
253
|
],
|
|
217
254
|
"cashBalance"
|
|
218
|
-
]
|
|
255
|
+
],
|
|
256
|
+
"type": "stat-display"
|
|
219
257
|
}
|
|
220
258
|
]
|
|
221
259
|
}
|
|
@@ -226,114 +264,137 @@
|
|
|
226
264
|
},
|
|
227
265
|
{
|
|
228
266
|
"type": "grid",
|
|
229
|
-
"columns": 2,
|
|
230
|
-
"gap": "md",
|
|
267
|
+
"columns": 2.0,
|
|
231
268
|
"children": [
|
|
232
269
|
{
|
|
233
|
-
"type": "card",
|
|
234
270
|
"children": [
|
|
235
271
|
{
|
|
236
|
-
"
|
|
272
|
+
"content": "Chart View",
|
|
237
273
|
"variant": "caption",
|
|
238
|
-
"
|
|
274
|
+
"type": "typography"
|
|
239
275
|
}
|
|
240
|
-
]
|
|
276
|
+
],
|
|
277
|
+
"type": "card"
|
|
241
278
|
},
|
|
242
279
|
{
|
|
243
|
-
"type": "card",
|
|
244
280
|
"children": [
|
|
245
281
|
{
|
|
246
282
|
"type": "typography",
|
|
247
283
|
"variant": "caption",
|
|
248
284
|
"content": "Graph View"
|
|
249
285
|
}
|
|
250
|
-
]
|
|
286
|
+
],
|
|
287
|
+
"type": "card"
|
|
251
288
|
}
|
|
252
|
-
]
|
|
289
|
+
],
|
|
290
|
+
"gap": "md"
|
|
253
291
|
},
|
|
254
292
|
{
|
|
255
293
|
"type": "line-chart",
|
|
294
|
+
"xKey": "date",
|
|
295
|
+
"title": "Trend",
|
|
256
296
|
"data": [
|
|
257
297
|
{
|
|
258
298
|
"date": "Jan",
|
|
259
|
-
"value": 12
|
|
299
|
+
"value": 12.0
|
|
260
300
|
},
|
|
261
301
|
{
|
|
262
302
|
"date": "Feb",
|
|
263
|
-
"value": 19
|
|
303
|
+
"value": 19.0
|
|
264
304
|
},
|
|
265
305
|
{
|
|
266
|
-
"
|
|
267
|
-
"
|
|
306
|
+
"value": 15.0,
|
|
307
|
+
"date": "Mar"
|
|
268
308
|
},
|
|
269
309
|
{
|
|
270
|
-
"
|
|
271
|
-
"
|
|
310
|
+
"value": 25.0,
|
|
311
|
+
"date": "Apr"
|
|
272
312
|
},
|
|
273
313
|
{
|
|
274
|
-
"
|
|
275
|
-
"
|
|
314
|
+
"value": 22.0,
|
|
315
|
+
"date": "May"
|
|
276
316
|
},
|
|
277
317
|
{
|
|
278
318
|
"date": "Jun",
|
|
279
|
-
"value": 30
|
|
319
|
+
"value": 30.0
|
|
280
320
|
}
|
|
281
321
|
],
|
|
282
|
-
"
|
|
283
|
-
"yKey": "value",
|
|
284
|
-
"title": "Trend"
|
|
322
|
+
"yKey": "value"
|
|
285
323
|
},
|
|
286
324
|
{
|
|
287
|
-
"type": "chart-legend",
|
|
288
325
|
"items": [
|
|
289
326
|
{
|
|
290
|
-
"
|
|
291
|
-
"
|
|
327
|
+
"color": "primary",
|
|
328
|
+
"label": "Current"
|
|
292
329
|
},
|
|
293
330
|
{
|
|
294
|
-
"
|
|
295
|
-
"
|
|
331
|
+
"color": "muted",
|
|
332
|
+
"label": "Previous"
|
|
296
333
|
}
|
|
297
|
-
]
|
|
334
|
+
],
|
|
335
|
+
"type": "chart-legend"
|
|
298
336
|
},
|
|
299
337
|
{
|
|
300
338
|
"type": "graph-view",
|
|
339
|
+
"width": 400.0,
|
|
340
|
+
"edges": [
|
|
341
|
+
{
|
|
342
|
+
"from": "a",
|
|
343
|
+
"to": "b"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"to": "c",
|
|
347
|
+
"from": "b"
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"height": 200.0,
|
|
301
351
|
"nodes": [
|
|
302
352
|
{
|
|
303
353
|
"id": "a",
|
|
304
354
|
"label": "Start",
|
|
305
|
-
"
|
|
306
|
-
"
|
|
355
|
+
"y": 100.0,
|
|
356
|
+
"x": 50.0
|
|
307
357
|
},
|
|
308
358
|
{
|
|
309
359
|
"id": "b",
|
|
310
|
-
"
|
|
311
|
-
"
|
|
312
|
-
"
|
|
360
|
+
"x": 200.0,
|
|
361
|
+
"y": 50.0,
|
|
362
|
+
"label": "Process"
|
|
313
363
|
},
|
|
314
364
|
{
|
|
365
|
+
"y": 100.0,
|
|
366
|
+
"x": 350.0,
|
|
315
367
|
"id": "c",
|
|
316
|
-
"label": "End"
|
|
317
|
-
"x": 350,
|
|
318
|
-
"y": 100
|
|
319
|
-
}
|
|
320
|
-
],
|
|
321
|
-
"edges": [
|
|
322
|
-
{
|
|
323
|
-
"from": "a",
|
|
324
|
-
"to": "b"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"from": "b",
|
|
328
|
-
"to": "c"
|
|
368
|
+
"label": "End"
|
|
329
369
|
}
|
|
330
|
-
]
|
|
331
|
-
"width": 400,
|
|
332
|
-
"height": 200
|
|
370
|
+
]
|
|
333
371
|
}
|
|
334
|
-
]
|
|
372
|
+
],
|
|
373
|
+
"type": "stack",
|
|
374
|
+
"gap": "lg",
|
|
375
|
+
"direction": "vertical"
|
|
335
376
|
}
|
|
336
|
-
]
|
|
377
|
+
],
|
|
378
|
+
"type": "scaled-diagram"
|
|
379
|
+
}
|
|
380
|
+
],
|
|
381
|
+
"type": "dashboard-layout",
|
|
382
|
+
"appName": "Trading Dashboard",
|
|
383
|
+
"navItems": [
|
|
384
|
+
{
|
|
385
|
+
"label": "Portfolio",
|
|
386
|
+
"icon": "layout-list",
|
|
387
|
+
"href": "/portfolio"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"icon": "clipboard-list",
|
|
391
|
+
"label": "Orders",
|
|
392
|
+
"href": "/orders"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"label": "Market",
|
|
396
|
+
"href": "/market",
|
|
397
|
+
"icon": "layout-list"
|
|
337
398
|
}
|
|
338
399
|
]
|
|
339
400
|
}
|
|
@@ -347,34 +408,38 @@
|
|
|
347
408
|
"effects": [
|
|
348
409
|
[
|
|
349
410
|
"fetch",
|
|
350
|
-
"Portfolio"
|
|
411
|
+
"Portfolio",
|
|
412
|
+
{
|
|
413
|
+
"emit": {
|
|
414
|
+
"success": "PortfolioLoaded",
|
|
415
|
+
"failure": "PortfolioLoadFailed"
|
|
416
|
+
}
|
|
417
|
+
}
|
|
351
418
|
],
|
|
352
419
|
[
|
|
353
420
|
"render-ui",
|
|
354
421
|
"main",
|
|
355
422
|
{
|
|
356
|
-
"type": "dashboard-layout",
|
|
357
|
-
"appName": "Trading Dashboard",
|
|
358
423
|
"navItems": [
|
|
359
424
|
{
|
|
360
|
-
"label": "Portfolio",
|
|
361
425
|
"href": "/portfolio",
|
|
426
|
+
"label": "Portfolio",
|
|
362
427
|
"icon": "layout-list"
|
|
363
428
|
},
|
|
364
429
|
{
|
|
365
|
-
"label": "Orders",
|
|
366
430
|
"href": "/orders",
|
|
367
|
-
"icon": "clipboard-list"
|
|
431
|
+
"icon": "clipboard-list",
|
|
432
|
+
"label": "Orders"
|
|
368
433
|
},
|
|
369
434
|
{
|
|
370
|
-
"
|
|
435
|
+
"icon": "layout-list",
|
|
371
436
|
"href": "/market",
|
|
372
|
-
"
|
|
437
|
+
"label": "Market"
|
|
373
438
|
}
|
|
374
439
|
],
|
|
440
|
+
"appName": "Trading Dashboard",
|
|
375
441
|
"children": [
|
|
376
442
|
{
|
|
377
|
-
"type": "scaled-diagram",
|
|
378
443
|
"children": [
|
|
379
444
|
{
|
|
380
445
|
"type": "stack",
|
|
@@ -382,7 +447,6 @@
|
|
|
382
447
|
"gap": "lg",
|
|
383
448
|
"children": [
|
|
384
449
|
{
|
|
385
|
-
"type": "breadcrumb",
|
|
386
450
|
"items": [
|
|
387
451
|
{
|
|
388
452
|
"label": "Home",
|
|
@@ -391,53 +455,52 @@
|
|
|
391
455
|
{
|
|
392
456
|
"label": "Portfolio"
|
|
393
457
|
}
|
|
394
|
-
]
|
|
458
|
+
],
|
|
459
|
+
"type": "breadcrumb"
|
|
395
460
|
},
|
|
396
461
|
{
|
|
397
|
-
"type": "stack",
|
|
398
462
|
"direction": "horizontal",
|
|
399
|
-
"gap": "md",
|
|
400
463
|
"justify": "space-between",
|
|
464
|
+
"type": "stack",
|
|
401
465
|
"children": [
|
|
402
466
|
{
|
|
403
467
|
"type": "stack",
|
|
404
|
-
"direction": "horizontal",
|
|
405
468
|
"gap": "md",
|
|
406
469
|
"children": [
|
|
407
470
|
{
|
|
471
|
+
"size": "lg",
|
|
408
472
|
"type": "icon",
|
|
409
|
-
"name": "trending-up"
|
|
410
|
-
"size": "lg"
|
|
473
|
+
"name": "trending-up"
|
|
411
474
|
},
|
|
412
475
|
{
|
|
413
476
|
"type": "typography",
|
|
414
477
|
"content": "Portfolio",
|
|
415
478
|
"variant": "h2"
|
|
416
479
|
}
|
|
417
|
-
]
|
|
480
|
+
],
|
|
481
|
+
"direction": "horizontal"
|
|
418
482
|
},
|
|
419
483
|
{
|
|
420
|
-
"type": "button",
|
|
421
|
-
"label": "Refresh",
|
|
422
484
|
"event": "REFRESH",
|
|
485
|
+
"label": "Refresh",
|
|
486
|
+
"type": "button",
|
|
423
487
|
"variant": "secondary",
|
|
424
488
|
"icon": "refresh-cw"
|
|
425
489
|
}
|
|
426
|
-
]
|
|
490
|
+
],
|
|
491
|
+
"gap": "md"
|
|
427
492
|
},
|
|
428
493
|
{
|
|
429
494
|
"type": "divider"
|
|
430
495
|
},
|
|
431
496
|
{
|
|
432
497
|
"type": "box",
|
|
433
|
-
"padding": "md",
|
|
434
498
|
"children": [
|
|
435
499
|
{
|
|
436
500
|
"type": "simple-grid",
|
|
437
|
-
"columns": 3,
|
|
501
|
+
"columns": 3.0,
|
|
438
502
|
"children": [
|
|
439
503
|
{
|
|
440
|
-
"type": "stat-display",
|
|
441
504
|
"label": "TotalValue",
|
|
442
505
|
"value": [
|
|
443
506
|
"object/get",
|
|
@@ -446,11 +509,10 @@
|
|
|
446
509
|
"@entity"
|
|
447
510
|
],
|
|
448
511
|
"totalValue"
|
|
449
|
-
]
|
|
512
|
+
],
|
|
513
|
+
"type": "stat-display"
|
|
450
514
|
},
|
|
451
515
|
{
|
|
452
|
-
"type": "stat-display",
|
|
453
|
-
"label": "DailyChange",
|
|
454
516
|
"value": [
|
|
455
517
|
"object/get",
|
|
456
518
|
[
|
|
@@ -458,11 +520,13 @@
|
|
|
458
520
|
"@entity"
|
|
459
521
|
],
|
|
460
522
|
"dailyChange"
|
|
461
|
-
]
|
|
523
|
+
],
|
|
524
|
+
"label": "DailyChange",
|
|
525
|
+
"type": "stat-display"
|
|
462
526
|
},
|
|
463
527
|
{
|
|
464
|
-
"type": "stat-display",
|
|
465
528
|
"label": "Positions",
|
|
529
|
+
"type": "stat-display",
|
|
466
530
|
"value": [
|
|
467
531
|
"object/get",
|
|
468
532
|
[
|
|
@@ -473,8 +537,6 @@
|
|
|
473
537
|
]
|
|
474
538
|
},
|
|
475
539
|
{
|
|
476
|
-
"type": "stat-display",
|
|
477
|
-
"label": "CashBalance",
|
|
478
540
|
"value": [
|
|
479
541
|
"object/get",
|
|
480
542
|
[
|
|
@@ -482,80 +544,83 @@
|
|
|
482
544
|
"@entity"
|
|
483
545
|
],
|
|
484
546
|
"cashBalance"
|
|
485
|
-
]
|
|
547
|
+
],
|
|
548
|
+
"label": "CashBalance",
|
|
549
|
+
"type": "stat-display"
|
|
486
550
|
}
|
|
487
551
|
]
|
|
488
552
|
}
|
|
489
|
-
]
|
|
553
|
+
],
|
|
554
|
+
"padding": "md"
|
|
490
555
|
},
|
|
491
556
|
{
|
|
492
557
|
"type": "divider"
|
|
493
558
|
},
|
|
494
559
|
{
|
|
495
560
|
"type": "grid",
|
|
496
|
-
"columns": 2,
|
|
497
|
-
"gap": "md",
|
|
561
|
+
"columns": 2.0,
|
|
498
562
|
"children": [
|
|
499
563
|
{
|
|
500
|
-
"type": "card",
|
|
501
564
|
"children": [
|
|
502
565
|
{
|
|
503
566
|
"type": "typography",
|
|
504
|
-
"
|
|
505
|
-
"
|
|
567
|
+
"content": "Chart View",
|
|
568
|
+
"variant": "caption"
|
|
506
569
|
}
|
|
507
|
-
]
|
|
570
|
+
],
|
|
571
|
+
"type": "card"
|
|
508
572
|
},
|
|
509
573
|
{
|
|
510
|
-
"type": "card",
|
|
511
574
|
"children": [
|
|
512
575
|
{
|
|
513
|
-
"
|
|
576
|
+
"content": "Graph View",
|
|
514
577
|
"variant": "caption",
|
|
515
|
-
"
|
|
578
|
+
"type": "typography"
|
|
516
579
|
}
|
|
517
|
-
]
|
|
580
|
+
],
|
|
581
|
+
"type": "card"
|
|
518
582
|
}
|
|
519
|
-
]
|
|
583
|
+
],
|
|
584
|
+
"gap": "md"
|
|
520
585
|
},
|
|
521
586
|
{
|
|
522
|
-
"
|
|
587
|
+
"xKey": "date",
|
|
588
|
+
"title": "Trend",
|
|
523
589
|
"data": [
|
|
524
590
|
{
|
|
525
|
-
"
|
|
526
|
-
"
|
|
591
|
+
"value": 12.0,
|
|
592
|
+
"date": "Jan"
|
|
527
593
|
},
|
|
528
594
|
{
|
|
529
595
|
"date": "Feb",
|
|
530
|
-
"value": 19
|
|
596
|
+
"value": 19.0
|
|
531
597
|
},
|
|
532
598
|
{
|
|
533
|
-
"
|
|
534
|
-
"
|
|
599
|
+
"value": 15.0,
|
|
600
|
+
"date": "Mar"
|
|
535
601
|
},
|
|
536
602
|
{
|
|
537
|
-
"
|
|
538
|
-
"
|
|
603
|
+
"value": 25.0,
|
|
604
|
+
"date": "Apr"
|
|
539
605
|
},
|
|
540
606
|
{
|
|
541
|
-
"
|
|
542
|
-
"
|
|
607
|
+
"value": 22.0,
|
|
608
|
+
"date": "May"
|
|
543
609
|
},
|
|
544
610
|
{
|
|
545
|
-
"
|
|
546
|
-
"
|
|
611
|
+
"value": 30.0,
|
|
612
|
+
"date": "Jun"
|
|
547
613
|
}
|
|
548
614
|
],
|
|
549
|
-
"xKey": "date",
|
|
550
615
|
"yKey": "value",
|
|
551
|
-
"
|
|
616
|
+
"type": "line-chart"
|
|
552
617
|
},
|
|
553
618
|
{
|
|
554
619
|
"type": "chart-legend",
|
|
555
620
|
"items": [
|
|
556
621
|
{
|
|
557
|
-
"
|
|
558
|
-
"
|
|
622
|
+
"color": "primary",
|
|
623
|
+
"label": "Current"
|
|
559
624
|
},
|
|
560
625
|
{
|
|
561
626
|
"label": "Previous",
|
|
@@ -565,44 +630,46 @@
|
|
|
565
630
|
},
|
|
566
631
|
{
|
|
567
632
|
"type": "graph-view",
|
|
633
|
+
"edges": [
|
|
634
|
+
{
|
|
635
|
+
"from": "a",
|
|
636
|
+
"to": "b"
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"from": "b",
|
|
640
|
+
"to": "c"
|
|
641
|
+
}
|
|
642
|
+
],
|
|
568
643
|
"nodes": [
|
|
569
644
|
{
|
|
570
645
|
"id": "a",
|
|
571
646
|
"label": "Start",
|
|
572
|
-
"x": 50,
|
|
573
|
-
"y": 100
|
|
647
|
+
"x": 50.0,
|
|
648
|
+
"y": 100.0
|
|
574
649
|
},
|
|
575
650
|
{
|
|
576
|
-
"id": "b",
|
|
577
651
|
"label": "Process",
|
|
578
|
-
"x": 200,
|
|
579
|
-
"y": 50
|
|
652
|
+
"x": 200.0,
|
|
653
|
+
"y": 50.0,
|
|
654
|
+
"id": "b"
|
|
580
655
|
},
|
|
581
656
|
{
|
|
582
|
-
"id": "c",
|
|
583
657
|
"label": "End",
|
|
584
|
-
"
|
|
585
|
-
"y": 100
|
|
586
|
-
|
|
587
|
-
],
|
|
588
|
-
"edges": [
|
|
589
|
-
{
|
|
590
|
-
"from": "a",
|
|
591
|
-
"to": "b"
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"from": "b",
|
|
595
|
-
"to": "c"
|
|
658
|
+
"id": "c",
|
|
659
|
+
"y": 100.0,
|
|
660
|
+
"x": 350.0
|
|
596
661
|
}
|
|
597
662
|
],
|
|
598
|
-
"
|
|
599
|
-
"
|
|
663
|
+
"height": 200.0,
|
|
664
|
+
"width": 400.0
|
|
600
665
|
}
|
|
601
666
|
]
|
|
602
667
|
}
|
|
603
|
-
]
|
|
668
|
+
],
|
|
669
|
+
"type": "scaled-diagram"
|
|
604
670
|
}
|
|
605
|
-
]
|
|
671
|
+
],
|
|
672
|
+
"type": "dashboard-layout"
|
|
606
673
|
}
|
|
607
674
|
]
|
|
608
675
|
]
|
|
@@ -614,24 +681,28 @@
|
|
|
614
681
|
"effects": [
|
|
615
682
|
[
|
|
616
683
|
"fetch",
|
|
617
|
-
"Portfolio"
|
|
684
|
+
"Portfolio",
|
|
685
|
+
{
|
|
686
|
+
"emit": {
|
|
687
|
+
"failure": "PortfolioLoadFailed",
|
|
688
|
+
"success": "PortfolioLoaded"
|
|
689
|
+
}
|
|
690
|
+
}
|
|
618
691
|
],
|
|
619
692
|
[
|
|
620
693
|
"render-ui",
|
|
621
694
|
"main",
|
|
622
695
|
{
|
|
623
|
-
"type": "dashboard-layout",
|
|
624
|
-
"appName": "Trading Dashboard",
|
|
625
696
|
"navItems": [
|
|
626
697
|
{
|
|
627
|
-
"label": "Portfolio",
|
|
628
698
|
"href": "/portfolio",
|
|
629
|
-
"icon": "layout-list"
|
|
699
|
+
"icon": "layout-list",
|
|
700
|
+
"label": "Portfolio"
|
|
630
701
|
},
|
|
631
702
|
{
|
|
632
|
-
"label": "Orders",
|
|
633
703
|
"href": "/orders",
|
|
634
|
-
"icon": "clipboard-list"
|
|
704
|
+
"icon": "clipboard-list",
|
|
705
|
+
"label": "Orders"
|
|
635
706
|
},
|
|
636
707
|
{
|
|
637
708
|
"label": "Market",
|
|
@@ -639,37 +710,35 @@
|
|
|
639
710
|
"icon": "layout-list"
|
|
640
711
|
}
|
|
641
712
|
],
|
|
713
|
+
"type": "dashboard-layout",
|
|
714
|
+
"appName": "Trading Dashboard",
|
|
642
715
|
"children": [
|
|
643
716
|
{
|
|
644
717
|
"type": "scaled-diagram",
|
|
645
718
|
"children": [
|
|
646
719
|
{
|
|
647
|
-
"type": "stack",
|
|
648
720
|
"direction": "vertical",
|
|
649
721
|
"gap": "lg",
|
|
650
722
|
"children": [
|
|
651
723
|
{
|
|
652
|
-
"type": "breadcrumb",
|
|
653
724
|
"items": [
|
|
654
725
|
{
|
|
655
|
-
"
|
|
656
|
-
"
|
|
726
|
+
"href": "/",
|
|
727
|
+
"label": "Home"
|
|
657
728
|
},
|
|
658
729
|
{
|
|
659
730
|
"label": "Portfolio"
|
|
660
731
|
}
|
|
661
|
-
]
|
|
732
|
+
],
|
|
733
|
+
"type": "breadcrumb"
|
|
662
734
|
},
|
|
663
735
|
{
|
|
664
736
|
"type": "stack",
|
|
665
|
-
"direction": "horizontal",
|
|
666
|
-
"gap": "md",
|
|
667
737
|
"justify": "space-between",
|
|
668
738
|
"children": [
|
|
669
739
|
{
|
|
670
|
-
"type": "stack",
|
|
671
|
-
"direction": "horizontal",
|
|
672
740
|
"gap": "md",
|
|
741
|
+
"type": "stack",
|
|
673
742
|
"children": [
|
|
674
743
|
{
|
|
675
744
|
"type": "icon",
|
|
@@ -677,31 +746,33 @@
|
|
|
677
746
|
"size": "lg"
|
|
678
747
|
},
|
|
679
748
|
{
|
|
749
|
+
"variant": "h2",
|
|
680
750
|
"type": "typography",
|
|
681
|
-
"content": "Portfolio"
|
|
682
|
-
"variant": "h2"
|
|
751
|
+
"content": "Portfolio"
|
|
683
752
|
}
|
|
684
|
-
]
|
|
753
|
+
],
|
|
754
|
+
"direction": "horizontal"
|
|
685
755
|
},
|
|
686
756
|
{
|
|
687
|
-
"type": "button",
|
|
688
|
-
"label": "Refresh",
|
|
689
757
|
"event": "REFRESH",
|
|
758
|
+
"type": "button",
|
|
690
759
|
"variant": "secondary",
|
|
760
|
+
"label": "Refresh",
|
|
691
761
|
"icon": "refresh-cw"
|
|
692
762
|
}
|
|
693
|
-
]
|
|
763
|
+
],
|
|
764
|
+
"direction": "horizontal",
|
|
765
|
+
"gap": "md"
|
|
694
766
|
},
|
|
695
767
|
{
|
|
696
768
|
"type": "divider"
|
|
697
769
|
},
|
|
698
770
|
{
|
|
699
|
-
"type": "box",
|
|
700
771
|
"padding": "md",
|
|
772
|
+
"type": "box",
|
|
701
773
|
"children": [
|
|
702
774
|
{
|
|
703
|
-
"
|
|
704
|
-
"columns": 3,
|
|
775
|
+
"columns": 3.0,
|
|
705
776
|
"children": [
|
|
706
777
|
{
|
|
707
778
|
"type": "stat-display",
|
|
@@ -716,7 +787,6 @@
|
|
|
716
787
|
]
|
|
717
788
|
},
|
|
718
789
|
{
|
|
719
|
-
"type": "stat-display",
|
|
720
790
|
"label": "DailyChange",
|
|
721
791
|
"value": [
|
|
722
792
|
"object/get",
|
|
@@ -725,7 +795,8 @@
|
|
|
725
795
|
"@entity"
|
|
726
796
|
],
|
|
727
797
|
"dailyChange"
|
|
728
|
-
]
|
|
798
|
+
],
|
|
799
|
+
"type": "stat-display"
|
|
729
800
|
},
|
|
730
801
|
{
|
|
731
802
|
"type": "stat-display",
|
|
@@ -740,8 +811,8 @@
|
|
|
740
811
|
]
|
|
741
812
|
},
|
|
742
813
|
{
|
|
743
|
-
"type": "stat-display",
|
|
744
814
|
"label": "CashBalance",
|
|
815
|
+
"type": "stat-display",
|
|
745
816
|
"value": [
|
|
746
817
|
"object/get",
|
|
747
818
|
[
|
|
@@ -751,7 +822,8 @@
|
|
|
751
822
|
"cashBalance"
|
|
752
823
|
]
|
|
753
824
|
}
|
|
754
|
-
]
|
|
825
|
+
],
|
|
826
|
+
"type": "simple-grid"
|
|
755
827
|
}
|
|
756
828
|
]
|
|
757
829
|
},
|
|
@@ -759,61 +831,61 @@
|
|
|
759
831
|
"type": "divider"
|
|
760
832
|
},
|
|
761
833
|
{
|
|
762
|
-
"type": "grid",
|
|
763
|
-
"columns": 2,
|
|
764
|
-
"gap": "md",
|
|
765
834
|
"children": [
|
|
766
835
|
{
|
|
767
|
-
"type": "card",
|
|
768
836
|
"children": [
|
|
769
837
|
{
|
|
770
838
|
"type": "typography",
|
|
771
|
-
"
|
|
772
|
-
"
|
|
839
|
+
"content": "Chart View",
|
|
840
|
+
"variant": "caption"
|
|
773
841
|
}
|
|
774
|
-
]
|
|
842
|
+
],
|
|
843
|
+
"type": "card"
|
|
775
844
|
},
|
|
776
845
|
{
|
|
777
846
|
"type": "card",
|
|
778
847
|
"children": [
|
|
779
848
|
{
|
|
780
|
-
"type": "typography",
|
|
781
849
|
"variant": "caption",
|
|
850
|
+
"type": "typography",
|
|
782
851
|
"content": "Graph View"
|
|
783
852
|
}
|
|
784
853
|
]
|
|
785
854
|
}
|
|
786
|
-
]
|
|
855
|
+
],
|
|
856
|
+
"columns": 2.0,
|
|
857
|
+
"type": "grid",
|
|
858
|
+
"gap": "md"
|
|
787
859
|
},
|
|
788
860
|
{
|
|
861
|
+
"xKey": "date",
|
|
789
862
|
"type": "line-chart",
|
|
790
863
|
"data": [
|
|
791
864
|
{
|
|
792
865
|
"date": "Jan",
|
|
793
|
-
"value": 12
|
|
866
|
+
"value": 12.0
|
|
794
867
|
},
|
|
795
868
|
{
|
|
796
869
|
"date": "Feb",
|
|
797
|
-
"value": 19
|
|
870
|
+
"value": 19.0
|
|
798
871
|
},
|
|
799
872
|
{
|
|
800
873
|
"date": "Mar",
|
|
801
|
-
"value": 15
|
|
874
|
+
"value": 15.0
|
|
802
875
|
},
|
|
803
876
|
{
|
|
804
877
|
"date": "Apr",
|
|
805
|
-
"value": 25
|
|
878
|
+
"value": 25.0
|
|
806
879
|
},
|
|
807
880
|
{
|
|
808
881
|
"date": "May",
|
|
809
|
-
"value": 22
|
|
882
|
+
"value": 22.0
|
|
810
883
|
},
|
|
811
884
|
{
|
|
812
|
-
"
|
|
813
|
-
"
|
|
885
|
+
"value": 30.0,
|
|
886
|
+
"date": "Jun"
|
|
814
887
|
}
|
|
815
888
|
],
|
|
816
|
-
"xKey": "date",
|
|
817
889
|
"yKey": "value",
|
|
818
890
|
"title": "Trend"
|
|
819
891
|
},
|
|
@@ -831,27 +903,29 @@
|
|
|
831
903
|
]
|
|
832
904
|
},
|
|
833
905
|
{
|
|
834
|
-
"
|
|
906
|
+
"width": 400.0,
|
|
835
907
|
"nodes": [
|
|
836
908
|
{
|
|
837
|
-
"
|
|
909
|
+
"x": 50.0,
|
|
910
|
+
"y": 100.0,
|
|
838
911
|
"label": "Start",
|
|
839
|
-
"
|
|
840
|
-
"y": 100
|
|
912
|
+
"id": "a"
|
|
841
913
|
},
|
|
842
914
|
{
|
|
843
915
|
"id": "b",
|
|
844
916
|
"label": "Process",
|
|
845
|
-
"x": 200,
|
|
846
|
-
"y": 50
|
|
917
|
+
"x": 200.0,
|
|
918
|
+
"y": 50.0
|
|
847
919
|
},
|
|
848
920
|
{
|
|
849
|
-
"
|
|
921
|
+
"y": 100.0,
|
|
850
922
|
"label": "End",
|
|
851
|
-
"x": 350,
|
|
852
|
-
"
|
|
923
|
+
"x": 350.0,
|
|
924
|
+
"id": "c"
|
|
853
925
|
}
|
|
854
926
|
],
|
|
927
|
+
"type": "graph-view",
|
|
928
|
+
"height": 200.0,
|
|
855
929
|
"edges": [
|
|
856
930
|
{
|
|
857
931
|
"from": "a",
|
|
@@ -861,11 +935,10 @@
|
|
|
861
935
|
"from": "b",
|
|
862
936
|
"to": "c"
|
|
863
937
|
}
|
|
864
|
-
]
|
|
865
|
-
"width": 400,
|
|
866
|
-
"height": 200
|
|
938
|
+
]
|
|
867
939
|
}
|
|
868
|
-
]
|
|
940
|
+
],
|
|
941
|
+
"type": "stack"
|
|
869
942
|
}
|
|
870
943
|
]
|
|
871
944
|
}
|
|
@@ -881,7 +954,13 @@
|
|
|
881
954
|
"effects": [
|
|
882
955
|
[
|
|
883
956
|
"fetch",
|
|
884
|
-
"Portfolio"
|
|
957
|
+
"Portfolio",
|
|
958
|
+
{
|
|
959
|
+
"emit": {
|
|
960
|
+
"failure": "PortfolioLoadFailed",
|
|
961
|
+
"success": "PortfolioLoaded"
|
|
962
|
+
}
|
|
963
|
+
}
|
|
885
964
|
],
|
|
886
965
|
[
|
|
887
966
|
"render-ui",
|
|
@@ -889,34 +968,15 @@
|
|
|
889
968
|
{
|
|
890
969
|
"type": "dashboard-layout",
|
|
891
970
|
"appName": "Trading Dashboard",
|
|
892
|
-
"navItems": [
|
|
893
|
-
{
|
|
894
|
-
"label": "Portfolio",
|
|
895
|
-
"href": "/portfolio",
|
|
896
|
-
"icon": "layout-list"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
"label": "Orders",
|
|
900
|
-
"href": "/orders",
|
|
901
|
-
"icon": "clipboard-list"
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"label": "Market",
|
|
905
|
-
"href": "/market",
|
|
906
|
-
"icon": "layout-list"
|
|
907
|
-
}
|
|
908
|
-
],
|
|
909
971
|
"children": [
|
|
910
972
|
{
|
|
911
|
-
"type": "scaled-diagram",
|
|
912
973
|
"children": [
|
|
913
974
|
{
|
|
975
|
+
"gap": "lg",
|
|
914
976
|
"type": "stack",
|
|
915
977
|
"direction": "vertical",
|
|
916
|
-
"gap": "lg",
|
|
917
978
|
"children": [
|
|
918
979
|
{
|
|
919
|
-
"type": "breadcrumb",
|
|
920
980
|
"items": [
|
|
921
981
|
{
|
|
922
982
|
"label": "Home",
|
|
@@ -925,36 +985,37 @@
|
|
|
925
985
|
{
|
|
926
986
|
"label": "Portfolio"
|
|
927
987
|
}
|
|
928
|
-
]
|
|
988
|
+
],
|
|
989
|
+
"type": "breadcrumb"
|
|
929
990
|
},
|
|
930
991
|
{
|
|
992
|
+
"gap": "md",
|
|
931
993
|
"type": "stack",
|
|
932
994
|
"direction": "horizontal",
|
|
933
|
-
"gap": "md",
|
|
934
995
|
"justify": "space-between",
|
|
935
996
|
"children": [
|
|
936
997
|
{
|
|
937
|
-
"type": "stack",
|
|
938
998
|
"direction": "horizontal",
|
|
939
999
|
"gap": "md",
|
|
940
1000
|
"children": [
|
|
941
1001
|
{
|
|
942
|
-
"type": "icon",
|
|
943
1002
|
"name": "trending-up",
|
|
944
|
-
"size": "lg"
|
|
1003
|
+
"size": "lg",
|
|
1004
|
+
"type": "icon"
|
|
945
1005
|
},
|
|
946
1006
|
{
|
|
947
1007
|
"type": "typography",
|
|
948
1008
|
"content": "Portfolio",
|
|
949
1009
|
"variant": "h2"
|
|
950
1010
|
}
|
|
951
|
-
]
|
|
1011
|
+
],
|
|
1012
|
+
"type": "stack"
|
|
952
1013
|
},
|
|
953
1014
|
{
|
|
954
|
-
"type": "button",
|
|
955
|
-
"label": "Refresh",
|
|
956
1015
|
"event": "REFRESH",
|
|
957
1016
|
"variant": "secondary",
|
|
1017
|
+
"type": "button",
|
|
1018
|
+
"label": "Refresh",
|
|
958
1019
|
"icon": "refresh-cw"
|
|
959
1020
|
}
|
|
960
1021
|
]
|
|
@@ -967,12 +1028,8 @@
|
|
|
967
1028
|
"padding": "md",
|
|
968
1029
|
"children": [
|
|
969
1030
|
{
|
|
970
|
-
"type": "simple-grid",
|
|
971
|
-
"columns": 3,
|
|
972
1031
|
"children": [
|
|
973
1032
|
{
|
|
974
|
-
"type": "stat-display",
|
|
975
|
-
"label": "TotalValue",
|
|
976
1033
|
"value": [
|
|
977
1034
|
"object/get",
|
|
978
1035
|
[
|
|
@@ -980,11 +1037,12 @@
|
|
|
980
1037
|
"@entity"
|
|
981
1038
|
],
|
|
982
1039
|
"totalValue"
|
|
983
|
-
]
|
|
1040
|
+
],
|
|
1041
|
+
"type": "stat-display",
|
|
1042
|
+
"label": "TotalValue"
|
|
984
1043
|
},
|
|
985
1044
|
{
|
|
986
1045
|
"type": "stat-display",
|
|
987
|
-
"label": "DailyChange",
|
|
988
1046
|
"value": [
|
|
989
1047
|
"object/get",
|
|
990
1048
|
[
|
|
@@ -992,11 +1050,10 @@
|
|
|
992
1050
|
"@entity"
|
|
993
1051
|
],
|
|
994
1052
|
"dailyChange"
|
|
995
|
-
]
|
|
1053
|
+
],
|
|
1054
|
+
"label": "DailyChange"
|
|
996
1055
|
},
|
|
997
1056
|
{
|
|
998
|
-
"type": "stat-display",
|
|
999
|
-
"label": "Positions",
|
|
1000
1057
|
"value": [
|
|
1001
1058
|
"object/get",
|
|
1002
1059
|
[
|
|
@@ -1004,7 +1061,9 @@
|
|
|
1004
1061
|
"@entity"
|
|
1005
1062
|
],
|
|
1006
1063
|
"positions"
|
|
1007
|
-
]
|
|
1064
|
+
],
|
|
1065
|
+
"label": "Positions",
|
|
1066
|
+
"type": "stat-display"
|
|
1008
1067
|
},
|
|
1009
1068
|
{
|
|
1010
1069
|
"type": "stat-display",
|
|
@@ -1018,7 +1077,9 @@
|
|
|
1018
1077
|
"cashBalance"
|
|
1019
1078
|
]
|
|
1020
1079
|
}
|
|
1021
|
-
]
|
|
1080
|
+
],
|
|
1081
|
+
"type": "simple-grid",
|
|
1082
|
+
"columns": 3.0
|
|
1022
1083
|
}
|
|
1023
1084
|
]
|
|
1024
1085
|
},
|
|
@@ -1027,65 +1088,64 @@
|
|
|
1027
1088
|
},
|
|
1028
1089
|
{
|
|
1029
1090
|
"type": "grid",
|
|
1030
|
-
"columns": 2,
|
|
1091
|
+
"columns": 2.0,
|
|
1031
1092
|
"gap": "md",
|
|
1032
1093
|
"children": [
|
|
1033
1094
|
{
|
|
1034
|
-
"type": "card",
|
|
1035
1095
|
"children": [
|
|
1036
1096
|
{
|
|
1037
|
-
"
|
|
1097
|
+
"content": "Chart View",
|
|
1038
1098
|
"variant": "caption",
|
|
1039
|
-
"
|
|
1099
|
+
"type": "typography"
|
|
1040
1100
|
}
|
|
1041
|
-
]
|
|
1101
|
+
],
|
|
1102
|
+
"type": "card"
|
|
1042
1103
|
},
|
|
1043
1104
|
{
|
|
1044
1105
|
"type": "card",
|
|
1045
1106
|
"children": [
|
|
1046
1107
|
{
|
|
1108
|
+
"content": "Graph View",
|
|
1047
1109
|
"type": "typography",
|
|
1048
|
-
"variant": "caption"
|
|
1049
|
-
"content": "Graph View"
|
|
1110
|
+
"variant": "caption"
|
|
1050
1111
|
}
|
|
1051
1112
|
]
|
|
1052
1113
|
}
|
|
1053
1114
|
]
|
|
1054
1115
|
},
|
|
1055
1116
|
{
|
|
1056
|
-
"
|
|
1117
|
+
"title": "Trend",
|
|
1057
1118
|
"data": [
|
|
1058
1119
|
{
|
|
1059
|
-
"
|
|
1060
|
-
"
|
|
1120
|
+
"value": 12.0,
|
|
1121
|
+
"date": "Jan"
|
|
1061
1122
|
},
|
|
1062
1123
|
{
|
|
1063
1124
|
"date": "Feb",
|
|
1064
|
-
"value": 19
|
|
1125
|
+
"value": 19.0
|
|
1065
1126
|
},
|
|
1066
1127
|
{
|
|
1067
1128
|
"date": "Mar",
|
|
1068
|
-
"value": 15
|
|
1129
|
+
"value": 15.0
|
|
1069
1130
|
},
|
|
1070
1131
|
{
|
|
1071
|
-
"
|
|
1072
|
-
"
|
|
1132
|
+
"value": 25.0,
|
|
1133
|
+
"date": "Apr"
|
|
1073
1134
|
},
|
|
1074
1135
|
{
|
|
1075
1136
|
"date": "May",
|
|
1076
|
-
"value": 22
|
|
1137
|
+
"value": 22.0
|
|
1077
1138
|
},
|
|
1078
1139
|
{
|
|
1079
|
-
"
|
|
1080
|
-
"
|
|
1140
|
+
"value": 30.0,
|
|
1141
|
+
"date": "Jun"
|
|
1081
1142
|
}
|
|
1082
1143
|
],
|
|
1144
|
+
"type": "line-chart",
|
|
1083
1145
|
"xKey": "date",
|
|
1084
|
-
"yKey": "value"
|
|
1085
|
-
"title": "Trend"
|
|
1146
|
+
"yKey": "value"
|
|
1086
1147
|
},
|
|
1087
1148
|
{
|
|
1088
|
-
"type": "chart-legend",
|
|
1089
1149
|
"items": [
|
|
1090
1150
|
{
|
|
1091
1151
|
"label": "Current",
|
|
@@ -1095,46 +1155,65 @@
|
|
|
1095
1155
|
"label": "Previous",
|
|
1096
1156
|
"color": "muted"
|
|
1097
1157
|
}
|
|
1098
|
-
]
|
|
1158
|
+
],
|
|
1159
|
+
"type": "chart-legend"
|
|
1099
1160
|
},
|
|
1100
1161
|
{
|
|
1162
|
+
"width": 400.0,
|
|
1101
1163
|
"type": "graph-view",
|
|
1102
1164
|
"nodes": [
|
|
1103
1165
|
{
|
|
1104
|
-
"
|
|
1166
|
+
"x": 50.0,
|
|
1105
1167
|
"label": "Start",
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1168
|
+
"y": 100.0,
|
|
1169
|
+
"id": "a"
|
|
1108
1170
|
},
|
|
1109
1171
|
{
|
|
1110
1172
|
"id": "b",
|
|
1111
1173
|
"label": "Process",
|
|
1112
|
-
"x": 200,
|
|
1113
|
-
"y": 50
|
|
1174
|
+
"x": 200.0,
|
|
1175
|
+
"y": 50.0
|
|
1114
1176
|
},
|
|
1115
1177
|
{
|
|
1116
1178
|
"id": "c",
|
|
1117
|
-
"
|
|
1118
|
-
"
|
|
1119
|
-
"
|
|
1179
|
+
"x": 350.0,
|
|
1180
|
+
"y": 100.0,
|
|
1181
|
+
"label": "End"
|
|
1120
1182
|
}
|
|
1121
1183
|
],
|
|
1184
|
+
"height": 200.0,
|
|
1122
1185
|
"edges": [
|
|
1123
1186
|
{
|
|
1124
1187
|
"from": "a",
|
|
1125
1188
|
"to": "b"
|
|
1126
1189
|
},
|
|
1127
1190
|
{
|
|
1128
|
-
"
|
|
1129
|
-
"
|
|
1191
|
+
"to": "c",
|
|
1192
|
+
"from": "b"
|
|
1130
1193
|
}
|
|
1131
|
-
]
|
|
1132
|
-
"width": 400,
|
|
1133
|
-
"height": 200
|
|
1194
|
+
]
|
|
1134
1195
|
}
|
|
1135
1196
|
]
|
|
1136
1197
|
}
|
|
1137
|
-
]
|
|
1198
|
+
],
|
|
1199
|
+
"type": "scaled-diagram"
|
|
1200
|
+
}
|
|
1201
|
+
],
|
|
1202
|
+
"navItems": [
|
|
1203
|
+
{
|
|
1204
|
+
"label": "Portfolio",
|
|
1205
|
+
"icon": "layout-list",
|
|
1206
|
+
"href": "/portfolio"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
"href": "/orders",
|
|
1210
|
+
"label": "Orders",
|
|
1211
|
+
"icon": "clipboard-list"
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"href": "/market",
|
|
1215
|
+
"label": "Market",
|
|
1216
|
+
"icon": "layout-list"
|
|
1138
1217
|
}
|
|
1139
1218
|
]
|
|
1140
1219
|
}
|
|
@@ -1148,57 +1227,57 @@
|
|
|
1148
1227
|
"effects": [
|
|
1149
1228
|
[
|
|
1150
1229
|
"fetch",
|
|
1151
|
-
"Portfolio"
|
|
1230
|
+
"Portfolio",
|
|
1231
|
+
{
|
|
1232
|
+
"emit": {
|
|
1233
|
+
"failure": "PortfolioLoadFailed",
|
|
1234
|
+
"success": "PortfolioLoaded"
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1152
1237
|
],
|
|
1153
1238
|
[
|
|
1154
1239
|
"render-ui",
|
|
1155
1240
|
"main",
|
|
1156
1241
|
{
|
|
1157
|
-
"type": "dashboard-layout",
|
|
1158
|
-
"appName": "Trading Dashboard",
|
|
1159
1242
|
"navItems": [
|
|
1160
1243
|
{
|
|
1161
1244
|
"label": "Portfolio",
|
|
1162
|
-
"
|
|
1163
|
-
"
|
|
1245
|
+
"icon": "layout-list",
|
|
1246
|
+
"href": "/portfolio"
|
|
1164
1247
|
},
|
|
1165
1248
|
{
|
|
1249
|
+
"icon": "clipboard-list",
|
|
1166
1250
|
"label": "Orders",
|
|
1167
|
-
"href": "/orders"
|
|
1168
|
-
"icon": "clipboard-list"
|
|
1251
|
+
"href": "/orders"
|
|
1169
1252
|
},
|
|
1170
1253
|
{
|
|
1171
|
-
"label": "Market",
|
|
1172
1254
|
"href": "/market",
|
|
1255
|
+
"label": "Market",
|
|
1173
1256
|
"icon": "layout-list"
|
|
1174
1257
|
}
|
|
1175
1258
|
],
|
|
1259
|
+
"type": "dashboard-layout",
|
|
1260
|
+
"appName": "Trading Dashboard",
|
|
1176
1261
|
"children": [
|
|
1177
1262
|
{
|
|
1178
|
-
"type": "scaled-diagram",
|
|
1179
1263
|
"children": [
|
|
1180
1264
|
{
|
|
1181
1265
|
"type": "stack",
|
|
1182
|
-
"direction": "vertical",
|
|
1183
|
-
"gap": "lg",
|
|
1184
1266
|
"children": [
|
|
1185
1267
|
{
|
|
1186
|
-
"type": "breadcrumb",
|
|
1187
1268
|
"items": [
|
|
1188
1269
|
{
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1270
|
+
"href": "/",
|
|
1271
|
+
"label": "Home"
|
|
1191
1272
|
},
|
|
1192
1273
|
{
|
|
1193
1274
|
"label": "Portfolio"
|
|
1194
1275
|
}
|
|
1195
|
-
]
|
|
1276
|
+
],
|
|
1277
|
+
"type": "breadcrumb"
|
|
1196
1278
|
},
|
|
1197
1279
|
{
|
|
1198
|
-
"type": "stack",
|
|
1199
1280
|
"direction": "horizontal",
|
|
1200
|
-
"gap": "md",
|
|
1201
|
-
"justify": "space-between",
|
|
1202
1281
|
"children": [
|
|
1203
1282
|
{
|
|
1204
1283
|
"type": "stack",
|
|
@@ -1218,24 +1297,26 @@
|
|
|
1218
1297
|
]
|
|
1219
1298
|
},
|
|
1220
1299
|
{
|
|
1300
|
+
"icon": "refresh-cw",
|
|
1221
1301
|
"type": "button",
|
|
1222
1302
|
"label": "Refresh",
|
|
1223
1303
|
"event": "REFRESH",
|
|
1224
|
-
"variant": "secondary"
|
|
1225
|
-
"icon": "refresh-cw"
|
|
1304
|
+
"variant": "secondary"
|
|
1226
1305
|
}
|
|
1227
|
-
]
|
|
1306
|
+
],
|
|
1307
|
+
"gap": "md",
|
|
1308
|
+
"justify": "space-between",
|
|
1309
|
+
"type": "stack"
|
|
1228
1310
|
},
|
|
1229
1311
|
{
|
|
1230
1312
|
"type": "divider"
|
|
1231
1313
|
},
|
|
1232
1314
|
{
|
|
1233
|
-
"type": "box",
|
|
1234
1315
|
"padding": "md",
|
|
1316
|
+
"type": "box",
|
|
1235
1317
|
"children": [
|
|
1236
1318
|
{
|
|
1237
1319
|
"type": "simple-grid",
|
|
1238
|
-
"columns": 3,
|
|
1239
1320
|
"children": [
|
|
1240
1321
|
{
|
|
1241
1322
|
"type": "stat-display",
|
|
@@ -1250,8 +1331,6 @@
|
|
|
1250
1331
|
]
|
|
1251
1332
|
},
|
|
1252
1333
|
{
|
|
1253
|
-
"type": "stat-display",
|
|
1254
|
-
"label": "DailyChange",
|
|
1255
1334
|
"value": [
|
|
1256
1335
|
"object/get",
|
|
1257
1336
|
[
|
|
@@ -1259,11 +1338,13 @@
|
|
|
1259
1338
|
"@entity"
|
|
1260
1339
|
],
|
|
1261
1340
|
"dailyChange"
|
|
1262
|
-
]
|
|
1341
|
+
],
|
|
1342
|
+
"type": "stat-display",
|
|
1343
|
+
"label": "DailyChange"
|
|
1263
1344
|
},
|
|
1264
1345
|
{
|
|
1265
|
-
"type": "stat-display",
|
|
1266
1346
|
"label": "Positions",
|
|
1347
|
+
"type": "stat-display",
|
|
1267
1348
|
"value": [
|
|
1268
1349
|
"object/get",
|
|
1269
1350
|
[
|
|
@@ -1285,7 +1366,8 @@
|
|
|
1285
1366
|
"cashBalance"
|
|
1286
1367
|
]
|
|
1287
1368
|
}
|
|
1288
|
-
]
|
|
1369
|
+
],
|
|
1370
|
+
"columns": 3.0
|
|
1289
1371
|
}
|
|
1290
1372
|
]
|
|
1291
1373
|
},
|
|
@@ -1294,8 +1376,8 @@
|
|
|
1294
1376
|
},
|
|
1295
1377
|
{
|
|
1296
1378
|
"type": "grid",
|
|
1297
|
-
"columns": 2,
|
|
1298
1379
|
"gap": "md",
|
|
1380
|
+
"columns": 2.0,
|
|
1299
1381
|
"children": [
|
|
1300
1382
|
{
|
|
1301
1383
|
"type": "card",
|
|
@@ -1308,100 +1390,103 @@
|
|
|
1308
1390
|
]
|
|
1309
1391
|
},
|
|
1310
1392
|
{
|
|
1311
|
-
"type": "card",
|
|
1312
1393
|
"children": [
|
|
1313
1394
|
{
|
|
1314
|
-
"type": "typography",
|
|
1315
1395
|
"variant": "caption",
|
|
1396
|
+
"type": "typography",
|
|
1316
1397
|
"content": "Graph View"
|
|
1317
1398
|
}
|
|
1318
|
-
]
|
|
1399
|
+
],
|
|
1400
|
+
"type": "card"
|
|
1319
1401
|
}
|
|
1320
1402
|
]
|
|
1321
1403
|
},
|
|
1322
1404
|
{
|
|
1323
1405
|
"type": "line-chart",
|
|
1406
|
+
"xKey": "date",
|
|
1407
|
+
"yKey": "value",
|
|
1408
|
+
"title": "Trend",
|
|
1324
1409
|
"data": [
|
|
1325
1410
|
{
|
|
1326
1411
|
"date": "Jan",
|
|
1327
|
-
"value": 12
|
|
1412
|
+
"value": 12.0
|
|
1328
1413
|
},
|
|
1329
1414
|
{
|
|
1330
1415
|
"date": "Feb",
|
|
1331
|
-
"value": 19
|
|
1416
|
+
"value": 19.0
|
|
1332
1417
|
},
|
|
1333
1418
|
{
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1419
|
+
"value": 15.0,
|
|
1420
|
+
"date": "Mar"
|
|
1336
1421
|
},
|
|
1337
1422
|
{
|
|
1338
|
-
"
|
|
1339
|
-
"
|
|
1423
|
+
"value": 25.0,
|
|
1424
|
+
"date": "Apr"
|
|
1340
1425
|
},
|
|
1341
1426
|
{
|
|
1342
1427
|
"date": "May",
|
|
1343
|
-
"value": 22
|
|
1428
|
+
"value": 22.0
|
|
1344
1429
|
},
|
|
1345
1430
|
{
|
|
1346
|
-
"
|
|
1347
|
-
"
|
|
1431
|
+
"value": 30.0,
|
|
1432
|
+
"date": "Jun"
|
|
1348
1433
|
}
|
|
1349
|
-
]
|
|
1350
|
-
"xKey": "date",
|
|
1351
|
-
"yKey": "value",
|
|
1352
|
-
"title": "Trend"
|
|
1434
|
+
]
|
|
1353
1435
|
},
|
|
1354
1436
|
{
|
|
1355
1437
|
"type": "chart-legend",
|
|
1356
1438
|
"items": [
|
|
1357
1439
|
{
|
|
1358
|
-
"
|
|
1359
|
-
"
|
|
1440
|
+
"color": "primary",
|
|
1441
|
+
"label": "Current"
|
|
1360
1442
|
},
|
|
1361
1443
|
{
|
|
1362
|
-
"
|
|
1363
|
-
"
|
|
1444
|
+
"color": "muted",
|
|
1445
|
+
"label": "Previous"
|
|
1364
1446
|
}
|
|
1365
1447
|
]
|
|
1366
1448
|
},
|
|
1367
1449
|
{
|
|
1368
|
-
"
|
|
1450
|
+
"height": 200.0,
|
|
1451
|
+
"width": 400.0,
|
|
1369
1452
|
"nodes": [
|
|
1370
1453
|
{
|
|
1371
|
-
"
|
|
1454
|
+
"x": 50.0,
|
|
1372
1455
|
"label": "Start",
|
|
1373
|
-
"
|
|
1374
|
-
"
|
|
1456
|
+
"y": 100.0,
|
|
1457
|
+
"id": "a"
|
|
1375
1458
|
},
|
|
1376
1459
|
{
|
|
1377
|
-
"id": "b",
|
|
1378
1460
|
"label": "Process",
|
|
1379
|
-
"x": 200,
|
|
1380
|
-
"y": 50
|
|
1461
|
+
"x": 200.0,
|
|
1462
|
+
"y": 50.0,
|
|
1463
|
+
"id": "b"
|
|
1381
1464
|
},
|
|
1382
1465
|
{
|
|
1383
1466
|
"id": "c",
|
|
1467
|
+
"x": 350.0,
|
|
1384
1468
|
"label": "End",
|
|
1385
|
-
"
|
|
1386
|
-
"y": 100
|
|
1469
|
+
"y": 100.0
|
|
1387
1470
|
}
|
|
1388
1471
|
],
|
|
1389
1472
|
"edges": [
|
|
1390
1473
|
{
|
|
1391
|
-
"
|
|
1392
|
-
"
|
|
1474
|
+
"to": "b",
|
|
1475
|
+
"from": "a"
|
|
1393
1476
|
},
|
|
1394
1477
|
{
|
|
1395
|
-
"
|
|
1396
|
-
"
|
|
1478
|
+
"to": "c",
|
|
1479
|
+
"from": "b"
|
|
1397
1480
|
}
|
|
1398
1481
|
],
|
|
1399
|
-
"
|
|
1400
|
-
"height": 200
|
|
1482
|
+
"type": "graph-view"
|
|
1401
1483
|
}
|
|
1402
|
-
]
|
|
1484
|
+
],
|
|
1485
|
+
"direction": "vertical",
|
|
1486
|
+
"gap": "lg"
|
|
1403
1487
|
}
|
|
1404
|
-
]
|
|
1488
|
+
],
|
|
1489
|
+
"type": "scaled-diagram"
|
|
1405
1490
|
}
|
|
1406
1491
|
]
|
|
1407
1492
|
}
|
|
@@ -1409,14 +1494,14 @@
|
|
|
1409
1494
|
]
|
|
1410
1495
|
}
|
|
1411
1496
|
]
|
|
1412
|
-
}
|
|
1497
|
+
},
|
|
1498
|
+
"scope": "collection"
|
|
1413
1499
|
}
|
|
1414
1500
|
],
|
|
1415
1501
|
"pages": [
|
|
1416
1502
|
{
|
|
1417
1503
|
"name": "PortfolioPage",
|
|
1418
1504
|
"path": "/portfolio",
|
|
1419
|
-
"isInitial": true,
|
|
1420
1505
|
"traits": [
|
|
1421
1506
|
{
|
|
1422
1507
|
"ref": "PortfolioDisplay"
|
|
@@ -1429,8 +1514,8 @@
|
|
|
1429
1514
|
"name": "TradeOrderOrbital",
|
|
1430
1515
|
"entity": {
|
|
1431
1516
|
"name": "TradeOrder",
|
|
1432
|
-
"persistence": "persistent",
|
|
1433
1517
|
"collection": "tradeorders",
|
|
1518
|
+
"persistence": "persistent",
|
|
1434
1519
|
"fields": [
|
|
1435
1520
|
{
|
|
1436
1521
|
"name": "id",
|
|
@@ -1445,11 +1530,7 @@
|
|
|
1445
1530
|
{
|
|
1446
1531
|
"name": "side",
|
|
1447
1532
|
"type": "string",
|
|
1448
|
-
"required": true
|
|
1449
|
-
"values": [
|
|
1450
|
-
"buy",
|
|
1451
|
-
"sell"
|
|
1452
|
-
]
|
|
1533
|
+
"required": true
|
|
1453
1534
|
},
|
|
1454
1535
|
{
|
|
1455
1536
|
"name": "quantity",
|
|
@@ -1470,23 +1551,80 @@
|
|
|
1470
1551
|
"traits": [
|
|
1471
1552
|
{
|
|
1472
1553
|
"name": "TradeOrderBrowse",
|
|
1473
|
-
"linkedEntity": "TradeOrder",
|
|
1474
1554
|
"category": "interaction",
|
|
1555
|
+
"linkedEntity": "TradeOrder",
|
|
1556
|
+
"emits": [
|
|
1557
|
+
{
|
|
1558
|
+
"event": "TradeOrderLoaded",
|
|
1559
|
+
"description": "Fired when TradeOrder finishes loading",
|
|
1560
|
+
"scope": "internal",
|
|
1561
|
+
"payload": [
|
|
1562
|
+
{
|
|
1563
|
+
"name": "id",
|
|
1564
|
+
"type": "string",
|
|
1565
|
+
"required": true
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"name": "symbol",
|
|
1569
|
+
"type": "string",
|
|
1570
|
+
"required": true
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"name": "side",
|
|
1574
|
+
"type": "string",
|
|
1575
|
+
"required": true
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"name": "quantity",
|
|
1579
|
+
"type": "number",
|
|
1580
|
+
"required": true
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"name": "price",
|
|
1584
|
+
"type": "number"
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"name": "pendingId",
|
|
1588
|
+
"type": "string"
|
|
1589
|
+
}
|
|
1590
|
+
]
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"event": "TradeOrderLoadFailed",
|
|
1594
|
+
"description": "Fired when TradeOrder fails to load",
|
|
1595
|
+
"scope": "internal",
|
|
1596
|
+
"payload": [
|
|
1597
|
+
{
|
|
1598
|
+
"name": "message",
|
|
1599
|
+
"type": "string"
|
|
1600
|
+
}
|
|
1601
|
+
]
|
|
1602
|
+
}
|
|
1603
|
+
],
|
|
1475
1604
|
"listens": [
|
|
1476
1605
|
{
|
|
1477
1606
|
"event": "TRADE_ORDER_CREATED",
|
|
1478
1607
|
"triggers": "INIT",
|
|
1479
|
-
"
|
|
1608
|
+
"source": {
|
|
1609
|
+
"kind": "trait",
|
|
1610
|
+
"trait": "TradeOrderCreate"
|
|
1611
|
+
}
|
|
1480
1612
|
},
|
|
1481
1613
|
{
|
|
1482
1614
|
"event": "TRADE_ORDER_UPDATED",
|
|
1483
1615
|
"triggers": "INIT",
|
|
1484
|
-
"
|
|
1616
|
+
"source": {
|
|
1617
|
+
"kind": "trait",
|
|
1618
|
+
"trait": "TradeOrderEdit"
|
|
1619
|
+
}
|
|
1485
1620
|
},
|
|
1486
1621
|
{
|
|
1487
1622
|
"event": "TRADE_ORDER_DELETED",
|
|
1488
1623
|
"triggers": "INIT",
|
|
1489
|
-
"
|
|
1624
|
+
"source": {
|
|
1625
|
+
"kind": "trait",
|
|
1626
|
+
"trait": "TradeOrderDelete"
|
|
1627
|
+
}
|
|
1490
1628
|
}
|
|
1491
1629
|
],
|
|
1492
1630
|
"stateMachine": {
|
|
@@ -1502,51 +1640,16 @@
|
|
|
1502
1640
|
"name": "Initialize"
|
|
1503
1641
|
},
|
|
1504
1642
|
{
|
|
1505
|
-
"key": "
|
|
1506
|
-
"name": "
|
|
1507
|
-
},
|
|
1508
|
-
{
|
|
1509
|
-
"key": "VIEW",
|
|
1510
|
-
"name": "VIEW",
|
|
1511
|
-
"payload": [
|
|
1512
|
-
{
|
|
1513
|
-
"name": "id",
|
|
1514
|
-
"type": "string",
|
|
1515
|
-
"required": true
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"name": "row",
|
|
1519
|
-
"type": "object"
|
|
1520
|
-
}
|
|
1521
|
-
]
|
|
1522
|
-
},
|
|
1523
|
-
{
|
|
1524
|
-
"key": "EDIT",
|
|
1525
|
-
"name": "EDIT",
|
|
1526
|
-
"payload": [
|
|
1527
|
-
{
|
|
1528
|
-
"name": "id",
|
|
1529
|
-
"type": "string",
|
|
1530
|
-
"required": true
|
|
1531
|
-
},
|
|
1532
|
-
{
|
|
1533
|
-
"name": "row",
|
|
1534
|
-
"type": "object"
|
|
1535
|
-
}
|
|
1536
|
-
]
|
|
1643
|
+
"key": "TradeOrderLoaded",
|
|
1644
|
+
"name": "TradeOrder loaded"
|
|
1537
1645
|
},
|
|
1538
1646
|
{
|
|
1539
|
-
"key": "
|
|
1540
|
-
"name": "
|
|
1647
|
+
"key": "TradeOrderLoadFailed",
|
|
1648
|
+
"name": "TradeOrder load failed",
|
|
1541
1649
|
"payload": [
|
|
1542
1650
|
{
|
|
1543
|
-
"name": "
|
|
1544
|
-
"type": "string"
|
|
1545
|
-
"required": true
|
|
1546
|
-
},
|
|
1547
|
-
{
|
|
1548
|
-
"name": "row",
|
|
1549
|
-
"type": "object"
|
|
1651
|
+
"name": "message",
|
|
1652
|
+
"type": "string"
|
|
1550
1653
|
}
|
|
1551
1654
|
]
|
|
1552
1655
|
}
|
|
@@ -1566,101 +1669,79 @@
|
|
|
1566
1669
|
"main",
|
|
1567
1670
|
{
|
|
1568
1671
|
"type": "dashboard-layout",
|
|
1569
|
-
"appName": "Trading Dashboard",
|
|
1570
|
-
"navItems": [
|
|
1571
|
-
{
|
|
1572
|
-
"label": "Portfolio",
|
|
1573
|
-
"href": "/portfolio",
|
|
1574
|
-
"icon": "layout-list"
|
|
1575
|
-
},
|
|
1576
|
-
{
|
|
1577
|
-
"label": "Orders",
|
|
1578
|
-
"href": "/orders",
|
|
1579
|
-
"icon": "clipboard-list"
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
"label": "Market",
|
|
1583
|
-
"href": "/market",
|
|
1584
|
-
"icon": "layout-list"
|
|
1585
|
-
}
|
|
1586
|
-
],
|
|
1587
1672
|
"children": [
|
|
1588
1673
|
{
|
|
1589
|
-
"type": "stack",
|
|
1590
1674
|
"direction": "vertical",
|
|
1591
|
-
"gap": "lg",
|
|
1592
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
1593
1675
|
"children": [
|
|
1594
1676
|
{
|
|
1595
|
-
"type": "stack",
|
|
1596
|
-
"direction": "horizontal",
|
|
1597
|
-
"gap": "md",
|
|
1598
|
-
"justify": "space-between",
|
|
1599
|
-
"align": "center",
|
|
1600
1677
|
"children": [
|
|
1601
1678
|
{
|
|
1602
|
-
"type": "stack",
|
|
1603
|
-
"direction": "horizontal",
|
|
1604
|
-
"gap": "sm",
|
|
1605
|
-
"align": "center",
|
|
1606
1679
|
"children": [
|
|
1607
1680
|
{
|
|
1608
|
-
"type": "icon",
|
|
1609
1681
|
"name": "shopping-cart",
|
|
1610
|
-
"size": "lg"
|
|
1682
|
+
"size": "lg",
|
|
1683
|
+
"type": "icon"
|
|
1611
1684
|
},
|
|
1612
1685
|
{
|
|
1613
1686
|
"type": "typography",
|
|
1614
1687
|
"content": "Trade Orders",
|
|
1615
1688
|
"variant": "h2"
|
|
1616
1689
|
}
|
|
1617
|
-
]
|
|
1618
|
-
},
|
|
1619
|
-
{
|
|
1620
|
-
"type": "stack",
|
|
1690
|
+
],
|
|
1621
1691
|
"direction": "horizontal",
|
|
1692
|
+
"align": "center",
|
|
1693
|
+
"type": "stack",
|
|
1694
|
+
"gap": "sm"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1622
1697
|
"gap": "sm",
|
|
1698
|
+
"type": "stack",
|
|
1623
1699
|
"children": [
|
|
1624
1700
|
{
|
|
1625
1701
|
"type": "button",
|
|
1626
|
-
"label": "Create TradeOrder",
|
|
1627
|
-
"event": "CREATE",
|
|
1628
1702
|
"variant": "primary",
|
|
1629
|
-
"icon": "plus"
|
|
1703
|
+
"icon": "plus",
|
|
1704
|
+
"event": "CREATE",
|
|
1705
|
+
"label": "Create TradeOrder"
|
|
1630
1706
|
}
|
|
1631
|
-
]
|
|
1707
|
+
],
|
|
1708
|
+
"direction": "horizontal"
|
|
1632
1709
|
}
|
|
1633
|
-
]
|
|
1710
|
+
],
|
|
1711
|
+
"align": "center",
|
|
1712
|
+
"direction": "horizontal",
|
|
1713
|
+
"justify": "space-between",
|
|
1714
|
+
"type": "stack",
|
|
1715
|
+
"gap": "md"
|
|
1634
1716
|
},
|
|
1635
1717
|
{
|
|
1636
1718
|
"type": "divider"
|
|
1637
1719
|
},
|
|
1638
1720
|
{
|
|
1639
1721
|
"type": "data-list",
|
|
1640
|
-
"entity": "TradeOrder",
|
|
1641
|
-
"emptyIcon": "inbox",
|
|
1642
1722
|
"emptyTitle": "No orders yet",
|
|
1643
|
-
"emptyDescription": "Place your first trade.",
|
|
1644
1723
|
"itemActions": [
|
|
1645
1724
|
{
|
|
1646
1725
|
"label": "View",
|
|
1647
|
-
"event": "VIEW",
|
|
1648
1726
|
"variant": "ghost",
|
|
1727
|
+
"event": "VIEW",
|
|
1649
1728
|
"size": "sm"
|
|
1650
1729
|
},
|
|
1651
1730
|
{
|
|
1652
|
-
"label": "Edit",
|
|
1653
|
-
"event": "EDIT",
|
|
1654
1731
|
"variant": "ghost",
|
|
1655
|
-
"size": "sm"
|
|
1732
|
+
"size": "sm",
|
|
1733
|
+
"label": "Edit",
|
|
1734
|
+
"event": "EDIT"
|
|
1656
1735
|
},
|
|
1657
1736
|
{
|
|
1658
1737
|
"label": "Delete",
|
|
1659
|
-
"event": "DELETE",
|
|
1660
1738
|
"variant": "danger",
|
|
1739
|
+
"event": "DELETE",
|
|
1661
1740
|
"size": "sm"
|
|
1662
1741
|
}
|
|
1663
1742
|
],
|
|
1743
|
+
"emptyDescription": "Place your first trade.",
|
|
1744
|
+
"entity": "TradeOrder",
|
|
1664
1745
|
"columns": [
|
|
1665
1746
|
{
|
|
1666
1747
|
"name": "symbol",
|
|
@@ -1672,20 +1753,42 @@
|
|
|
1672
1753
|
"variant": "badge"
|
|
1673
1754
|
},
|
|
1674
1755
|
{
|
|
1756
|
+
"format": "number",
|
|
1675
1757
|
"name": "quantity",
|
|
1676
|
-
"variant": "body"
|
|
1677
|
-
"format": "number"
|
|
1758
|
+
"variant": "body"
|
|
1678
1759
|
},
|
|
1679
1760
|
{
|
|
1680
|
-
"
|
|
1761
|
+
"format": "currency",
|
|
1681
1762
|
"variant": "h4",
|
|
1682
|
-
"
|
|
1763
|
+
"name": "price"
|
|
1683
1764
|
}
|
|
1684
1765
|
],
|
|
1685
1766
|
"variant": "card",
|
|
1686
|
-
"gap": "sm"
|
|
1767
|
+
"gap": "sm",
|
|
1768
|
+
"emptyIcon": "inbox"
|
|
1687
1769
|
}
|
|
1688
|
-
]
|
|
1770
|
+
],
|
|
1771
|
+
"type": "stack",
|
|
1772
|
+
"gap": "lg",
|
|
1773
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
1774
|
+
}
|
|
1775
|
+
],
|
|
1776
|
+
"appName": "Trading Dashboard",
|
|
1777
|
+
"navItems": [
|
|
1778
|
+
{
|
|
1779
|
+
"href": "/portfolio",
|
|
1780
|
+
"label": "Portfolio",
|
|
1781
|
+
"icon": "layout-list"
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"label": "Orders",
|
|
1785
|
+
"href": "/orders",
|
|
1786
|
+
"icon": "clipboard-list"
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"label": "Market",
|
|
1790
|
+
"href": "/market",
|
|
1791
|
+
"icon": "layout-list"
|
|
1689
1792
|
}
|
|
1690
1793
|
]
|
|
1691
1794
|
}
|
|
@@ -1693,20 +1796,62 @@
|
|
|
1693
1796
|
]
|
|
1694
1797
|
}
|
|
1695
1798
|
]
|
|
1696
|
-
}
|
|
1799
|
+
},
|
|
1800
|
+
"scope": "collection"
|
|
1697
1801
|
},
|
|
1698
1802
|
{
|
|
1699
1803
|
"name": "TradeOrderCreate",
|
|
1700
|
-
"linkedEntity": "TradeOrder",
|
|
1701
1804
|
"category": "interaction",
|
|
1805
|
+
"linkedEntity": "TradeOrder",
|
|
1702
1806
|
"emits": [
|
|
1703
1807
|
{
|
|
1704
|
-
"event": "
|
|
1705
|
-
"scope": "internal"
|
|
1808
|
+
"event": "TRADE_ORDER_CREATED"
|
|
1706
1809
|
},
|
|
1707
1810
|
{
|
|
1708
|
-
"event": "
|
|
1709
|
-
"
|
|
1811
|
+
"event": "TradeOrderLoaded",
|
|
1812
|
+
"description": "Fired when TradeOrder finishes loading",
|
|
1813
|
+
"scope": "internal",
|
|
1814
|
+
"payload": [
|
|
1815
|
+
{
|
|
1816
|
+
"name": "id",
|
|
1817
|
+
"type": "string",
|
|
1818
|
+
"required": true
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"name": "symbol",
|
|
1822
|
+
"type": "string",
|
|
1823
|
+
"required": true
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"name": "side",
|
|
1827
|
+
"type": "string",
|
|
1828
|
+
"required": true
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"name": "quantity",
|
|
1832
|
+
"type": "number",
|
|
1833
|
+
"required": true
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"name": "price",
|
|
1837
|
+
"type": "number"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"name": "pendingId",
|
|
1841
|
+
"type": "string"
|
|
1842
|
+
}
|
|
1843
|
+
]
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"event": "TradeOrderLoadFailed",
|
|
1847
|
+
"description": "Fired when TradeOrder fails to load",
|
|
1848
|
+
"scope": "internal",
|
|
1849
|
+
"payload": [
|
|
1850
|
+
{
|
|
1851
|
+
"name": "message",
|
|
1852
|
+
"type": "string"
|
|
1853
|
+
}
|
|
1854
|
+
]
|
|
1710
1855
|
}
|
|
1711
1856
|
],
|
|
1712
1857
|
"stateMachine": {
|
|
@@ -1726,7 +1871,7 @@
|
|
|
1726
1871
|
},
|
|
1727
1872
|
{
|
|
1728
1873
|
"key": "CREATE",
|
|
1729
|
-
"name": "
|
|
1874
|
+
"name": "Create"
|
|
1730
1875
|
},
|
|
1731
1876
|
{
|
|
1732
1877
|
"key": "CLOSE",
|
|
@@ -1738,8 +1883,25 @@
|
|
|
1738
1883
|
"payload": [
|
|
1739
1884
|
{
|
|
1740
1885
|
"name": "data",
|
|
1741
|
-
"type": "
|
|
1742
|
-
|
|
1886
|
+
"type": "string"
|
|
1887
|
+
}
|
|
1888
|
+
]
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"key": "TRADE_ORDER_CREATED",
|
|
1892
|
+
"name": "Trade Order Created"
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"key": "TradeOrderLoaded",
|
|
1896
|
+
"name": "TradeOrder loaded"
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"key": "TradeOrderLoadFailed",
|
|
1900
|
+
"name": "TradeOrder load failed",
|
|
1901
|
+
"payload": [
|
|
1902
|
+
{
|
|
1903
|
+
"name": "message",
|
|
1904
|
+
"type": "string"
|
|
1743
1905
|
}
|
|
1744
1906
|
]
|
|
1745
1907
|
}
|
|
@@ -1763,7 +1925,13 @@
|
|
|
1763
1925
|
"effects": [
|
|
1764
1926
|
[
|
|
1765
1927
|
"fetch",
|
|
1766
|
-
"TradeOrder"
|
|
1928
|
+
"TradeOrder",
|
|
1929
|
+
{
|
|
1930
|
+
"emit": {
|
|
1931
|
+
"failure": "TradeOrderLoadFailed",
|
|
1932
|
+
"success": "TradeOrderLoaded"
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1767
1935
|
],
|
|
1768
1936
|
[
|
|
1769
1937
|
"render-ui",
|
|
@@ -1771,42 +1939,42 @@
|
|
|
1771
1939
|
{
|
|
1772
1940
|
"type": "stack",
|
|
1773
1941
|
"direction": "vertical",
|
|
1774
|
-
"gap": "md",
|
|
1775
1942
|
"children": [
|
|
1776
1943
|
{
|
|
1777
|
-
"type": "stack",
|
|
1778
|
-
"direction": "horizontal",
|
|
1779
|
-
"gap": "sm",
|
|
1780
1944
|
"children": [
|
|
1781
1945
|
{
|
|
1782
|
-
"
|
|
1946
|
+
"size": "md",
|
|
1783
1947
|
"name": "plus-circle",
|
|
1784
|
-
"
|
|
1948
|
+
"type": "icon"
|
|
1785
1949
|
},
|
|
1786
1950
|
{
|
|
1787
1951
|
"type": "typography",
|
|
1788
1952
|
"content": "Create TradeOrder",
|
|
1789
1953
|
"variant": "h3"
|
|
1790
1954
|
}
|
|
1791
|
-
]
|
|
1955
|
+
],
|
|
1956
|
+
"type": "stack",
|
|
1957
|
+
"direction": "horizontal",
|
|
1958
|
+
"gap": "sm"
|
|
1792
1959
|
},
|
|
1793
1960
|
{
|
|
1794
1961
|
"type": "divider"
|
|
1795
1962
|
},
|
|
1796
1963
|
{
|
|
1797
|
-
"type": "form-section",
|
|
1798
1964
|
"entity": "TradeOrder",
|
|
1965
|
+
"type": "form-section",
|
|
1799
1966
|
"mode": "create",
|
|
1800
|
-
"submitEvent": "SAVE",
|
|
1801
1967
|
"cancelEvent": "CLOSE",
|
|
1802
1968
|
"fields": [
|
|
1803
1969
|
"symbol",
|
|
1804
1970
|
"side",
|
|
1805
1971
|
"quantity",
|
|
1806
1972
|
"price"
|
|
1807
|
-
]
|
|
1973
|
+
],
|
|
1974
|
+
"submitEvent": "SAVE"
|
|
1808
1975
|
}
|
|
1809
|
-
]
|
|
1976
|
+
],
|
|
1977
|
+
"gap": "md"
|
|
1810
1978
|
}
|
|
1811
1979
|
]
|
|
1812
1980
|
]
|
|
@@ -1821,6 +1989,13 @@
|
|
|
1821
1989
|
"modal",
|
|
1822
1990
|
null
|
|
1823
1991
|
],
|
|
1992
|
+
[
|
|
1993
|
+
"render-ui",
|
|
1994
|
+
"main",
|
|
1995
|
+
{
|
|
1996
|
+
"type": "box"
|
|
1997
|
+
}
|
|
1998
|
+
],
|
|
1824
1999
|
[
|
|
1825
2000
|
"notify",
|
|
1826
2001
|
"Cancelled",
|
|
@@ -1844,6 +2019,13 @@
|
|
|
1844
2019
|
"modal",
|
|
1845
2020
|
null
|
|
1846
2021
|
],
|
|
2022
|
+
[
|
|
2023
|
+
"render-ui",
|
|
2024
|
+
"main",
|
|
2025
|
+
{
|
|
2026
|
+
"type": "box"
|
|
2027
|
+
}
|
|
2028
|
+
],
|
|
1847
2029
|
[
|
|
1848
2030
|
"emit",
|
|
1849
2031
|
"TRADE_ORDER_CREATED"
|
|
@@ -1851,20 +2033,62 @@
|
|
|
1851
2033
|
]
|
|
1852
2034
|
}
|
|
1853
2035
|
]
|
|
1854
|
-
}
|
|
2036
|
+
},
|
|
2037
|
+
"scope": "collection"
|
|
1855
2038
|
},
|
|
1856
2039
|
{
|
|
1857
2040
|
"name": "TradeOrderEdit",
|
|
1858
|
-
"linkedEntity": "TradeOrder",
|
|
1859
2041
|
"category": "interaction",
|
|
2042
|
+
"linkedEntity": "TradeOrder",
|
|
1860
2043
|
"emits": [
|
|
1861
2044
|
{
|
|
1862
|
-
"event": "
|
|
1863
|
-
"scope": "internal"
|
|
2045
|
+
"event": "TRADE_ORDER_UPDATED"
|
|
1864
2046
|
},
|
|
1865
2047
|
{
|
|
1866
|
-
"event": "
|
|
1867
|
-
"
|
|
2048
|
+
"event": "TradeOrderLoaded",
|
|
2049
|
+
"description": "Fired when TradeOrder finishes loading",
|
|
2050
|
+
"scope": "internal",
|
|
2051
|
+
"payload": [
|
|
2052
|
+
{
|
|
2053
|
+
"name": "id",
|
|
2054
|
+
"type": "string",
|
|
2055
|
+
"required": true
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"name": "symbol",
|
|
2059
|
+
"type": "string",
|
|
2060
|
+
"required": true
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"name": "side",
|
|
2064
|
+
"type": "string",
|
|
2065
|
+
"required": true
|
|
2066
|
+
},
|
|
2067
|
+
{
|
|
2068
|
+
"name": "quantity",
|
|
2069
|
+
"type": "number",
|
|
2070
|
+
"required": true
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"name": "price",
|
|
2074
|
+
"type": "number"
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"name": "pendingId",
|
|
2078
|
+
"type": "string"
|
|
2079
|
+
}
|
|
2080
|
+
]
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"event": "TradeOrderLoadFailed",
|
|
2084
|
+
"description": "Fired when TradeOrder fails to load",
|
|
2085
|
+
"scope": "internal",
|
|
2086
|
+
"payload": [
|
|
2087
|
+
{
|
|
2088
|
+
"name": "message",
|
|
2089
|
+
"type": "string"
|
|
2090
|
+
}
|
|
2091
|
+
]
|
|
1868
2092
|
}
|
|
1869
2093
|
],
|
|
1870
2094
|
"stateMachine": {
|
|
@@ -1884,12 +2108,11 @@
|
|
|
1884
2108
|
},
|
|
1885
2109
|
{
|
|
1886
2110
|
"key": "EDIT",
|
|
1887
|
-
"name": "
|
|
2111
|
+
"name": "Edit",
|
|
1888
2112
|
"payload": [
|
|
1889
2113
|
{
|
|
1890
2114
|
"name": "id",
|
|
1891
|
-
"type": "string"
|
|
1892
|
-
"required": true
|
|
2115
|
+
"type": "string"
|
|
1893
2116
|
}
|
|
1894
2117
|
]
|
|
1895
2118
|
},
|
|
@@ -1903,8 +2126,25 @@
|
|
|
1903
2126
|
"payload": [
|
|
1904
2127
|
{
|
|
1905
2128
|
"name": "data",
|
|
1906
|
-
"type": "
|
|
1907
|
-
|
|
2129
|
+
"type": "string"
|
|
2130
|
+
}
|
|
2131
|
+
]
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"key": "TRADE_ORDER_UPDATED",
|
|
2135
|
+
"name": "Trade Order Updated"
|
|
2136
|
+
},
|
|
2137
|
+
{
|
|
2138
|
+
"key": "TradeOrderLoaded",
|
|
2139
|
+
"name": "TradeOrder loaded"
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"key": "TradeOrderLoadFailed",
|
|
2143
|
+
"name": "TradeOrder load failed",
|
|
2144
|
+
"payload": [
|
|
2145
|
+
{
|
|
2146
|
+
"name": "message",
|
|
2147
|
+
"type": "string"
|
|
1908
2148
|
}
|
|
1909
2149
|
]
|
|
1910
2150
|
}
|
|
@@ -1930,52 +2170,56 @@
|
|
|
1930
2170
|
"fetch",
|
|
1931
2171
|
"TradeOrder",
|
|
1932
2172
|
{
|
|
1933
|
-
"id": "@payload.id"
|
|
2173
|
+
"id": "@payload.id",
|
|
2174
|
+
"emit": {
|
|
2175
|
+
"success": "TradeOrderLoaded",
|
|
2176
|
+
"failure": "TradeOrderLoadFailed"
|
|
2177
|
+
}
|
|
1934
2178
|
}
|
|
1935
2179
|
],
|
|
1936
2180
|
[
|
|
1937
2181
|
"render-ui",
|
|
1938
2182
|
"modal",
|
|
1939
2183
|
{
|
|
1940
|
-
"type": "stack",
|
|
1941
|
-
"direction": "vertical",
|
|
1942
|
-
"gap": "md",
|
|
1943
2184
|
"children": [
|
|
1944
2185
|
{
|
|
1945
|
-
"type": "stack",
|
|
1946
2186
|
"direction": "horizontal",
|
|
1947
|
-
"gap": "sm",
|
|
1948
2187
|
"children": [
|
|
1949
2188
|
{
|
|
2189
|
+
"size": "md",
|
|
1950
2190
|
"type": "icon",
|
|
1951
|
-
"name": "edit"
|
|
1952
|
-
"size": "md"
|
|
2191
|
+
"name": "edit"
|
|
1953
2192
|
},
|
|
1954
2193
|
{
|
|
1955
2194
|
"type": "typography",
|
|
1956
2195
|
"content": "Edit TradeOrder",
|
|
1957
2196
|
"variant": "h3"
|
|
1958
2197
|
}
|
|
1959
|
-
]
|
|
2198
|
+
],
|
|
2199
|
+
"type": "stack",
|
|
2200
|
+
"gap": "sm"
|
|
1960
2201
|
},
|
|
1961
2202
|
{
|
|
1962
2203
|
"type": "divider"
|
|
1963
2204
|
},
|
|
1964
2205
|
{
|
|
1965
|
-
"type": "form-section",
|
|
1966
|
-
"entity": "TradeOrder",
|
|
1967
|
-
"mode": "edit",
|
|
1968
|
-
"submitEvent": "SAVE",
|
|
1969
|
-
"cancelEvent": "CLOSE",
|
|
1970
2206
|
"fields": [
|
|
1971
2207
|
"symbol",
|
|
1972
2208
|
"side",
|
|
1973
2209
|
"quantity",
|
|
1974
2210
|
"price"
|
|
1975
2211
|
],
|
|
1976
|
-
"entityId": "@entity.id"
|
|
2212
|
+
"entityId": "@entity.id",
|
|
2213
|
+
"entity": "TradeOrder",
|
|
2214
|
+
"submitEvent": "SAVE",
|
|
2215
|
+
"type": "form-section",
|
|
2216
|
+
"mode": "edit",
|
|
2217
|
+
"cancelEvent": "CLOSE"
|
|
1977
2218
|
}
|
|
1978
|
-
]
|
|
2219
|
+
],
|
|
2220
|
+
"type": "stack",
|
|
2221
|
+
"direction": "vertical",
|
|
2222
|
+
"gap": "md"
|
|
1979
2223
|
}
|
|
1980
2224
|
]
|
|
1981
2225
|
]
|
|
@@ -1990,6 +2234,13 @@
|
|
|
1990
2234
|
"modal",
|
|
1991
2235
|
null
|
|
1992
2236
|
],
|
|
2237
|
+
[
|
|
2238
|
+
"render-ui",
|
|
2239
|
+
"main",
|
|
2240
|
+
{
|
|
2241
|
+
"type": "box"
|
|
2242
|
+
}
|
|
2243
|
+
],
|
|
1993
2244
|
[
|
|
1994
2245
|
"notify",
|
|
1995
2246
|
"Cancelled",
|
|
@@ -2013,6 +2264,13 @@
|
|
|
2013
2264
|
"modal",
|
|
2014
2265
|
null
|
|
2015
2266
|
],
|
|
2267
|
+
[
|
|
2268
|
+
"render-ui",
|
|
2269
|
+
"main",
|
|
2270
|
+
{
|
|
2271
|
+
"type": "box"
|
|
2272
|
+
}
|
|
2273
|
+
],
|
|
2016
2274
|
[
|
|
2017
2275
|
"emit",
|
|
2018
2276
|
"TRADE_ORDER_UPDATED"
|
|
@@ -2020,16 +2278,59 @@
|
|
|
2020
2278
|
]
|
|
2021
2279
|
}
|
|
2022
2280
|
]
|
|
2023
|
-
}
|
|
2281
|
+
},
|
|
2282
|
+
"scope": "collection"
|
|
2024
2283
|
},
|
|
2025
2284
|
{
|
|
2026
2285
|
"name": "TradeOrderView",
|
|
2027
|
-
"linkedEntity": "TradeOrder",
|
|
2028
2286
|
"category": "interaction",
|
|
2287
|
+
"linkedEntity": "TradeOrder",
|
|
2029
2288
|
"emits": [
|
|
2030
2289
|
{
|
|
2031
|
-
"event": "
|
|
2032
|
-
"
|
|
2290
|
+
"event": "TradeOrderLoaded",
|
|
2291
|
+
"description": "Fired when TradeOrder finishes loading",
|
|
2292
|
+
"scope": "internal",
|
|
2293
|
+
"payload": [
|
|
2294
|
+
{
|
|
2295
|
+
"name": "id",
|
|
2296
|
+
"type": "string",
|
|
2297
|
+
"required": true
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"name": "symbol",
|
|
2301
|
+
"type": "string",
|
|
2302
|
+
"required": true
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"name": "side",
|
|
2306
|
+
"type": "string",
|
|
2307
|
+
"required": true
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "quantity",
|
|
2311
|
+
"type": "number",
|
|
2312
|
+
"required": true
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
"name": "price",
|
|
2316
|
+
"type": "number"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "pendingId",
|
|
2320
|
+
"type": "string"
|
|
2321
|
+
}
|
|
2322
|
+
]
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"event": "TradeOrderLoadFailed",
|
|
2326
|
+
"description": "Fired when TradeOrder fails to load",
|
|
2327
|
+
"scope": "internal",
|
|
2328
|
+
"payload": [
|
|
2329
|
+
{
|
|
2330
|
+
"name": "message",
|
|
2331
|
+
"type": "string"
|
|
2332
|
+
}
|
|
2333
|
+
]
|
|
2033
2334
|
}
|
|
2034
2335
|
],
|
|
2035
2336
|
"stateMachine": {
|
|
@@ -2049,12 +2350,11 @@
|
|
|
2049
2350
|
},
|
|
2050
2351
|
{
|
|
2051
2352
|
"key": "VIEW",
|
|
2052
|
-
"name": "
|
|
2353
|
+
"name": "View",
|
|
2053
2354
|
"payload": [
|
|
2054
2355
|
{
|
|
2055
2356
|
"name": "id",
|
|
2056
|
-
"type": "string"
|
|
2057
|
-
"required": true
|
|
2357
|
+
"type": "string"
|
|
2058
2358
|
}
|
|
2059
2359
|
]
|
|
2060
2360
|
},
|
|
@@ -2064,12 +2364,19 @@
|
|
|
2064
2364
|
},
|
|
2065
2365
|
{
|
|
2066
2366
|
"key": "SAVE",
|
|
2067
|
-
"name": "Save"
|
|
2367
|
+
"name": "Save"
|
|
2368
|
+
},
|
|
2369
|
+
{
|
|
2370
|
+
"key": "TradeOrderLoaded",
|
|
2371
|
+
"name": "TradeOrder loaded"
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
"key": "TradeOrderLoadFailed",
|
|
2375
|
+
"name": "TradeOrder load failed",
|
|
2068
2376
|
"payload": [
|
|
2069
2377
|
{
|
|
2070
|
-
"name": "
|
|
2071
|
-
"type": "
|
|
2072
|
-
"required": true
|
|
2378
|
+
"name": "message",
|
|
2379
|
+
"type": "string"
|
|
2073
2380
|
}
|
|
2074
2381
|
]
|
|
2075
2382
|
}
|
|
@@ -2095,6 +2402,10 @@
|
|
|
2095
2402
|
"fetch",
|
|
2096
2403
|
"TradeOrder",
|
|
2097
2404
|
{
|
|
2405
|
+
"emit": {
|
|
2406
|
+
"failure": "TradeOrderLoadFailed",
|
|
2407
|
+
"success": "TradeOrderLoaded"
|
|
2408
|
+
},
|
|
2098
2409
|
"id": "@payload.id"
|
|
2099
2410
|
}
|
|
2100
2411
|
],
|
|
@@ -2107,10 +2418,6 @@
|
|
|
2107
2418
|
"gap": "md",
|
|
2108
2419
|
"children": [
|
|
2109
2420
|
{
|
|
2110
|
-
"type": "stack",
|
|
2111
|
-
"direction": "horizontal",
|
|
2112
|
-
"gap": "sm",
|
|
2113
|
-
"align": "center",
|
|
2114
2421
|
"children": [
|
|
2115
2422
|
{
|
|
2116
2423
|
"type": "icon",
|
|
@@ -2118,53 +2425,55 @@
|
|
|
2118
2425
|
"size": "md"
|
|
2119
2426
|
},
|
|
2120
2427
|
{
|
|
2121
|
-
"
|
|
2428
|
+
"content": "@entity.symbol",
|
|
2122
2429
|
"variant": "h3",
|
|
2123
|
-
"
|
|
2430
|
+
"type": "typography"
|
|
2124
2431
|
}
|
|
2125
|
-
]
|
|
2432
|
+
],
|
|
2433
|
+
"type": "stack",
|
|
2434
|
+
"align": "center",
|
|
2435
|
+
"gap": "sm",
|
|
2436
|
+
"direction": "horizontal"
|
|
2126
2437
|
},
|
|
2127
2438
|
{
|
|
2128
2439
|
"type": "divider"
|
|
2129
2440
|
},
|
|
2130
2441
|
{
|
|
2131
|
-
"type": "stack",
|
|
2132
2442
|
"direction": "horizontal",
|
|
2133
|
-
"gap": "md",
|
|
2134
2443
|
"children": [
|
|
2135
2444
|
{
|
|
2445
|
+
"content": "Symbol",
|
|
2136
2446
|
"type": "typography",
|
|
2137
|
-
"variant": "caption"
|
|
2138
|
-
"content": "Symbol"
|
|
2447
|
+
"variant": "caption"
|
|
2139
2448
|
},
|
|
2140
2449
|
{
|
|
2141
|
-
"type": "typography",
|
|
2142
2450
|
"variant": "body",
|
|
2451
|
+
"type": "typography",
|
|
2143
2452
|
"content": "@entity.symbol"
|
|
2144
2453
|
}
|
|
2145
|
-
]
|
|
2454
|
+
],
|
|
2455
|
+
"gap": "md",
|
|
2456
|
+
"type": "stack"
|
|
2146
2457
|
},
|
|
2147
2458
|
{
|
|
2148
|
-
"type": "stack",
|
|
2149
|
-
"direction": "horizontal",
|
|
2150
2459
|
"gap": "md",
|
|
2151
2460
|
"children": [
|
|
2152
2461
|
{
|
|
2462
|
+
"content": "Side",
|
|
2153
2463
|
"type": "typography",
|
|
2154
|
-
"variant": "caption"
|
|
2155
|
-
"content": "Side"
|
|
2464
|
+
"variant": "caption"
|
|
2156
2465
|
},
|
|
2157
2466
|
{
|
|
2467
|
+
"content": "@entity.side",
|
|
2158
2468
|
"type": "typography",
|
|
2159
|
-
"variant": "body"
|
|
2160
|
-
"content": "@entity.side"
|
|
2469
|
+
"variant": "body"
|
|
2161
2470
|
}
|
|
2162
|
-
]
|
|
2471
|
+
],
|
|
2472
|
+
"direction": "horizontal",
|
|
2473
|
+
"type": "stack"
|
|
2163
2474
|
},
|
|
2164
2475
|
{
|
|
2165
2476
|
"type": "stack",
|
|
2166
|
-
"direction": "horizontal",
|
|
2167
|
-
"gap": "md",
|
|
2168
2477
|
"children": [
|
|
2169
2478
|
{
|
|
2170
2479
|
"type": "typography",
|
|
@@ -2176,11 +2485,11 @@
|
|
|
2176
2485
|
"variant": "body",
|
|
2177
2486
|
"content": "@entity.quantity"
|
|
2178
2487
|
}
|
|
2179
|
-
]
|
|
2488
|
+
],
|
|
2489
|
+
"direction": "horizontal",
|
|
2490
|
+
"gap": "md"
|
|
2180
2491
|
},
|
|
2181
2492
|
{
|
|
2182
|
-
"type": "stack",
|
|
2183
|
-
"direction": "horizontal",
|
|
2184
2493
|
"gap": "md",
|
|
2185
2494
|
"children": [
|
|
2186
2495
|
{
|
|
@@ -2193,7 +2502,9 @@
|
|
|
2193
2502
|
"variant": "body",
|
|
2194
2503
|
"content": "@entity.price"
|
|
2195
2504
|
}
|
|
2196
|
-
]
|
|
2505
|
+
],
|
|
2506
|
+
"type": "stack",
|
|
2507
|
+
"direction": "horizontal"
|
|
2197
2508
|
},
|
|
2198
2509
|
{
|
|
2199
2510
|
"type": "divider"
|
|
@@ -2202,22 +2513,22 @@
|
|
|
2202
2513
|
"type": "stack",
|
|
2203
2514
|
"direction": "horizontal",
|
|
2204
2515
|
"gap": "sm",
|
|
2205
|
-
"justify": "end",
|
|
2206
2516
|
"children": [
|
|
2207
2517
|
{
|
|
2208
|
-
"
|
|
2209
|
-
"label": "Edit",
|
|
2518
|
+
"icon": "edit",
|
|
2210
2519
|
"event": "EDIT",
|
|
2211
2520
|
"variant": "primary",
|
|
2212
|
-
"
|
|
2521
|
+
"label": "Edit",
|
|
2522
|
+
"type": "button"
|
|
2213
2523
|
},
|
|
2214
2524
|
{
|
|
2215
|
-
"
|
|
2216
|
-
"label": "Close",
|
|
2525
|
+
"variant": "ghost",
|
|
2217
2526
|
"event": "CLOSE",
|
|
2218
|
-
"
|
|
2527
|
+
"label": "Close",
|
|
2528
|
+
"type": "button"
|
|
2219
2529
|
}
|
|
2220
|
-
]
|
|
2530
|
+
],
|
|
2531
|
+
"justify": "end"
|
|
2221
2532
|
}
|
|
2222
2533
|
]
|
|
2223
2534
|
}
|
|
@@ -2234,6 +2545,13 @@
|
|
|
2234
2545
|
"modal",
|
|
2235
2546
|
null
|
|
2236
2547
|
],
|
|
2548
|
+
[
|
|
2549
|
+
"render-ui",
|
|
2550
|
+
"main",
|
|
2551
|
+
{
|
|
2552
|
+
"type": "box"
|
|
2553
|
+
}
|
|
2554
|
+
],
|
|
2237
2555
|
[
|
|
2238
2556
|
"notify",
|
|
2239
2557
|
"Cancelled",
|
|
@@ -2250,24 +2568,73 @@
|
|
|
2250
2568
|
"render-ui",
|
|
2251
2569
|
"modal",
|
|
2252
2570
|
null
|
|
2571
|
+
],
|
|
2572
|
+
[
|
|
2573
|
+
"render-ui",
|
|
2574
|
+
"main",
|
|
2575
|
+
{
|
|
2576
|
+
"type": "box"
|
|
2577
|
+
}
|
|
2253
2578
|
]
|
|
2254
2579
|
]
|
|
2255
2580
|
}
|
|
2256
2581
|
]
|
|
2257
|
-
}
|
|
2582
|
+
},
|
|
2583
|
+
"scope": "collection"
|
|
2258
2584
|
},
|
|
2259
2585
|
{
|
|
2260
2586
|
"name": "TradeOrderDelete",
|
|
2261
|
-
"linkedEntity": "TradeOrder",
|
|
2262
2587
|
"category": "interaction",
|
|
2588
|
+
"linkedEntity": "TradeOrder",
|
|
2263
2589
|
"emits": [
|
|
2264
2590
|
{
|
|
2265
|
-
"event": "
|
|
2266
|
-
"scope": "internal"
|
|
2591
|
+
"event": "TRADE_ORDER_DELETED"
|
|
2267
2592
|
},
|
|
2268
2593
|
{
|
|
2269
|
-
"event": "
|
|
2270
|
-
"
|
|
2594
|
+
"event": "TradeOrderLoaded",
|
|
2595
|
+
"description": "Fired when TradeOrder finishes loading",
|
|
2596
|
+
"scope": "internal",
|
|
2597
|
+
"payload": [
|
|
2598
|
+
{
|
|
2599
|
+
"name": "id",
|
|
2600
|
+
"type": "string",
|
|
2601
|
+
"required": true
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"name": "symbol",
|
|
2605
|
+
"type": "string",
|
|
2606
|
+
"required": true
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"name": "side",
|
|
2610
|
+
"type": "string",
|
|
2611
|
+
"required": true
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"name": "quantity",
|
|
2615
|
+
"type": "number",
|
|
2616
|
+
"required": true
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"name": "price",
|
|
2620
|
+
"type": "number"
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"name": "pendingId",
|
|
2624
|
+
"type": "string"
|
|
2625
|
+
}
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"event": "TradeOrderLoadFailed",
|
|
2630
|
+
"description": "Fired when TradeOrder fails to load",
|
|
2631
|
+
"scope": "internal",
|
|
2632
|
+
"payload": [
|
|
2633
|
+
{
|
|
2634
|
+
"name": "message",
|
|
2635
|
+
"type": "string"
|
|
2636
|
+
}
|
|
2637
|
+
]
|
|
2271
2638
|
}
|
|
2272
2639
|
],
|
|
2273
2640
|
"stateMachine": {
|
|
@@ -2287,18 +2654,17 @@
|
|
|
2287
2654
|
},
|
|
2288
2655
|
{
|
|
2289
2656
|
"key": "DELETE",
|
|
2290
|
-
"name": "
|
|
2657
|
+
"name": "Delete",
|
|
2291
2658
|
"payload": [
|
|
2292
2659
|
{
|
|
2293
2660
|
"name": "id",
|
|
2294
|
-
"type": "string"
|
|
2295
|
-
"required": true
|
|
2661
|
+
"type": "string"
|
|
2296
2662
|
}
|
|
2297
2663
|
]
|
|
2298
2664
|
},
|
|
2299
2665
|
{
|
|
2300
2666
|
"key": "CONFIRM_DELETE",
|
|
2301
|
-
"name": "Confirm"
|
|
2667
|
+
"name": "Confirm Delete"
|
|
2302
2668
|
},
|
|
2303
2669
|
{
|
|
2304
2670
|
"key": "CANCEL",
|
|
@@ -2307,6 +2673,24 @@
|
|
|
2307
2673
|
{
|
|
2308
2674
|
"key": "CLOSE",
|
|
2309
2675
|
"name": "Close"
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"key": "TRADE_ORDER_DELETED",
|
|
2679
|
+
"name": "Trade Order Deleted"
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"key": "TradeOrderLoaded",
|
|
2683
|
+
"name": "TradeOrder loaded"
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"key": "TradeOrderLoadFailed",
|
|
2687
|
+
"name": "TradeOrder load failed",
|
|
2688
|
+
"payload": [
|
|
2689
|
+
{
|
|
2690
|
+
"name": "message",
|
|
2691
|
+
"type": "string"
|
|
2692
|
+
}
|
|
2693
|
+
]
|
|
2310
2694
|
}
|
|
2311
2695
|
],
|
|
2312
2696
|
"transitions": [
|
|
@@ -2335,21 +2719,22 @@
|
|
|
2335
2719
|
"fetch",
|
|
2336
2720
|
"TradeOrder",
|
|
2337
2721
|
{
|
|
2338
|
-
"id": "@payload.id"
|
|
2722
|
+
"id": "@payload.id",
|
|
2723
|
+
"emit": {
|
|
2724
|
+
"failure": "TradeOrderLoadFailed",
|
|
2725
|
+
"success": "TradeOrderLoaded"
|
|
2726
|
+
}
|
|
2339
2727
|
}
|
|
2340
2728
|
],
|
|
2341
2729
|
[
|
|
2342
2730
|
"render-ui",
|
|
2343
2731
|
"modal",
|
|
2344
2732
|
{
|
|
2345
|
-
"type": "stack",
|
|
2346
|
-
"direction": "vertical",
|
|
2347
2733
|
"gap": "md",
|
|
2734
|
+
"type": "stack",
|
|
2348
2735
|
"children": [
|
|
2349
2736
|
{
|
|
2350
2737
|
"type": "stack",
|
|
2351
|
-
"direction": "horizontal",
|
|
2352
|
-
"gap": "sm",
|
|
2353
2738
|
"align": "center",
|
|
2354
2739
|
"children": [
|
|
2355
2740
|
{
|
|
@@ -2362,38 +2747,41 @@
|
|
|
2362
2747
|
"content": "Delete TradeOrder",
|
|
2363
2748
|
"variant": "h3"
|
|
2364
2749
|
}
|
|
2365
|
-
]
|
|
2750
|
+
],
|
|
2751
|
+
"direction": "horizontal",
|
|
2752
|
+
"gap": "sm"
|
|
2366
2753
|
},
|
|
2367
2754
|
{
|
|
2368
2755
|
"type": "divider"
|
|
2369
2756
|
},
|
|
2370
2757
|
{
|
|
2371
2758
|
"type": "alert",
|
|
2372
|
-
"
|
|
2373
|
-
"
|
|
2759
|
+
"message": "This action cannot be undone.",
|
|
2760
|
+
"variant": "danger"
|
|
2374
2761
|
},
|
|
2375
2762
|
{
|
|
2376
|
-
"
|
|
2763
|
+
"justify": "end",
|
|
2377
2764
|
"direction": "horizontal",
|
|
2378
2765
|
"gap": "sm",
|
|
2379
|
-
"
|
|
2766
|
+
"type": "stack",
|
|
2380
2767
|
"children": [
|
|
2381
2768
|
{
|
|
2382
|
-
"type": "button",
|
|
2383
2769
|
"label": "Cancel",
|
|
2384
|
-
"
|
|
2385
|
-
"variant": "ghost"
|
|
2770
|
+
"type": "button",
|
|
2771
|
+
"variant": "ghost",
|
|
2772
|
+
"event": "CANCEL"
|
|
2386
2773
|
},
|
|
2387
2774
|
{
|
|
2388
2775
|
"type": "button",
|
|
2389
|
-
"
|
|
2390
|
-
"event": "CONFIRM_DELETE",
|
|
2776
|
+
"icon": "check",
|
|
2391
2777
|
"variant": "danger",
|
|
2392
|
-
"
|
|
2778
|
+
"event": "CONFIRM_DELETE",
|
|
2779
|
+
"label": "Delete"
|
|
2393
2780
|
}
|
|
2394
2781
|
]
|
|
2395
2782
|
}
|
|
2396
|
-
]
|
|
2783
|
+
],
|
|
2784
|
+
"direction": "vertical"
|
|
2397
2785
|
}
|
|
2398
2786
|
]
|
|
2399
2787
|
]
|
|
@@ -2414,6 +2802,13 @@
|
|
|
2414
2802
|
"modal",
|
|
2415
2803
|
null
|
|
2416
2804
|
],
|
|
2805
|
+
[
|
|
2806
|
+
"render-ui",
|
|
2807
|
+
"main",
|
|
2808
|
+
{
|
|
2809
|
+
"type": "box"
|
|
2810
|
+
}
|
|
2811
|
+
],
|
|
2417
2812
|
[
|
|
2418
2813
|
"ref",
|
|
2419
2814
|
"TradeOrder"
|
|
@@ -2434,6 +2829,13 @@
|
|
|
2434
2829
|
"modal",
|
|
2435
2830
|
null
|
|
2436
2831
|
],
|
|
2832
|
+
[
|
|
2833
|
+
"render-ui",
|
|
2834
|
+
"main",
|
|
2835
|
+
{
|
|
2836
|
+
"type": "box"
|
|
2837
|
+
}
|
|
2838
|
+
],
|
|
2437
2839
|
[
|
|
2438
2840
|
"ref",
|
|
2439
2841
|
"TradeOrder"
|
|
@@ -2450,6 +2852,13 @@
|
|
|
2450
2852
|
"modal",
|
|
2451
2853
|
null
|
|
2452
2854
|
],
|
|
2855
|
+
[
|
|
2856
|
+
"render-ui",
|
|
2857
|
+
"main",
|
|
2858
|
+
{
|
|
2859
|
+
"type": "box"
|
|
2860
|
+
}
|
|
2861
|
+
],
|
|
2453
2862
|
[
|
|
2454
2863
|
"ref",
|
|
2455
2864
|
"TradeOrder"
|
|
@@ -2457,12 +2866,13 @@
|
|
|
2457
2866
|
]
|
|
2458
2867
|
}
|
|
2459
2868
|
]
|
|
2460
|
-
}
|
|
2869
|
+
},
|
|
2870
|
+
"scope": "collection"
|
|
2461
2871
|
}
|
|
2462
2872
|
],
|
|
2463
2873
|
"pages": [
|
|
2464
2874
|
{
|
|
2465
|
-
"name": "
|
|
2875
|
+
"name": "Orders",
|
|
2466
2876
|
"path": "/orders",
|
|
2467
2877
|
"traits": [
|
|
2468
2878
|
{
|
|
@@ -2518,8 +2928,51 @@
|
|
|
2518
2928
|
"traits": [
|
|
2519
2929
|
{
|
|
2520
2930
|
"name": "MarketFeedAsync",
|
|
2521
|
-
"linkedEntity": "MarketFeed",
|
|
2522
2931
|
"category": "interaction",
|
|
2932
|
+
"linkedEntity": "MarketFeed",
|
|
2933
|
+
"emits": [
|
|
2934
|
+
{
|
|
2935
|
+
"event": "MarketFeedLoaded",
|
|
2936
|
+
"description": "Fired when MarketFeed finishes loading",
|
|
2937
|
+
"scope": "internal",
|
|
2938
|
+
"payload": [
|
|
2939
|
+
{
|
|
2940
|
+
"name": "id",
|
|
2941
|
+
"type": "string",
|
|
2942
|
+
"required": true
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"name": "symbol",
|
|
2946
|
+
"type": "string",
|
|
2947
|
+
"required": true
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"name": "price",
|
|
2951
|
+
"type": "number",
|
|
2952
|
+
"required": true
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"name": "change",
|
|
2956
|
+
"type": "number"
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"name": "volume",
|
|
2960
|
+
"type": "number"
|
|
2961
|
+
}
|
|
2962
|
+
]
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"event": "MarketFeedLoadFailed",
|
|
2966
|
+
"description": "Fired when MarketFeed fails to load",
|
|
2967
|
+
"scope": "internal",
|
|
2968
|
+
"payload": [
|
|
2969
|
+
{
|
|
2970
|
+
"name": "message",
|
|
2971
|
+
"type": "string"
|
|
2972
|
+
}
|
|
2973
|
+
]
|
|
2974
|
+
}
|
|
2975
|
+
],
|
|
2523
2976
|
"stateMachine": {
|
|
2524
2977
|
"states": [
|
|
2525
2978
|
{
|
|
@@ -2551,29 +3004,35 @@
|
|
|
2551
3004
|
"payload": [
|
|
2552
3005
|
{
|
|
2553
3006
|
"name": "data",
|
|
2554
|
-
"type": "
|
|
2555
|
-
"required": true
|
|
3007
|
+
"type": "string"
|
|
2556
3008
|
}
|
|
2557
3009
|
]
|
|
2558
3010
|
},
|
|
2559
3011
|
{
|
|
2560
3012
|
"key": "FAILED",
|
|
2561
|
-
"name": "Failed"
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
"required": true
|
|
2567
|
-
}
|
|
2568
|
-
]
|
|
3013
|
+
"name": "Failed"
|
|
3014
|
+
},
|
|
3015
|
+
{
|
|
3016
|
+
"key": "RESET",
|
|
3017
|
+
"name": "Reset"
|
|
2569
3018
|
},
|
|
2570
3019
|
{
|
|
2571
3020
|
"key": "RETRY",
|
|
2572
3021
|
"name": "Retry"
|
|
2573
3022
|
},
|
|
2574
3023
|
{
|
|
2575
|
-
"key": "
|
|
2576
|
-
"name": "
|
|
3024
|
+
"key": "MarketFeedLoaded",
|
|
3025
|
+
"name": "MarketFeed loaded"
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"key": "MarketFeedLoadFailed",
|
|
3029
|
+
"name": "MarketFeed load failed",
|
|
3030
|
+
"payload": [
|
|
3031
|
+
{
|
|
3032
|
+
"name": "message",
|
|
3033
|
+
"type": "string"
|
|
3034
|
+
}
|
|
3035
|
+
]
|
|
2577
3036
|
}
|
|
2578
3037
|
],
|
|
2579
3038
|
"transitions": [
|
|
@@ -2584,7 +3043,13 @@
|
|
|
2584
3043
|
"effects": [
|
|
2585
3044
|
[
|
|
2586
3045
|
"fetch",
|
|
2587
|
-
"MarketFeed"
|
|
3046
|
+
"MarketFeed",
|
|
3047
|
+
{
|
|
3048
|
+
"emit": {
|
|
3049
|
+
"failure": "MarketFeedLoadFailed",
|
|
3050
|
+
"success": "MarketFeedLoaded"
|
|
3051
|
+
}
|
|
3052
|
+
}
|
|
2588
3053
|
],
|
|
2589
3054
|
[
|
|
2590
3055
|
"render-ui",
|
|
@@ -2592,28 +3057,9 @@
|
|
|
2592
3057
|
{
|
|
2593
3058
|
"type": "dashboard-layout",
|
|
2594
3059
|
"appName": "Trading Dashboard",
|
|
2595
|
-
"navItems": [
|
|
2596
|
-
{
|
|
2597
|
-
"label": "Portfolio",
|
|
2598
|
-
"href": "/portfolio",
|
|
2599
|
-
"icon": "layout-list"
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"label": "Orders",
|
|
2603
|
-
"href": "/orders",
|
|
2604
|
-
"icon": "clipboard-list"
|
|
2605
|
-
},
|
|
2606
|
-
{
|
|
2607
|
-
"label": "Market",
|
|
2608
|
-
"href": "/market",
|
|
2609
|
-
"icon": "layout-list"
|
|
2610
|
-
}
|
|
2611
|
-
],
|
|
2612
3060
|
"children": [
|
|
2613
3061
|
{
|
|
2614
|
-
"type": "stack",
|
|
2615
3062
|
"direction": "vertical",
|
|
2616
|
-
"gap": "lg",
|
|
2617
3063
|
"align": "center",
|
|
2618
3064
|
"children": [
|
|
2619
3065
|
{
|
|
@@ -2628,9 +3074,9 @@
|
|
|
2628
3074
|
"size": "lg"
|
|
2629
3075
|
},
|
|
2630
3076
|
{
|
|
2631
|
-
"
|
|
3077
|
+
"variant": "h2",
|
|
2632
3078
|
"content": "MarketFeed",
|
|
2633
|
-
"
|
|
3079
|
+
"type": "typography"
|
|
2634
3080
|
}
|
|
2635
3081
|
]
|
|
2636
3082
|
},
|
|
@@ -2639,18 +3085,37 @@
|
|
|
2639
3085
|
},
|
|
2640
3086
|
{
|
|
2641
3087
|
"type": "typography",
|
|
2642
|
-
"variant": "body",
|
|
2643
3088
|
"color": "muted",
|
|
2644
|
-
"content": "Ready to start marketfeed operation."
|
|
3089
|
+
"content": "Ready to start marketfeed operation.",
|
|
3090
|
+
"variant": "body"
|
|
2645
3091
|
},
|
|
2646
3092
|
{
|
|
2647
3093
|
"type": "button",
|
|
2648
|
-
"label": "Start",
|
|
2649
3094
|
"event": "START",
|
|
3095
|
+
"label": "Start",
|
|
2650
3096
|
"variant": "primary",
|
|
2651
3097
|
"icon": "play"
|
|
2652
3098
|
}
|
|
2653
|
-
]
|
|
3099
|
+
],
|
|
3100
|
+
"gap": "lg",
|
|
3101
|
+
"type": "stack"
|
|
3102
|
+
}
|
|
3103
|
+
],
|
|
3104
|
+
"navItems": [
|
|
3105
|
+
{
|
|
3106
|
+
"icon": "layout-list",
|
|
3107
|
+
"label": "Portfolio",
|
|
3108
|
+
"href": "/portfolio"
|
|
3109
|
+
},
|
|
3110
|
+
{
|
|
3111
|
+
"label": "Orders",
|
|
3112
|
+
"href": "/orders",
|
|
3113
|
+
"icon": "clipboard-list"
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"icon": "layout-list",
|
|
3117
|
+
"label": "Market",
|
|
3118
|
+
"href": "/market"
|
|
2654
3119
|
}
|
|
2655
3120
|
]
|
|
2656
3121
|
}
|
|
@@ -2666,30 +3131,9 @@
|
|
|
2666
3131
|
"render-ui",
|
|
2667
3132
|
"main",
|
|
2668
3133
|
{
|
|
2669
|
-
"type": "dashboard-layout",
|
|
2670
|
-
"appName": "Trading Dashboard",
|
|
2671
|
-
"navItems": [
|
|
2672
|
-
{
|
|
2673
|
-
"label": "Portfolio",
|
|
2674
|
-
"href": "/portfolio",
|
|
2675
|
-
"icon": "layout-list"
|
|
2676
|
-
},
|
|
2677
|
-
{
|
|
2678
|
-
"label": "Orders",
|
|
2679
|
-
"href": "/orders",
|
|
2680
|
-
"icon": "clipboard-list"
|
|
2681
|
-
},
|
|
2682
|
-
{
|
|
2683
|
-
"label": "Market",
|
|
2684
|
-
"href": "/market",
|
|
2685
|
-
"icon": "layout-list"
|
|
2686
|
-
}
|
|
2687
|
-
],
|
|
2688
3134
|
"children": [
|
|
2689
3135
|
{
|
|
2690
|
-
"type": "stack",
|
|
2691
3136
|
"direction": "vertical",
|
|
2692
|
-
"gap": "lg",
|
|
2693
3137
|
"align": "center",
|
|
2694
3138
|
"children": [
|
|
2695
3139
|
{
|
|
@@ -2701,9 +3145,30 @@
|
|
|
2701
3145
|
"type": "skeleton",
|
|
2702
3146
|
"variant": "text"
|
|
2703
3147
|
}
|
|
2704
|
-
]
|
|
3148
|
+
],
|
|
3149
|
+
"type": "stack",
|
|
3150
|
+
"gap": "lg"
|
|
2705
3151
|
}
|
|
2706
|
-
]
|
|
3152
|
+
],
|
|
3153
|
+
"appName": "Trading Dashboard",
|
|
3154
|
+
"navItems": [
|
|
3155
|
+
{
|
|
3156
|
+
"href": "/portfolio",
|
|
3157
|
+
"icon": "layout-list",
|
|
3158
|
+
"label": "Portfolio"
|
|
3159
|
+
},
|
|
3160
|
+
{
|
|
3161
|
+
"href": "/orders",
|
|
3162
|
+
"icon": "clipboard-list",
|
|
3163
|
+
"label": "Orders"
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
"href": "/market",
|
|
3167
|
+
"label": "Market",
|
|
3168
|
+
"icon": "layout-list"
|
|
3169
|
+
}
|
|
3170
|
+
],
|
|
3171
|
+
"type": "dashboard-layout"
|
|
2707
3172
|
}
|
|
2708
3173
|
]
|
|
2709
3174
|
]
|
|
@@ -2723,58 +3188,58 @@
|
|
|
2723
3188
|
"render-ui",
|
|
2724
3189
|
"main",
|
|
2725
3190
|
{
|
|
2726
|
-
"type": "dashboard-layout",
|
|
2727
3191
|
"appName": "Trading Dashboard",
|
|
2728
|
-
"
|
|
2729
|
-
{
|
|
2730
|
-
"label": "Portfolio",
|
|
2731
|
-
"href": "/portfolio",
|
|
2732
|
-
"icon": "layout-list"
|
|
2733
|
-
},
|
|
2734
|
-
{
|
|
2735
|
-
"label": "Orders",
|
|
2736
|
-
"href": "/orders",
|
|
2737
|
-
"icon": "clipboard-list"
|
|
2738
|
-
},
|
|
2739
|
-
{
|
|
2740
|
-
"label": "Market",
|
|
2741
|
-
"href": "/market",
|
|
2742
|
-
"icon": "layout-list"
|
|
2743
|
-
}
|
|
2744
|
-
],
|
|
3192
|
+
"type": "dashboard-layout",
|
|
2745
3193
|
"children": [
|
|
2746
3194
|
{
|
|
2747
|
-
"type": "stack",
|
|
2748
|
-
"direction": "vertical",
|
|
2749
3195
|
"gap": "lg",
|
|
2750
|
-
"align": "center",
|
|
2751
3196
|
"children": [
|
|
2752
3197
|
{
|
|
2753
|
-
"type": "icon",
|
|
2754
3198
|
"name": "check-circle",
|
|
2755
|
-
"size": "lg"
|
|
3199
|
+
"size": "lg",
|
|
3200
|
+
"type": "icon"
|
|
2756
3201
|
},
|
|
2757
3202
|
{
|
|
2758
|
-
"
|
|
3203
|
+
"message": "Market feed connected.",
|
|
2759
3204
|
"variant": "success",
|
|
2760
|
-
"
|
|
3205
|
+
"type": "alert"
|
|
2761
3206
|
},
|
|
2762
3207
|
{
|
|
2763
|
-
"type": "stack",
|
|
2764
|
-
"direction": "horizontal",
|
|
2765
|
-
"gap": "sm",
|
|
2766
|
-
"justify": "center",
|
|
2767
3208
|
"children": [
|
|
2768
3209
|
{
|
|
2769
|
-
"
|
|
2770
|
-
"label": "Reset",
|
|
3210
|
+
"icon": "rotate-ccw",
|
|
2771
3211
|
"event": "RESET",
|
|
3212
|
+
"label": "Reset",
|
|
2772
3213
|
"variant": "ghost",
|
|
2773
|
-
"
|
|
3214
|
+
"type": "button"
|
|
2774
3215
|
}
|
|
2775
|
-
]
|
|
3216
|
+
],
|
|
3217
|
+
"direction": "horizontal",
|
|
3218
|
+
"gap": "sm",
|
|
3219
|
+
"type": "stack",
|
|
3220
|
+
"justify": "center"
|
|
2776
3221
|
}
|
|
2777
|
-
]
|
|
3222
|
+
],
|
|
3223
|
+
"align": "center",
|
|
3224
|
+
"type": "stack",
|
|
3225
|
+
"direction": "vertical"
|
|
3226
|
+
}
|
|
3227
|
+
],
|
|
3228
|
+
"navItems": [
|
|
3229
|
+
{
|
|
3230
|
+
"icon": "layout-list",
|
|
3231
|
+
"label": "Portfolio",
|
|
3232
|
+
"href": "/portfolio"
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
"href": "/orders",
|
|
3236
|
+
"icon": "clipboard-list",
|
|
3237
|
+
"label": "Orders"
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"label": "Market",
|
|
3241
|
+
"href": "/market",
|
|
3242
|
+
"icon": "layout-list"
|
|
2778
3243
|
}
|
|
2779
3244
|
]
|
|
2780
3245
|
}
|
|
@@ -2791,39 +3256,16 @@
|
|
|
2791
3256
|
"main",
|
|
2792
3257
|
{
|
|
2793
3258
|
"type": "dashboard-layout",
|
|
2794
|
-
"appName": "Trading Dashboard",
|
|
2795
|
-
"navItems": [
|
|
2796
|
-
{
|
|
2797
|
-
"label": "Portfolio",
|
|
2798
|
-
"href": "/portfolio",
|
|
2799
|
-
"icon": "layout-list"
|
|
2800
|
-
},
|
|
2801
|
-
{
|
|
2802
|
-
"label": "Orders",
|
|
2803
|
-
"href": "/orders",
|
|
2804
|
-
"icon": "clipboard-list"
|
|
2805
|
-
},
|
|
2806
|
-
{
|
|
2807
|
-
"label": "Market",
|
|
2808
|
-
"href": "/market",
|
|
2809
|
-
"icon": "layout-list"
|
|
2810
|
-
}
|
|
2811
|
-
],
|
|
2812
3259
|
"children": [
|
|
2813
3260
|
{
|
|
2814
|
-
"type": "stack",
|
|
2815
|
-
"direction": "vertical",
|
|
2816
|
-
"gap": "lg",
|
|
2817
|
-
"align": "center",
|
|
2818
3261
|
"children": [
|
|
2819
3262
|
{
|
|
2820
|
-
"
|
|
2821
|
-
"title": "Operation Failed",
|
|
3263
|
+
"onRetry": "RETRY",
|
|
2822
3264
|
"message": "Market feed disconnected.",
|
|
2823
|
-
"
|
|
3265
|
+
"type": "error-state",
|
|
3266
|
+
"title": "Operation Failed"
|
|
2824
3267
|
},
|
|
2825
3268
|
{
|
|
2826
|
-
"type": "stack",
|
|
2827
3269
|
"direction": "horizontal",
|
|
2828
3270
|
"gap": "sm",
|
|
2829
3271
|
"justify": "center",
|
|
@@ -2831,20 +3273,43 @@
|
|
|
2831
3273
|
{
|
|
2832
3274
|
"type": "button",
|
|
2833
3275
|
"label": "Retry",
|
|
3276
|
+
"icon": "refresh-cw",
|
|
2834
3277
|
"event": "RETRY",
|
|
2835
|
-
"variant": "primary"
|
|
2836
|
-
"icon": "refresh-cw"
|
|
3278
|
+
"variant": "primary"
|
|
2837
3279
|
},
|
|
2838
3280
|
{
|
|
2839
|
-
"type": "button",
|
|
2840
3281
|
"label": "Reset",
|
|
2841
|
-
"event": "RESET",
|
|
2842
3282
|
"variant": "ghost",
|
|
2843
|
-
"icon": "rotate-ccw"
|
|
3283
|
+
"icon": "rotate-ccw",
|
|
3284
|
+
"event": "RESET",
|
|
3285
|
+
"type": "button"
|
|
2844
3286
|
}
|
|
2845
|
-
]
|
|
3287
|
+
],
|
|
3288
|
+
"type": "stack"
|
|
2846
3289
|
}
|
|
2847
|
-
]
|
|
3290
|
+
],
|
|
3291
|
+
"type": "stack",
|
|
3292
|
+
"gap": "lg",
|
|
3293
|
+
"align": "center",
|
|
3294
|
+
"direction": "vertical"
|
|
3295
|
+
}
|
|
3296
|
+
],
|
|
3297
|
+
"appName": "Trading Dashboard",
|
|
3298
|
+
"navItems": [
|
|
3299
|
+
{
|
|
3300
|
+
"icon": "layout-list",
|
|
3301
|
+
"label": "Portfolio",
|
|
3302
|
+
"href": "/portfolio"
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
"icon": "clipboard-list",
|
|
3306
|
+
"href": "/orders",
|
|
3307
|
+
"label": "Orders"
|
|
3308
|
+
},
|
|
3309
|
+
{
|
|
3310
|
+
"icon": "layout-list",
|
|
3311
|
+
"label": "Market",
|
|
3312
|
+
"href": "/market"
|
|
2848
3313
|
}
|
|
2849
3314
|
]
|
|
2850
3315
|
}
|
|
@@ -2860,8 +3325,6 @@
|
|
|
2860
3325
|
"render-ui",
|
|
2861
3326
|
"main",
|
|
2862
3327
|
{
|
|
2863
|
-
"type": "dashboard-layout",
|
|
2864
|
-
"appName": "Trading Dashboard",
|
|
2865
3328
|
"navItems": [
|
|
2866
3329
|
{
|
|
2867
3330
|
"label": "Portfolio",
|
|
@@ -2870,27 +3333,23 @@
|
|
|
2870
3333
|
},
|
|
2871
3334
|
{
|
|
2872
3335
|
"label": "Orders",
|
|
2873
|
-
"
|
|
2874
|
-
"
|
|
3336
|
+
"icon": "clipboard-list",
|
|
3337
|
+
"href": "/orders"
|
|
2875
3338
|
},
|
|
2876
3339
|
{
|
|
2877
|
-
"label": "Market",
|
|
2878
3340
|
"href": "/market",
|
|
3341
|
+
"label": "Market",
|
|
2879
3342
|
"icon": "layout-list"
|
|
2880
3343
|
}
|
|
2881
3344
|
],
|
|
3345
|
+
"type": "dashboard-layout",
|
|
2882
3346
|
"children": [
|
|
2883
3347
|
{
|
|
2884
|
-
"type": "stack",
|
|
2885
|
-
"direction": "vertical",
|
|
2886
3348
|
"gap": "lg",
|
|
2887
|
-
"align": "center",
|
|
2888
3349
|
"children": [
|
|
2889
3350
|
{
|
|
2890
|
-
"type": "stack",
|
|
2891
|
-
"direction": "horizontal",
|
|
2892
|
-
"gap": "md",
|
|
2893
3351
|
"align": "center",
|
|
3352
|
+
"type": "stack",
|
|
2894
3353
|
"children": [
|
|
2895
3354
|
{
|
|
2896
3355
|
"type": "icon",
|
|
@@ -2898,31 +3357,37 @@
|
|
|
2898
3357
|
"size": "lg"
|
|
2899
3358
|
},
|
|
2900
3359
|
{
|
|
3360
|
+
"variant": "h2",
|
|
2901
3361
|
"type": "typography",
|
|
2902
|
-
"content": "MarketFeed"
|
|
2903
|
-
"variant": "h2"
|
|
3362
|
+
"content": "MarketFeed"
|
|
2904
3363
|
}
|
|
2905
|
-
]
|
|
3364
|
+
],
|
|
3365
|
+
"gap": "md",
|
|
3366
|
+
"direction": "horizontal"
|
|
2906
3367
|
},
|
|
2907
3368
|
{
|
|
2908
3369
|
"type": "divider"
|
|
2909
3370
|
},
|
|
2910
3371
|
{
|
|
2911
|
-
"type": "typography",
|
|
2912
|
-
"variant": "body",
|
|
2913
3372
|
"color": "muted",
|
|
2914
|
-
"
|
|
3373
|
+
"type": "typography",
|
|
3374
|
+
"content": "Ready to start marketfeed operation.",
|
|
3375
|
+
"variant": "body"
|
|
2915
3376
|
},
|
|
2916
3377
|
{
|
|
2917
3378
|
"type": "button",
|
|
2918
|
-
"
|
|
3379
|
+
"icon": "play",
|
|
2919
3380
|
"event": "START",
|
|
2920
|
-
"
|
|
2921
|
-
"
|
|
3381
|
+
"label": "Start",
|
|
3382
|
+
"variant": "primary"
|
|
2922
3383
|
}
|
|
2923
|
-
]
|
|
3384
|
+
],
|
|
3385
|
+
"align": "center",
|
|
3386
|
+
"direction": "vertical",
|
|
3387
|
+
"type": "stack"
|
|
2924
3388
|
}
|
|
2925
|
-
]
|
|
3389
|
+
],
|
|
3390
|
+
"appName": "Trading Dashboard"
|
|
2926
3391
|
}
|
|
2927
3392
|
]
|
|
2928
3393
|
]
|
|
@@ -2936,69 +3401,69 @@
|
|
|
2936
3401
|
"render-ui",
|
|
2937
3402
|
"main",
|
|
2938
3403
|
{
|
|
2939
|
-
"type": "dashboard-layout",
|
|
2940
|
-
"appName": "Trading Dashboard",
|
|
2941
3404
|
"navItems": [
|
|
2942
3405
|
{
|
|
2943
|
-
"label": "Portfolio",
|
|
2944
3406
|
"href": "/portfolio",
|
|
2945
|
-
"icon": "layout-list"
|
|
3407
|
+
"icon": "layout-list",
|
|
3408
|
+
"label": "Portfolio"
|
|
2946
3409
|
},
|
|
2947
3410
|
{
|
|
2948
|
-
"label": "Orders",
|
|
2949
3411
|
"href": "/orders",
|
|
2950
|
-
"icon": "clipboard-list"
|
|
3412
|
+
"icon": "clipboard-list",
|
|
3413
|
+
"label": "Orders"
|
|
2951
3414
|
},
|
|
2952
3415
|
{
|
|
2953
|
-
"label": "Market",
|
|
2954
3416
|
"href": "/market",
|
|
3417
|
+
"label": "Market",
|
|
2955
3418
|
"icon": "layout-list"
|
|
2956
3419
|
}
|
|
2957
3420
|
],
|
|
2958
3421
|
"children": [
|
|
2959
3422
|
{
|
|
2960
|
-
"type": "stack",
|
|
2961
|
-
"direction": "vertical",
|
|
2962
|
-
"gap": "lg",
|
|
2963
|
-
"align": "center",
|
|
2964
3423
|
"children": [
|
|
2965
3424
|
{
|
|
2966
|
-
"type": "stack",
|
|
2967
|
-
"direction": "horizontal",
|
|
2968
|
-
"gap": "md",
|
|
2969
|
-
"align": "center",
|
|
2970
3425
|
"children": [
|
|
2971
3426
|
{
|
|
2972
3427
|
"type": "icon",
|
|
2973
|
-
"
|
|
2974
|
-
"
|
|
3428
|
+
"size": "lg",
|
|
3429
|
+
"name": "activity"
|
|
2975
3430
|
},
|
|
2976
3431
|
{
|
|
2977
|
-
"type": "typography",
|
|
2978
3432
|
"content": "MarketFeed",
|
|
3433
|
+
"type": "typography",
|
|
2979
3434
|
"variant": "h2"
|
|
2980
3435
|
}
|
|
2981
|
-
]
|
|
3436
|
+
],
|
|
3437
|
+
"type": "stack",
|
|
3438
|
+
"gap": "md",
|
|
3439
|
+
"align": "center",
|
|
3440
|
+
"direction": "horizontal"
|
|
2982
3441
|
},
|
|
2983
3442
|
{
|
|
2984
3443
|
"type": "divider"
|
|
2985
3444
|
},
|
|
2986
3445
|
{
|
|
2987
|
-
"type": "typography",
|
|
2988
3446
|
"variant": "body",
|
|
2989
|
-
"
|
|
2990
|
-
"content": "Ready to start marketfeed operation."
|
|
3447
|
+
"type": "typography",
|
|
3448
|
+
"content": "Ready to start marketfeed operation.",
|
|
3449
|
+
"color": "muted"
|
|
2991
3450
|
},
|
|
2992
3451
|
{
|
|
2993
|
-
"
|
|
3452
|
+
"icon": "play",
|
|
3453
|
+
"variant": "primary",
|
|
2994
3454
|
"label": "Start",
|
|
2995
3455
|
"event": "START",
|
|
2996
|
-
"
|
|
2997
|
-
"icon": "play"
|
|
3456
|
+
"type": "button"
|
|
2998
3457
|
}
|
|
2999
|
-
]
|
|
3458
|
+
],
|
|
3459
|
+
"type": "stack",
|
|
3460
|
+
"align": "center",
|
|
3461
|
+
"direction": "vertical",
|
|
3462
|
+
"gap": "lg"
|
|
3000
3463
|
}
|
|
3001
|
-
]
|
|
3464
|
+
],
|
|
3465
|
+
"type": "dashboard-layout",
|
|
3466
|
+
"appName": "Trading Dashboard"
|
|
3002
3467
|
}
|
|
3003
3468
|
]
|
|
3004
3469
|
]
|
|
@@ -3012,42 +3477,42 @@
|
|
|
3012
3477
|
"render-ui",
|
|
3013
3478
|
"main",
|
|
3014
3479
|
{
|
|
3015
|
-
"type": "dashboard-layout",
|
|
3016
|
-
"appName": "Trading Dashboard",
|
|
3017
3480
|
"navItems": [
|
|
3018
3481
|
{
|
|
3019
|
-
"label": "Portfolio",
|
|
3020
3482
|
"href": "/portfolio",
|
|
3483
|
+
"label": "Portfolio",
|
|
3021
3484
|
"icon": "layout-list"
|
|
3022
3485
|
},
|
|
3023
3486
|
{
|
|
3487
|
+
"icon": "clipboard-list",
|
|
3024
3488
|
"label": "Orders",
|
|
3025
|
-
"href": "/orders"
|
|
3026
|
-
"icon": "clipboard-list"
|
|
3489
|
+
"href": "/orders"
|
|
3027
3490
|
},
|
|
3028
3491
|
{
|
|
3029
|
-
"label": "Market",
|
|
3030
3492
|
"href": "/market",
|
|
3031
|
-
"icon": "layout-list"
|
|
3493
|
+
"icon": "layout-list",
|
|
3494
|
+
"label": "Market"
|
|
3032
3495
|
}
|
|
3033
3496
|
],
|
|
3497
|
+
"appName": "Trading Dashboard",
|
|
3498
|
+
"type": "dashboard-layout",
|
|
3034
3499
|
"children": [
|
|
3035
3500
|
{
|
|
3036
|
-
"type": "stack",
|
|
3037
|
-
"direction": "vertical",
|
|
3038
|
-
"gap": "lg",
|
|
3039
|
-
"align": "center",
|
|
3040
3501
|
"children": [
|
|
3041
3502
|
{
|
|
3042
|
-
"type": "loading-state",
|
|
3043
3503
|
"title": "Connecting to market feed...",
|
|
3044
|
-
"message": "Processing marketfeed..."
|
|
3504
|
+
"message": "Processing marketfeed...",
|
|
3505
|
+
"type": "loading-state"
|
|
3045
3506
|
},
|
|
3046
3507
|
{
|
|
3047
3508
|
"type": "skeleton",
|
|
3048
3509
|
"variant": "text"
|
|
3049
3510
|
}
|
|
3050
|
-
]
|
|
3511
|
+
],
|
|
3512
|
+
"direction": "vertical",
|
|
3513
|
+
"type": "stack",
|
|
3514
|
+
"gap": "lg",
|
|
3515
|
+
"align": "center"
|
|
3051
3516
|
}
|
|
3052
3517
|
]
|
|
3053
3518
|
}
|
|
@@ -3055,12 +3520,13 @@
|
|
|
3055
3520
|
]
|
|
3056
3521
|
}
|
|
3057
3522
|
]
|
|
3058
|
-
}
|
|
3523
|
+
},
|
|
3524
|
+
"scope": "collection"
|
|
3059
3525
|
}
|
|
3060
3526
|
],
|
|
3061
3527
|
"pages": [
|
|
3062
3528
|
{
|
|
3063
|
-
"name": "
|
|
3529
|
+
"name": "Market",
|
|
3064
3530
|
"path": "/market",
|
|
3065
3531
|
"traits": [
|
|
3066
3532
|
{
|
|
@@ -3071,4 +3537,4 @@
|
|
|
3071
3537
|
]
|
|
3072
3538
|
}
|
|
3073
3539
|
]
|
|
3074
|
-
}
|
|
3540
|
+
}
|