marketTrade/docs/с4.drawio
2022-05-10 14:27:43 +03:00

113 lines
16 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<mxfile host="app.diagrams.net" modified="2022-04-24T15:45:08.293Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36" etag="pkAQY2j1G7kkiMe6IMVk" version="17.4.6" type="github" pages="2">
<diagram id="RiWZ9U7_gL--o0N2Vmwu" name="C1">
<mxGraphModel dx="1422" dy="785" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="_wD96rykNVs0gyjQJpaA-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="_wD96rykNVs0gyjQJpaA-1" target="_wD96rykNVs0gyjQJpaA-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<object placeholders="1" c4Name="Person name" c4Type="Person" c4Description="Description of person." label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#cccccc&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" isRealised="False" id="_wD96rykNVs0gyjQJpaA-1">
<mxCell style="html=1;fontSize=11;dashed=0;whitespace=wrap;fillColor=#083F75;strokeColor=#06315C;fontColor=#ffffff;shape=mxgraph.c4.person2;align=center;metaEdit=1;points=[[0.5,0,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0]];resizable=0;" parent="1" vertex="1">
<mxGeometry x="314" width="200" height="180" as="geometry" />
</mxCell>
</object>
<mxCell id="_wD96rykNVs0gyjQJpaA-4" value="Получение котировок и&lt;br&gt;совершение сделок" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="_wD96rykNVs0gyjQJpaA-2" target="_wD96rykNVs0gyjQJpaA-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<object placeholders="1" c4Name="BibasCopy" c4Type="Software System" c4Description="Market Trading Sys" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#cccccc&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="_wD96rykNVs0gyjQJpaA-2">
<mxCell style="rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#1061B0;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#0D5091;metaEdit=1;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="1" vertex="1">
<mxGeometry x="294" y="290" width="240" height="120" as="geometry" />
</mxCell>
</object>
<object placeholders="1" c4Name="Tinkoff / investAPI&#xa;" c4Type="TradeApi" c4Description="https://tinkoff.github.io/investAPI/&#xa;https://github.com/Tinkoff/investAPI/" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#cccccc&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="_wD96rykNVs0gyjQJpaA-3">
<mxCell style="rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#8C8496;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#736782;metaEdit=1;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="1" vertex="1">
<mxGeometry x="760" y="290" width="240" height="120" as="geometry" />
</mxCell>
</object>
</root>
</mxGraphModel>
</diagram>
<diagram id="4YQuiaAyOnZQqMlcwOd5" name="C2">
<mxGraphModel dx="813" dy="449" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="-A9l5Po6eYqSHBpqTPCg-0" />
<mxCell id="-A9l5Po6eYqSHBpqTPCg-1" parent="-A9l5Po6eYqSHBpqTPCg-0" />
<mxCell id="C5uck7bOrHQE7dOmcdNJ-9" value="Данные для отображения &lt;br&gt;истории стратегий " style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" source="-A9l5Po6eYqSHBpqTPCg-2" target="C5uck7bOrHQE7dOmcdNJ-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<object placeholders="1" c4Name="UI Trade" c4Type="Container" c4Technology="Python&#xa;Dash&#xa;Plotly" c4Description="UI для просмотра работы текущих стратеий" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%: %c4Technology%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#E6E6E6&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="-A9l5Po6eYqSHBpqTPCg-2">
<mxCell style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;labelBackgroundColor=none;fillColor=#23A2D9;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#0E7DAD;metaEdit=1;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="130" y="280" width="240" height="120" as="geometry" />
</mxCell>
</object>
<mxCell id="_RfEWtsR9Ml_XYfnFmCa-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" source="_RfEWtsR9Ml_XYfnFmCa-0" target="-A9l5Po6eYqSHBpqTPCg-2" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="_RfEWtsR9Ml_XYfnFmCa-2" value="Смотрит" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="_RfEWtsR9Ml_XYfnFmCa-1" vertex="1" connectable="0">
<mxGeometry x="-0.1625" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<object placeholders="1" c4Name="Person name" c4Type="Person" c4Description="Description of person." label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#cccccc&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="_RfEWtsR9Ml_XYfnFmCa-0">
<mxCell style="html=1;fontSize=11;dashed=0;whitespace=wrap;fillColor=#083F75;strokeColor=#06315C;fontColor=#ffffff;shape=mxgraph.c4.person2;align=center;metaEdit=1;points=[[0.5,0,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0]];resizable=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="150" y="10" width="200" height="180" as="geometry" />
</mxCell>
</object>
<object placeholders="1" c4Name="TA&#xa;" c4Type="Container" c4Technology="Python&#xa;Plotly" c4Description="Контейнер индикаторов и осцилляторов с возможностью их отрисовки" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%: %c4Technology%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#E6E6E6&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="_RfEWtsR9Ml_XYfnFmCa-3">
<mxCell style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;labelBackgroundColor=none;fillColor=#23A2D9;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#0E7DAD;metaEdit=1;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="130" y="470" width="240" height="120" as="geometry" />
</mxCell>
</object>
<mxCell id="g3hq3Xs3RosolGnhKjFq-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" source="_RfEWtsR9Ml_XYfnFmCa-4" target="g3hq3Xs3RosolGnhKjFq-0" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="C5uck7bOrHQE7dOmcdNJ-0" value="Получение котировок и&lt;br&gt;совершение сделок" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="g3hq3Xs3RosolGnhKjFq-1" vertex="1" connectable="0">
<mxGeometry x="-0.1111" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<object placeholders="1" c4Name="TradeApi" c4Type="Container" c4Technology="" c4Description="Получение котировок и совершение сделок от брокера" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%: %c4Technology%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#E6E6E6&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="_RfEWtsR9Ml_XYfnFmCa-4">
<mxCell style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;labelBackgroundColor=none;fillColor=#23A2D9;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#0E7DAD;metaEdit=1;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="710" y="470" width="240" height="120" as="geometry" />
</mxCell>
</object>
<object placeholders="1" c4Name="Tinkoff / investAPI&#xa;" c4Type="TradeApi" c4Description="https://tinkoff.github.io/investAPI/&#xa;https://github.com/Tinkoff/investAPI/" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#cccccc&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="g3hq3Xs3RosolGnhKjFq-0">
<mxCell style="rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=none;fillColor=#8C8496;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#736782;metaEdit=1;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="1190" y="465" width="240" height="120" as="geometry" />
</mxCell>
</object>
<mxCell id="C5uck7bOrHQE7dOmcdNJ-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" source="C5uck7bOrHQE7dOmcdNJ-1" target="_RfEWtsR9Ml_XYfnFmCa-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="C5uck7bOrHQE7dOmcdNJ-4" value="Использует значениея индикаторв&lt;br&gt;для принятия решений" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="C5uck7bOrHQE7dOmcdNJ-3" vertex="1" connectable="0">
<mxGeometry x="0.2444" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="C5uck7bOrHQE7dOmcdNJ-5" value="Совершает сделики&lt;br&gt;и получает котировки" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" source="C5uck7bOrHQE7dOmcdNJ-1" target="_RfEWtsR9Ml_XYfnFmCa-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="C5uck7bOrHQE7dOmcdNJ-7" value="Записывает результаты&lt;br&gt; стратегий" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" source="C5uck7bOrHQE7dOmcdNJ-1" target="C5uck7bOrHQE7dOmcdNJ-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<object placeholders="1" c4Name="StrategyEngine" c4Type="Container" c4Technology="" c4Description="Движок стратегий" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Name%&lt;/b&gt;&lt;/font&gt;&lt;div&gt;[%c4Type%: %c4Technology%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#E6E6E6&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="C5uck7bOrHQE7dOmcdNJ-1">
<mxCell style="rounded=1;whiteSpace=wrap;html=1;fontSize=11;labelBackgroundColor=none;fillColor=#23A2D9;fontColor=#ffffff;align=center;arcSize=10;strokeColor=#0E7DAD;metaEdit=1;resizable=0;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="130" y="710" width="240" height="120" as="geometry" />
</mxCell>
</object>
<object placeholders="1" c4Type="DB" c4Container="StratBD" c4Technology="e.g. Oracle Database 12" c4Description="Истории стратегий" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;%c4Type%&lt;/font&gt;&lt;div&gt;[%c4Container%:&amp;nbsp;%c4Technology%]&lt;/div&gt;&lt;br&gt;&lt;div&gt;&lt;font style=&quot;font-size: 11px&quot;&gt;&lt;font color=&quot;#E6E6E6&quot;&gt;%c4Description%&lt;/font&gt;&lt;/div&gt;" id="C5uck7bOrHQE7dOmcdNJ-6">
<mxCell style="shape=cylinder3;size=15;whiteSpace=wrap;html=1;boundedLbl=1;rounded=0;labelBackgroundColor=none;fillColor=#23A2D9;fontSize=12;fontColor=#ffffff;align=center;strokeColor=#0E7DAD;metaEdit=1;points=[[0.5,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.5,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];resizable=0;" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="420" y="470" width="240" height="120" as="geometry" />
</mxCell>
</object>
<object placeholders="1" c4Name="BibasCopy&#xa;" c4Type="SystemScopeBoundary" c4Application="Software System" label="&lt;font style=&quot;font-size: 16px&quot;&gt;&lt;b&gt;&lt;div style=&quot;text-align: left&quot;&gt;%c4Name%&lt;/div&gt;&lt;/b&gt;&lt;/font&gt;&lt;div style=&quot;text-align: left&quot;&gt;[%c4Application%]&lt;/div&gt;" id="C5uck7bOrHQE7dOmcdNJ-11">
<mxCell style="rounded=1;fontSize=11;whiteSpace=wrap;html=1;dashed=1;arcSize=20;fillColor=none;strokeColor=#666666;fontColor=#333333;labelBackgroundColor=none;align=left;verticalAlign=bottom;labelBorderColor=none;spacingTop=0;spacing=10;dashPattern=8 4;metaEdit=1;rotatable=0;perimeter=rectanglePerimeter;noLabel=0;labelPadding=0;allowArrows=0;connectable=0;expand=0;recursiveResize=0;editable=1;pointerEvents=0;absoluteArcSize=1;points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];" parent="-A9l5Po6eYqSHBpqTPCg-1" vertex="1">
<mxGeometry x="50" y="260" width="1090" height="640" as="geometry" />
</mxCell>
</object>
</root>
</mxGraphModel>
</diagram>
</mxfile>