70 likes | 596 Views
Online Stock Market Simulator Cowboys Chandra Mulpuri Venu Madhav Gudladona Rajendra Veeramachaneni Sachin Kumar Chandra Mohan Features Multi-threaded server, Multi-user Limit Transactions Database using serialized objects Agents for Buy/Sell
E N D
Online Stock Market Simulator Cowboys Chandra Mulpuri Venu Madhav Gudladona Rajendra Veeramachaneni Sachin Kumar Chandra Mohan
Features • Multi-threaded server, Multi-user • Limit Transactions • Database using serialized objects • Agents for Buy/Sell • Scripting language to specify multiple conditions for Buy/Sell. • Advice on stocks.
Grammar • S A B C of D. • A If E then | null • B buy | sell • C number • D stock name • E D F I J E | null • F G | H by • G is between K and K • H increases | decreases • I C % | K • J and | or | null • K $ C
Server Side • Parser : Parses the string entered by the user and identifies the key words such as Stock names , increases , decreases , % , $ , and , or , is between and creates tokens that are stored in a vector. • An Agent is appointed that takes care of checking all the conditions specified.
Features of Buy/Sell Agent • Can specify the query in various formats . • Can specify the condition using % of current value or in terms of $. • Displays error messages if syntax is violated.