-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPro.dfm
1193 lines (1193 loc) · 32.7 KB
/
Pro.dfm
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
object app: Tapp
Left = 0
Top = 0
BorderStyle = bsSingle
Caption = #1581#1610#1583#1585#1577
ClientHeight = 407
ClientWidth = 674
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poDesigned
PixelsPerInch = 96
TextHeight = 13
object Panel1: TPanel
Left = 0
Top = 0
Width = 80
Height = 407
Align = alLeft
Caption = ' '
Color = clMenuBar
ParentBackground = False
TabOrder = 0
object Label3: TLabel
Left = 16
Top = 51
Width = 51
Height = 13
Caption = 'Saving ...!'
end
object bStartResiving: TButton
Left = 1
Top = 1
Width = 78
Height = 25
Align = alTop
Caption = 'Start Resiving'
TabOrder = 0
OnClick = bStartResivingClick
end
object bStopResiving: TButton
Left = 6
Top = 25
Width = 69
Height = 20
Caption = 'Stop'
Enabled = False
TabOrder = 1
OnClick = bStopResivingClick
end
object Panel5: TPanel
Left = -12
Top = 46
Width = 112
Height = 4
Caption = ' '
Color = clHotLight
ParentBackground = False
TabOrder = 2
end
object Panel15: TPanel
Left = 7
Top = 70
Width = 65
Height = 35
Caption = ' '
Color = clMoneyGreen
ParentBackground = False
TabOrder = 3
object onSaving: TButton
Left = 5
Top = 5
Width = 25
Height = 25
Caption = 'ON'
TabOrder = 0
OnClick = onSavingClick
end
object ofSaving: TButton
Left = 36
Top = 5
Width = 25
Height = 25
Caption = 'OF'
Enabled = False
TabOrder = 1
OnClick = ofSavingClick
end
end
object GroupBox7: TGroupBox
Left = 1
Top = 363
Width = 73
Height = 43
Caption = 'Rsever ID '
TabOrder = 4
object reseverid: TEdit
Left = 11
Top = 16
Width = 46
Height = 21
MaxLength = 5
NumbersOnly = True
TabOrder = 0
Text = '27030'
end
end
object bChart: TButton
Left = 4
Top = 117
Width = 75
Height = 25
Caption = 'HFT Stratigy'
TabOrder = 5
OnClick = bChartClick
end
object Button13: TButton
Left = 4
Top = 148
Width = 75
Height = 25
Caption = 'HFT Lock'
TabOrder = 6
OnClick = Button13Click
end
end
object Panel2: TPanel
Left = 80
Top = 0
Width = 594
Height = 407
Align = alClient
Caption = ' '
Color = clBtnHighlight
ParentBackground = False
TabOrder = 1
object PageControl1: TPageControl
Left = -4
Top = 1
Width = 603
Height = 411
ActivePage = TabSheet2
TabOrder = 0
object TabSheet1: TTabSheet
Caption = 'Data Saving'
object PageControl2: TPageControl
Left = -4
Top = 3
Width = 589
Height = 377
ActivePage = TabSheet5
TabOrder = 0
object TabSheet5: TTabSheet
Caption = ' '
object bRef: TButton
Left = 13
Top = 3
Width = 89
Height = 19
Caption = 'bRef'
TabOrder = 0
OnClick = bRefClick
end
object symGrid: TStringGrid
Left = 3
Top = 28
Width = 577
Height = 318
BevelWidth = 20
ColCount = 6
DefaultColWidth = 100
DefaultRowHeight = 20
DragKind = dkDock
FixedColor = clBtnShadow
FixedCols = 0
RowCount = 21
GridLineWidth = 0
ParentShowHint = False
ShowHint = True
TabOrder = 1
ColWidths = (
151
101
138
88
169
149)
end
object SaveAll: TButton
Left = 495
Top = 3
Width = 75
Height = 19
Caption = 'Save All'
TabOrder = 2
OnClick = SaveAllClick
end
end
object TabSheet6: TTabSheet
Caption = 'memoSaving'
Enabled = False
ImageIndex = 1
object SavingMemo: TMemo
Left = 3
Top = 40
Width = 575
Height = 306
TabOrder = 0
end
end
object TabSheet10: TTabSheet
Caption = 'TabSheet10'
ImageIndex = 2
object TestSpeed: TButton
Left = 16
Top = 96
Width = 113
Height = 33
Caption = 'TestSpeed'
TabOrder = 0
OnClick = TestSpeedClick
end
object TTT22: TEdit
Left = 152
Top = 102
Width = 137
Height = 21
TabOrder = 1
Text = '100'
end
object sddsd: TEdit
Left = 152
Top = 153
Width = 161
Height = 21
TabOrder = 2
Text = 'Strart'
end
object qsd98: TEdit
Left = 152
Top = 196
Width = 161
Height = 21
TabOrder = 3
Text = 'End'
end
end
end
end
object TabSheet2: TTabSheet
Caption = 'Arbitrage Classic'
ImageIndex = 1
object Panel6: TPanel
Left = 5
Top = -8
Width = 599
Height = 401
Caption = ' '
Color = clMoneyGreen
ParentBackground = False
TabOrder = 0
object R22_list1: TComboBox
Left = 9
Top = 26
Width = 160
Height = 21
Hint = 'Fast Symbol'
AutoCloseUp = True
ParentShowHint = False
ShowHint = True
TabOrder = 0
Text = 'R22_Symbols'
StyleElements = [seFont, seBorder]
Items.Strings = (
' ')
end
object Panel7: TPanel
Left = 346
Top = 26
Width = 247
Height = 206
Caption = ' '
Color = clCream
ParentBackground = False
TabOrder = 1
object Label4: TLabel
Left = 104
Top = 3
Width = 31
Height = 13
Caption = 'Config'
end
object Strategy_ON: TButton
Left = 1
Top = 1
Width = 80
Height = 20
Caption = 'Strategy ON'
TabOrder = 0
OnClick = Strategy_ONClick
end
object Strategy_OF: TButton
Left = 164
Top = 1
Width = 80
Height = 20
Caption = 'Strategy OF'
Enabled = False
TabOrder = 1
OnClick = Strategy_OFClick
end
object StrategyR22Run: TButton
Left = 138
Top = 1
Width = 20
Height = 20
Caption = ' '
TabOrder = 2
Visible = False
OnClick = StrategyR22RunClick
end
object StrategyR22Active: TCheckBox
Left = 87
Top = 2
Width = 11
Height = 17
Caption = ' '
Enabled = False
TabOrder = 3
Visible = False
end
object PageControl3: TPageControl
Left = 0
Top = 22
Width = 252
Height = 184
ActivePage = TabSheet7
TabOrder = 4
object TabSheet7: TTabSheet
Caption = 'Base'
object GroupBox1: TGroupBox
Left = 3
Top = 0
Width = 230
Height = 40
Caption = 'Status'
TabOrder = 0
object Label23: TLabel
Left = 167
Top = 16
Width = 36
Height = 13
Caption = 'State : '
end
object LabelState: TLabel
Left = 209
Top = 16
Width = 10
Height = 13
Caption = '-1'
end
object Hunting: TRadioButton
Left = 8
Top = 12
Width = 57
Height = 17
Caption = 'Hunting'
Checked = True
TabOrder = 0
TabStop = True
end
object Catching: TRadioButton
Left = 79
Top = 12
Width = 82
Height = 17
Caption = 'Catching Up'
TabOrder = 1
end
end
object GroupBox2: TGroupBox
Left = 4
Top = 103
Width = 73
Height = 50
Caption = 'Spread Max'
TabOrder = 1
object MyMaxSpread: TEdit
Left = 16
Top = 16
Width = 41
Height = 21
MaxLength = 6
NumbersOnly = True
TabOrder = 0
Text = '600'
end
end
object GroupBox3: TGroupBox
Left = 4
Top = 51
Width = 73
Height = 48
Caption = 'Ask Dif Max'
TabOrder = 2
object MyMaxDif: TEdit
Left = 16
Top = 16
Width = 41
Height = 21
MaxLength = 6
TabOrder = 0
Text = '-10'
end
end
object GroupBox4: TGroupBox
Left = 83
Top = 51
Width = 73
Height = 48
Caption = 'Ask Dif Min'
TabOrder = 3
object MyMinDif: TEdit
Left = 16
Top = 16
Width = 41
Height = 21
MaxLength = 6
TabOrder = 0
Text = '-1000'
end
end
object GroupBox6: TGroupBox
Left = 162
Top = 46
Width = 73
Height = 78
Caption = 'Sender ID '
TabOrder = 4
object Label18: TLabel
Left = 4
Top = 24
Width = 19
Height = 13
Caption = 'S1 :'
end
object Label19: TLabel
Left = 3
Top = 48
Width = 22
Height = 13
Caption = 'S2 : '
end
object Portc1: TEdit
Left = 29
Top = 21
Width = 41
Height = 21
MaxLength = 5
NumbersOnly = True
TabOrder = 0
Text = '27401'
end
object Portc2: TEdit
Left = 29
Top = 48
Width = 41
Height = 21
MaxLength = 5
NumbersOnly = True
TabOrder = 1
Text = '27501'
end
end
end
object TabSheet8: TTabSheet
Caption = 'Timing'
ImageIndex = 1
object GroupBox5: TGroupBox
Left = 3
Top = 3
Width = 80
Height = 48
Caption = 'Time Ererr ms'
TabOrder = 0
object Edit7: TEdit
Left = 16
Top = 16
Width = 49
Height = 21
MaxLength = 6
NumbersOnly = True
TabOrder = 0
Text = '20000'
end
end
object GroupBox8: TGroupBox
Left = 99
Top = 3
Width = 142
Height = 48
Caption = 'Time For Each Trade ms'
TabOrder = 1
object Label22: TLabel
Left = 71
Top = 20
Width = 56
Height = 13
Caption = '1000ms=1s'
end
object Edit1: TEdit
Left = 16
Top = 16
Width = 49
Height = 21
MaxLength = 6
NumbersOnly = True
TabOrder = 0
Text = '20000'
end
end
end
object TabSheet9: TTabSheet
Caption = 'Testing 1'
ImageIndex = 2
object Label20: TLabel
Left = 3
Top = 6
Width = 35
Height = 13
Caption = 'Code : '
end
object Button4: TButton
Left = 3
Top = 38
Width = 30
Height = 25
Caption = 'Sell1'
TabOrder = 0
OnClick = Button4Click
end
object Button5: TButton
Left = 84
Top = 38
Width = 37
Height = 25
Caption = 'Sell2'
TabOrder = 1
OnClick = Button5Click
end
object Button6: TButton
Left = 165
Top = 38
Width = 75
Height = 25
Caption = 'Open All'
TabOrder = 2
OnClick = Button6Click
end
object Button7: TButton
Left = 3
Top = 69
Width = 75
Height = 25
Caption = 'Close 1'
TabOrder = 3
OnClick = Button7Click
end
object Edit10: TEdit
Left = 56
Top = 3
Width = 58
Height = 21
Hint = 'Comment'
MaxLength = 10
ParentShowHint = False
ShowHint = True
TabOrder = 4
Text = ' R22'
end
object Edit11: TEdit
Left = 120
Top = 3
Width = 39
Height = 21
Hint = 'Code Of Order'
MaxLength = 10
ParentShowHint = False
ShowHint = True
TabOrder = 5
Text = '1'
end
object Button8: TButton
Left = 84
Top = 69
Width = 75
Height = 25
Caption = 'Close 2'
TabOrder = 6
OnClick = Button8Click
end
object Button9: TButton
Left = 166
Top = 69
Width = 75
Height = 25
Caption = 'Close All'
TabOrder = 7
end
object Button10: TButton
Left = 165
Top = 7
Width = 60
Height = 25
Caption = 'Test'
TabOrder = 8
OnClick = Button10Click
end
object Button11: TButton
Left = 127
Top = 38
Width = 33
Height = 25
Caption = 'Buy2'
TabOrder = 9
OnClick = Button11Click
end
object Button12: TButton
Left = 39
Top = 38
Width = 34
Height = 25
Caption = 'buy1'
TabOrder = 10
OnClick = Button12Click
end
end
end
end
object R22_list2: TComboBox
Left = 175
Top = 26
Width = 160
Height = 21
Hint = 'Slow Symbol'
ParentShowHint = False
ShowHint = True
TabOrder = 2
Text = 'R22_Symbols'
Items.Strings = (
'XXL'
'MMS')
end
object Panel8: TPanel
Left = 9
Top = 53
Width = 160
Height = 84
Caption = ' '
Color = clCream
ParentBackground = False
TabOrder = 3
object Label5: TLabel
Left = 8
Top = 24
Width = 27
Height = 13
Caption = 'Ask : '
end
object R22Ask1: TLabel
Left = 41
Top = 24
Width = 18
Height = 13
Caption = '600'
end
object R22Bid1: TLabel
Left = 41
Top = 43
Width = 18
Height = 13
Caption = '600'
end
object Label8: TLabel
Left = 8
Top = 43
Width = 24
Height = 13
Caption = 'Bid : '
end
object R22Date1: TLabel
Left = 8
Top = 7
Width = 21
Height = 11
Caption = '600'
Color = clSkyBlue
Font.Charset = DEFAULT_CHARSET
Font.Color = clHighlight
Font.Height = -9
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object R22Spread1: TLabel
Left = 64
Top = 62
Width = 21
Height = 16
Caption = '600'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Label12: TLabel
Left = 120
Top = 24
Width = 33
Height = 13
Caption = 'Digits :'
end
object R22Digits1: TLabel
Left = 127
Top = 39
Width = 18
Height = 13
Caption = '600'
end
object Label6: TLabel
Left = 8
Top = 62
Width = 50
Height = 16
Caption = 'Spread :'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
end
object Panel13: TPanel
Left = -3
Top = 58
Width = 200
Height = 1
Caption = ' '
Color = clHotLight
ParentBackground = False
TabOrder = 0
end
object Button1: TButton
Left = 136
Top = 60
Width = 20
Height = 20
Caption = '!'
TabOrder = 1
end
end
object Panel10: TPanel
Left = 9
Top = 141
Width = 331
Height = 50
Caption = ' '
Color = clCream
ParentBackground = False
TabOrder = 4
object R22_MaxDif: TLabel
Left = 254
Top = 8
Width = 28
Height = 13
Caption = '-6000'
end
object Label9: TLabel
Left = 166
Top = 8
Width = 82
Height = 13
Caption = 'Max Variance -> '
end
object Label10: TLabel
Left = 9
Top = 8
Width = 95
Height = 13
Caption = 'Sum Spread ------> '
end
object R22_AllSpread: TLabel
Left = 116
Top = 8
Width = 18
Height = 13
Caption = '600'
end
object sqdsq: TLabel
Left = 9
Top = 27
Width = 93
Height = 13
Caption = 'Ask Difference --->'
end
object Label15: TLabel
Left = 166
Top = 27
Width = 82
Height = 13
Caption = 'Min Variance --> '
end
object R22_AskDif: TLabel
Left = 116
Top = 27
Width = 18
Height = 13
Caption = '600'
end
object R22_MinDif: TLabel
Left = 254
Top = 27
Width = 24
Height = 13
Caption = '6000'
end
object Button3: TButton
Left = 280
Top = 120
Width = 51
Height = 18
Caption = 'Sweep'
TabOrder = 0
end
object R22Clear: TButton
Left = 311
Top = 0
Width = 20
Height = 20
Hint = 'Clear'
Caption = 'c'
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = R22ClearClick
end
end
object Panel12: TPanel
Left = 10
Top = 238
Width = 583
Height = 153
Caption = ' '
Color = clCream
ParentBackground = False
TabOrder = 5
object FastTrade: TStringGrid
Left = 2
Top = 2
Width = 578
Height = 73
BevelWidth = 14
ColCount = 10
DefaultColWidth = 40
DefaultRowHeight = 14
DragKind = dkDock
FixedColor = clBtnShadow
FixedCols = 0
RowCount = 11
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
GridLineWidth = 0
ParentFont = False
ParentShowHint = False
ScrollBars = ssNone
ShowHint = True
TabOrder = 0
ColWidths = (
19
150
36
39
90
74
60
139
40
40)
end
object SlowTrade: TStringGrid
Left = 2
Top = 78
Width = 578
Height = 73
BevelWidth = 14
ColCount = 10
DefaultColWidth = 40
DefaultRowHeight = 14
DragKind = dkDock
FixedColor = clBtnShadow
FixedCols = 0
RowCount = 11
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
GridLineWidth = 0
ParentFont = False
ParentShowHint = False
ScrollBars = ssNone
ShowHint = True
TabOrder = 1
ColWidths = (
19
150
36
39
92
74
60
139
40
40)
end
end
object Panel9: TPanel
Left = 175
Top = 53
Width = 165
Height = 84
Caption = ' '
Color = clCream
ParentBackground = False
TabOrder = 6
object Label14: TLabel
Left = 8
Top = 24
Width = 27
Height = 13
Caption = 'Ask : '
end
object R22Ask2: TLabel
Left = 41
Top = 24
Width = 18
Height = 13
Caption = '600'
end
object R22Bid2: TLabel
Left = 41
Top = 43
Width = 18
Height = 13
Caption = '600'
end
object Label17: TLabel
Left = 8
Top = 43
Width = 24
Height = 13
Caption = 'Bid : '
end
object R22Date2: TLabel
Left = 8
Top = 7
Width = 21
Height = 11
Caption = '600'
Color = clSkyBlue
Font.Charset = DEFAULT_CHARSET
Font.Color = clHighlight
Font.Height = -9
Font.Name = 'Tahoma'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
end
object R22Spread2: TLabel
Left = 74
Top = 62
Width = 21
Height = 16
Caption = '600'
Font.Charset = DEFAULT_CHARSET
Font.Color = clGreen
Font.Height = -13
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False