Commit Graph

183 Commits

Author SHA1 Message Date
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
7u83 6194018dbb asset_pairs = HashMap for TradingAPI 2018-12-21 23:48:03 +01:00
7u83 1f07ccd611 Preparation for better close action 2018-12-21 23:20:48 +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 dca661c8f2 Removed (test file) 2018-12-21 14:03:01 +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
7u83 36171e0872 Added a dialog title 2018-12-21 09:00:11 +01:00
7u83 d17d09df31 Removed t from event 2018-12-20 17:26:57 +01:00
7u83 989643d7b1 Test trader 2018-12-20 17:22:49 +01:00
7u83 57a4089051 Deleted, no need anymore 2018-12-20 17:22:34 +01:00
7u83 9e80146597 currentTimmillis exported 2018-12-20 17:21:58 +01:00
7u83 e646b2f5de Scheduler works now. 2018-12-20 17:21:06 +01:00
7u83 593169f77c Deleted STScheduler 2018-12-20 17:20:53 +01:00
7u83 12476c4021 Some code refactoring 2018-12-20 17:19:28 +01:00
7u83 102e80537c Scheduler still not working 2018-12-20 10:51:16 +01:00
7u83 e77f832045 new scheduler still not working 2018-12-20 09:42:07 +01:00
7u83 2cf4780909 Work on a really perfect scheduler ;-) 2018-12-19 19:52:23 +01:00
7u83 f22f8e2679 Work on a really perfect scheduler ;-) 2018-12-19 19:52:11 +01:00
7u83 7e8aea627a Some work 2018-12-19 19:05:02 +01:00
7u83 14e80945fb Fixed author name 2018-12-19 19:04:42 +01:00
7u83 89bd269b5e Added verbosity flag 2018-12-19 18:18:11 +01:00
7u83 2e269b42d8 Fine scheduler 2018-12-19 09:05:25 +01:00
7u83 ad7ba1be01 Moved EventListener interface outside Scheduler 2018-12-18 17:06:39 +01:00
7u83 0424dba1b6 Removed unnecessary continue statement 2018-12-18 14:54:48 +01:00
7u83 4f17d06ee9 All 2018-12-18 01:31:37 +01:00
7u83 fb8295d3b1 TimerTaskDef moved out of Scheduler class, renamed to Event 2018-12-18 01:10:08 +01:00
7u83 648e9d5863 TimerTaskDef moved out of Scheduler class, renamed to Event 2018-12-17 22:34:37 +01:00
7u83 998dad7e66 Scheduler uses linked list instead of set for events 2018-12-17 22:05:14 +01:00
7u83 918bc91e16 some work on the scheduler 2018-12-17 19:27:45 +01:00
7u83 9008eed00b Trader creator using JSON 2018-12-12 19:58:10 +01:00
7u83 4011aa4846 some work on help 2018-12-11 08:11:57 +01:00
7u83 fe7af043b7 Uses GodWorld.getTypeName to get name of asset 2018-12-10 12:37:45 +01:00
7u83 254d57d834 Some code cleaning 2018-12-10 11:28:30 +01:00
7u83 f62a385eab List of asset types works again 2018-12-09 18:43:29 +01:00
7u83 70661d6711 Exchange edit dialog/list
Creates new exchanges
2018-12-09 01:53:47 +01:00
7u83 df2c535bd4 Removed old code 2018-12-08 18:34:41 +01:00
7u83 8232759f8c Removed old code 2018-12-08 18:34:06 +01:00
7u83 f9fbc63763 Renamed trader package 2018-12-08 15:05:28 +01:00
7u83 571b8be7ee Test for Account class 2018-12-08 15:00:35 +01:00
7u83 8dbe6cfe6d Introduced Scollection 2018-12-08 12:17:53 +01:00
7u83 6d24eb67b9 Removed the "masterkey thing"
We will use proxies from RealWorld to GodWorld
2018-12-08 11:11:08 +01:00
7u83 137c6af75d refactoring 2018-12-08 08:11:54 +01:00
7u83 87f4d08155 Exception when file name has no .class extension is handled properly. 2018-12-06 15:07:16 +01:00
7u83 f2bfaee5d7 WorldAdm generates 2018-12-05 20:07:36 +01:00
7u83 e516770fca World can be imported from JSON
At least for assets.
2018-12-05 19:13:19 +01:00
7u83 53bc93a15c World can be exported as JSONObject 2018-12-05 18:43:57 +01:00
7u83 ee5527a3de Added GetJson interface 2018-12-05 18:28:40 +01:00
7u83 84c6718c8e Removed dead code 2018-12-05 17:58:49 +01:00