Commit Graph

136 Commits

Author SHA1 Message Date
7u83
9f829b0554 Handles collision of two unlimited orders now 2018-12-29 13:30:07 +01:00
7u83
3bbcd63da9 Contains also order type now 2018-12-29 13:28:29 +01:00
7u83
bebb0c1f12 Introduced Order.Addition 2018-12-29 13:27:42 +01:00
7u83
500204819c Fixed formatting 2018-12-29 11:14:04 +01:00
7u83
0c5b7d5a02 reintroduced the finishTrade function 2018-12-29 11:01:49 +01:00
7u83
f7601aea3a Refined getBestPrice function 2018-12-29 10:35:47 +01:00
7u83
cadc910f99 Determines order type and compacts history 2018-12-29 05:25:42 +01:00
7u83
7b73b8b836 moved SimpleTrader to world 2018-12-29 01:41:45 +01:00
7u83
ad83e00fd3 listener for account changes implemented 2018-12-29 01:40:58 +01:00
7u83
451c064268 Modified to display two accounts from simple trader
for test purpose
2018-12-29 01:40:07 +01:00
7u83
5310b14863 Heavy work on execute orders 2018-12-29 01:39:38 +01:00
7u83
f0c4d4f19c public getQuoteHistory method added. 2018-12-29 01:38:53 +01:00
7u83
7f40700cc0 Moved to package world for test purpose. 2018-12-29 01:38:14 +01:00
7u83
341a888d6f Constructor to enforce an id 2018-12-29 01:37:38 +01:00
7u83
1336a7dbc5 made world protected, so TradingEngine can access it from outer 2018-12-29 01:36:57 +01:00
7u83
20ed896486 constructor to initialize only with asset 2018-12-29 01:36:02 +01:00
7u83
361a4788a0 new functions for adding and subtracting asset packs 2018-12-29 01:35:18 +01:00
7u83
59e285a138 Moved var defs for better readability 2018-12-29 01:34:25 +01:00
7u83
4b2f9dd378 HistoryPanel created 2018-12-29 01:33:39 +01:00
7u83
370af3cf9e Refactoring 2018-12-28 13:06:15 +01:00
7u83
c9721ac5f5 Moved scheduler to util 2018-12-28 13:05:51 +01:00
7u83
b813d7ca2f Removed unused imports 2018-12-28 11:45:01 +01:00
7u83
3ae48deee6 Gui to display accounts 2018-12-28 11:40:53 +01:00
7u83
ac22bc0870 Methods for assets avail 2018-12-28 11:39:15 +01:00
7u83
3cc7940658 Added getAccount method 2018-12-28 11:38:30 +01:00
7u83
2eb3be4ce2 Order creation verifies available assets 2018-12-28 11:37:52 +01:00
7u83
ab4a1035d2 Removed unused imports 2018-12-28 09:24:29 +01:00
7u83
bec4aa59a6 HashMap for available assets 2018-12-28 08:11:09 +01:00
7u83
f02b887b8b some refactoring 2018-12-27 17:52:44 +01:00
7u83
bd2ec97f74 getter for formatter 2018-12-27 17:52:04 +01:00
7u83
6a8c4c3404 Added a spinner for threads 2018-12-27 17:51:09 +01:00
7u83
cf3c810b7e Added comments 2018-12-27 14:02:04 +01:00
7u83
d4e85d1410 Removed unused imports, added comments 2018-12-27 12:56:39 +01:00
7u83
55a583c147 Removed unused imports and out-commented code 2018-12-27 12:46:39 +01:00
7u83
c208092452 Work on separated trading engine. 2018-12-26 13:11:35 +01:00
7u83
974c1cb81e OrderBookPanel with callback. 2018-12-26 03:07:33 +01:00
7u83
99fea69520 Improvements on EventListener Event ... 2018-12-25 18:16:45 +01:00
7u83
0397dc44a9 Building the new OrderBookPanel 2018-12-24 15:12:32 +01:00
7u83
e2c15eff1c Work on first trades 2018-12-23 13:12:36 +01:00
7u83
9009b8fd54 Removed the equals and hash code overrides and unused imports 2018-12-23 11:58:18 +01:00
7u83
75443ebc79 Deleted Scollection 2018-12-23 11:42:43 +01:00
7u83
51831c1f18 Testing 2018-12-23 11:30:18 +01:00
7u83
01c34d5cbb renamed p to pair for better readability 2018-12-23 11:30:00 +01:00
7u83
0c5e75a7a1 Added some functions related to AssetPair creation etc. 2018-12-23 11:29:12 +01:00
7u83
c56ed5abcd created static method buildSymbol 2018-12-23 11:01:15 +01:00
7u83
79fc3f303e Codee sorting and removal off Scollection 2018-12-23 10:46:53 +01:00
7u83
17f6718659 Removed out=commented code and unused imports 2018-12-23 10:04:56 +01:00
7u83
5023b2ad7a Work on new Trading API 2018-12-23 03:04:37 +01:00
7u83
2250a1e4eb uses one and only one exchange - for now 2018-12-21 23:50:25 +01:00
7u83
06727072e4 Added simple logging capabilities. 2018-12-21 23:49:21 +01:00