forked from Syntax-Error/TradeSim
Fixing modules and stuff
Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
parent
1c02e03be9
commit
02a5300860
6 changed files with 18 additions and 9 deletions
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[submodule "external/curl"]
|
||||
path = external/curl
|
||||
url = https://github.com/curl/curl
|
||||
[submodule "external/jsoncpp"]
|
||||
path = external/jsoncpp
|
||||
url = https://github.com/open-source-parsers/jsoncpp
|
Binary file not shown.
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 67 KiB |
17
docs/dev.org
17
docs/dev.org
|
@ -8,12 +8,15 @@
|
|||
#+BEGIN_SRC plantuml :file class-diagram.png :exports result
|
||||
@startuml
|
||||
Exchange <|--- Binance
|
||||
Market <--- "-currencies" Currency : 2
|
||||
Exchange *--- " #markets" Market : 1..*
|
||||
Trader <--- "-exchanges" Exchange: 1..*
|
||||
TradeTracker *--- "-traders" Trader: 0..*
|
||||
Market <--- "-currencies 2" Currency
|
||||
Exchange *--- " #markets 1..*" Market
|
||||
Trader <--- " #exchanges 1..*" Exchange
|
||||
TradeTracker *--- "-exchanges 1...*" Exchange
|
||||
TradeTracker *--- "-traders 0..*" Trader
|
||||
Market <... TradeTracker
|
||||
Market <... Trader
|
||||
|
||||
class TradeTracker {
|
||||
class TradeTracker << (S,#FF7700) Singleton >> {
|
||||
-round()
|
||||
+start()
|
||||
}
|
||||
|
@ -22,7 +25,7 @@ abstract class Trader {
|
|||
+{abstract} step()
|
||||
}
|
||||
|
||||
note right of Trader::step()
|
||||
note left of Trader::step()
|
||||
Itt történik a trader belső logikája
|
||||
end note
|
||||
|
||||
|
@ -44,7 +47,7 @@ class Binance {
|
|||
+updateMarkets()
|
||||
}
|
||||
|
||||
note left of Binance
|
||||
note right of Binance
|
||||
Ez csak egy példa, lehetne akár más is
|
||||
end note
|
||||
|
||||
|
|
BIN
docs/my-diagram.png
Normal file
BIN
docs/my-diagram.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 50 KiB |
2
external/curl
vendored
2
external/curl
vendored
|
@ -1 +1 @@
|
|||
Subproject commit aa8de5d6ee457456ce665282d1bf5d74648683dc
|
||||
Subproject commit 5a19cb5a3c1b0345306bb3738a0cdf43ea72852b
|
2
external/jsoncpp
vendored
2
external/jsoncpp
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 940982438d01fe2575acef8dd98a9b6893ccc9bb
|
||||
Subproject commit c9a976238b8b184a5a2e3b6bfa513ba1657a327b
|
Loading…
Reference in a new issue