Skip to content

Example bot configuration file

sterlinb edited this page Aug 7, 2020 · 2 revisions

Example bot configuration file. All attributes are strictly required except "floodLimit" (which defaults to 100) and "requestIDStart" (which defaults to 1). Setting "requestIDStart" is functionally required when connecting to a real server, as they require request ID values not be reused.

{
  "wsEndpoint":"wss://uat.zubr.io/api/v1/ws",
  "bysonEndpoint":"10.226.33.107",
  "bysonPort":12345,
  "bysonLogin":1234567891,
  "bysonAccount":1234567891011,
  "instrument":1,
  "quoteSize":10,
  "initialPosition":-12,
  "maxPosition":1000,
  "interest":1.0,
  "shift":0.01,
  "priceIncrement":0.1,
  "requestIDStart":326574,
  "floodLimit":100
}

Clone this wiki locally