Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

parametersGame.html 2.2 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Create Trading Game</title>
  6. <link rel="stylesheet" href="style.css">
  7. </head>
  8. <body>
  9. <div id="game-form-container">
  10. <h2>Create Your Trading Game</h2>
  11. <form id="create-game-form">
  12. <div class="form-group">
  13. <label for="game-name">Game Name:</label>
  14. <input type="text" id="game-name" name="game-name" required>
  15. </div>
  16. <div class="form-group">
  17. <label for="starting-cash">Starting Cash:</label>
  18. <input type="number" id="starting-cash" name="starting-cash" required min="1000" value="100000">
  19. </div>
  20. <div class="form-group">
  21. <label for="game-duration">Game Duration:</label>
  22. <select id="game-duration" name="game-duration">
  23. <option value="30">1 Month</option>
  24. <option value="90">3 Months</option>
  25. <option value="180">6 Months</option>
  26. <option value="365">1 Year</option>
  27. </select>
  28. </div>
  29. <div class="form-group">
  30. <label for="markets">Markets to Trade:</label>
  31. <select multiple id="markets" name="markets">
  32. <option value="nyse">NYSE</option>
  33. <option value="nasdaq">NASDAQ</option>
  34. <option value="lse">LSE</option>
  35. <option value="hkse">HKSE</option>
  36. <option value="tse">TSE</option>
  37. </select>
  38. </div>
  39. <div class="form-group">
  40. <label for="allow-short-selling">Allow Short Selling:</label>
  41. <input type="checkbox" id="allow-short-selling" name="allow-short-selling">
  42. </div>
  43. <div class="form-group">
  44. <label for="margin-trading">Allow Margin Trading:</label>
  45. <input type="checkbox" id="margin-trading" name="margin-trading">
  46. </div>
  47. <button type="submit">Create Game</button>
  48. </form>
  49. </div>
  50. <script src="script.js"></script>
  51. </body>
  52. </html>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...