Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load testing wip2 #44

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
load test wip
  • Loading branch information
joao-ferreira-encora committed Oct 28, 2024

Verified

This commit was signed with the committer’s verified signature.
joao-ferreira-encora Joao Ferreira
commit ec8eb5dff0f2e8311da9a73cca62d38ff7015a78
6 changes: 3 additions & 3 deletions cmd/tradeclient/tradeclient.go
Original file line number Diff line number Diff line change
@@ -60,11 +60,11 @@ func (e TradeClient) FromAdmin(msg *quickfix.Message, sessionID quickfix.Session
const (
FIX_SEP = "\u0001"

Publickey = "c"
Publickey = "Publickey"

Privatekey = "b"
Privatekey = "Privatekey"

APIKey = "a"
APIKey = "APIKey"
)

// ToAdmin implemented as part of Application interface
41 changes: 27 additions & 14 deletions config/tradeclient.cfg
Original file line number Diff line number Diff line change
@@ -1,27 +1,40 @@
[DEFAULT]
SocketConnectHost=127.0.0.1
SocketConnectPort=5001
SocketConnectHost=localhost
HeartBtInt=30
SenderCompID=TW
TargetCompID=ISLD
ResetOnLogon=Y
FileLogPath=tmp
#SocketPrivateKeyFile=config/client0.key
#SocketCertificateFile=config/client0.crt
#SocketCAFile=config/ca.crt

[SESSION]
BeginString=FIX.4.0
#[SESSION]
#BeginString=FIX.4.0

[SESSION]
BeginString=FIX.4.1
#[SESSION]
#BeginString=FIX.4.1

[SESSION]
BeginString=FIX.4.2
#[SESSION]
#BeginString=FIX.4.2

[SESSION]
BeginString=FIX.4.3
#[SESSION]
#BeginString=FIX.4.3

[SESSION]
SocketConnectPort=5002
BeginString=FIX.4.4
#SenderCompID=CUST1_Marketdata
SenderCompID=CUST2_Marketdata
#SenderCompID=CLIENT1_MD
TargetCompID=ANCHORAGE

[SESSION]
BeginString=FIXT.1.1
DefaultApplVerID=7
SocketConnectPort=5001
BeginString=FIX.4.4
#SenderCompID=CUST1_Order
SenderCompID=CUST2_Order
#SenderCompID=CLIENT1_Order
TargetCompID=ANCHORAGE

#[SESSION]
#BeginString=FIXT.1.1
#DefaultApplVerID=7