Commit Graph

82 Commits

Author SHA1 Message Date
7u83
6e86a45389 creates two accounts (testing only) 2018-12-29 13:31:27 +01:00
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
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
370af3cf9e Refactoring 2018-12-28 13:06:15 +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
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
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
9009b8fd54 Removed the equals and hash code overrides and unused imports 2018-12-23 11:58: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
06727072e4 Added simple logging capabilities. 2018-12-21 23:49:21 +01:00
7u83
6194018dbb asset_pairs = HashMap for TradingAPI 2018-12-21 23:48:03 +01:00
7u83
e0fb0921e4 Removed old master key stuff 2018-12-21 23:20:06 +01:00
7u83
8d2ff5bb80 Removed old master key stuff 2018-12-21 23:19:35 +01:00
7u83
d127b99372 Added a method for default exchange 2018-12-21 10:45:29 +01:00
7u83
01a5551e69 Some stuff for trading API added 2018-12-21 10:13:34 +01:00
7u83
830084d8f6 new api object for trading 2018-12-21 10:12:52 +01:00
7u83
e1d04b23bd Removed unused imports 2018-12-21 09:58:16 +01:00
7u83
381940ecd3 Removed unused imports 2018-12-21 09:38:43 +01:00
7u83
bc687c9b88 Removed dead code 2018-12-21 09:38:17 +01:00
d17d09df31 Removed t from event 2018-12-20 17:26:57 +01:00
57a4089051 Deleted, no need anymore 2018-12-20 17:22:34 +01:00
9e80146597 currentTimmillis exported 2018-12-20 17:21:58 +01:00
e646b2f5de Scheduler works now. 2018-12-20 17:21:06 +01:00
593169f77c Deleted STScheduler 2018-12-20 17:20:53 +01:00