-
Notifications
You must be signed in to change notification settings - Fork 0
/
Architecture.txt
40 lines (31 loc) · 1.14 KB
/
Architecture.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- Gui [Bot, DataSources]
*Show arb list
*Ability create stakes based on particular arb and parameters given from
user like totalAmount and account to use.
*Maybe make simple analytics for arbs like what would be best arb to bet on.
- Bot [DataSources]
*Provide api for each bookie to createStakes when given neccessary
parameters.
*Provide api to get bookieBalances.
- DataSources
*Provide DataSource classes that have single interface and that
these classes can provide available arbs or scrapped data.
There may be multiple sources, one of them will be our daemon.
- Scraper
*Provide scrapper implementation for each bookie.
- DataAnalyzer
*Analize data
*Find arbs.
*Match team names based on event time.
- Persist
* Abstraction layer for data persistence.
- Daemon [Scraper, DataAnalyzer, Alert]
* Get new data
* Save it.
* Run DataAnalyzer and save data/analyzed data.
* Provide HTTP api to get these data.
* BroadCast notifications.
- DataTypes
* Common place for data types like Arb, Bookie, Event.
- Alert
* Send notifications on mobile.