Commit Graph

103 Commits

Author SHA1 Message Date
fcdae01a8b Added ERROR status and message String with getter and setter 2019-01-02 20:03:55 +01:00
7u83
0cedbbc3d4 Work on stop loss 2019-01-01 19:20:35 +01:00
7u83
3f43ff6f29 Added some java doc 2019-01-01 14:48:46 +01:00
7u83
a1c1196ba1 no account checking (for test only) 2019-01-01 14:23:01 +01:00
7u83
641285fafb function to calculate stop loss 2019-01-01 14:20:41 +01:00
7u83
215fb5e074 renamed to getFinalBalance
Introduced function GetAssetDebt
2018-12-31 23:34:57 +01:00
7u83
22e77665ee Test stuff 2018-12-31 14:12:14 +01:00
7u83
3a01f672eb Interface for get asset pair 2018-12-31 14:11:40 +01:00
7u83
3853beac19 Margin stuff 2018-12-31 14:11:18 +01:00
7u83
d661de2892 No change 2018-12-31 14:10:43 +01:00
7u83
6eb9ab8ff9 Proxy funkction for getAssetPair by assets 2018-12-31 14:09:18 +01:00
7u83
a9ad772112 creates account with world parameter 2018-12-31 14:08:44 +01:00
7u83
e99aa62c59 Stuff to calculate margin and value 2018-12-31 14:08:06 +01:00
7u83
401b6ce2f9 Constructors are protected 2018-12-31 14:07:37 +01:00
7u83
904b4a1016 Cunstruct account with world parameter 2018-12-31 14:06:18 +01:00
7u83
844a57df27 New function to asset pair by assets 2018-12-31 14:05:02 +01:00
7u83
b5cf77abbd Added @override annotations 2018-12-29 21:57:49 +01:00
7u83
ed07bd5819 Added @override annotations 2018-12-29 21:02:01 +01:00
7u83
cb01b886dc More functions defined in interface 2018-12-29 21:01:30 +01:00
7u83
882c84adf2 Order does not check decimals anymore 2018-12-29 20:02:58 +01:00
7u83
54d4b5baee Introduced Asset interface 2018-12-29 14:31:47 +01:00
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