Skip to content

Commit 50946b6

Browse files
author
Ahmad Noman Musleh
committed
Updated message files to cServer 80
1 parent f35e7d6 commit 50946b6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

OpenApiMessages.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ message ProtoOAGetTickDataRes {
551551
optional ProtoOAPayloadType payloadType = 1 [default = PROTO_OA_GET_TICKDATA_RES];
552552

553553
required int64 ctidTraderAccountId = 2; // Unique identifier of the trader's account. Used to match responses to trader's accounts.
554-
repeated ProtoOATickData tickData = 3; // The list of ticks in chronological order. The first tick contains Unix timestamp in milliseconds while all subsequent ticks have the time difference in milliseconds between previous and the current one.
554+
repeated ProtoOATickData tickData = 3; // The list of ticks is in chronological order. The first tick contains Unix timestamp in milliseconds while all subsequent ticks have the time difference in milliseconds between the previous and the current one.
555555
required bool hasMore = 4; // If TRUE then the number of records by filter is larger than chunkSize, the response contains the number of records that is equal to chunkSize.
556556
}
557557

OpenApiModelMessages.proto

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,15 @@ message ProtoOASymbol {
132132
optional ProtoOADayOfWeek rolloverCommission3Days = 28 [default = MONDAY]; // Day of the week (in UTC) when Administrative Fee charge amount will be tripled. Applied only if RolloverChargePeriod = 0 or 1
133133
optional ProtoOASwapCalculationType swapCalculationType = 29 [default = PIPS]; // Specifies type of SWAP computation as PIPS (0) or PERCENTAGE (1, annual, in percent)
134134
optional int64 lotSize = 30; // Lot size of the Symbol (in cents).
135-
optional int64 preciseTradingCommissionRate = 31; // Commission base amount. Total commission depends on commissionType: for non-percentage types it is multiplied by 10^8.
135+
optional int64 preciseTradingCommissionRate = 31; // Commission base amount. Total commission depends on commissionType: for non-percentage types it is multiplied by 10^8, for percentage of value commission type it is multiplied by 10^5
136136
optional int64 preciseMinCommission = 32; // Minimum commission amount per trade multiplied by 10^8.
137137
repeated ProtoOAHoliday holiday = 33; // List of holidays for this symbol specified by broker.
138138
optional int32 pnlConversionFeeRate = 34; // Percentage (1 = 0.01%) of the realized Gross Profit, which will be paid by the Trader for any trade if the Quote Asset of the traded Symbol is not matched with the Deposit Asset.
139139
optional int64 leverageId = 35; // The unique identifier of dynamic leverage entity. https://help.ctrader.com/ctrader/trading/dynamic-leverage
140140
optional int32 swapPeriod = 36; // Period of charging swaps in hours. 24 means swaps will be charged 1 time per day, 12 - every 12 hours, 8 - every 8 hours, etc.
141141
optional int32 swapTime = 37; // Time in minutes from 00:00 (UTC) when intraday swaps are charged for the first time.
142+
optional int32 skipSWAPPeriods = 38; // Count of swapPeriods before first SWAP charge.
143+
optional bool chargeSwapAtWeekends = 39; // If enabled SWAP will be charged for all days of week, including Saturday and Sunday.
142144
}
143145

144146
/** Lightweight symbol entity. */
@@ -187,7 +189,7 @@ message ProtoOAInterval {
187189
enum ProtoOACommissionType {
188190
USD_PER_MILLION_USD = 1; // USD per million USD volume - usually used for FX. Example: 50 USD for 1 mil USD of trading volume.
189191
USD_PER_LOT = 2; // USD per 1 lot - usually used for CFDs and futures for commodities, and indices. Example: 15 USD for 1 contract.
190-
PERCENTAGE_OF_VALUE = 3; // Percentage of trading volume - usually used for Equities. Example: 0.005% of notional trading volume. Multiplied by 100,00.
192+
PERCENTAGE_OF_VALUE = 3; // Percentage of trading volume - usually used for Equities. Example: 0.005% of notional trading volume. Multiplied by 100,000.
191193
QUOTE_CCY_PER_LOT = 4; // Quote ccy of Symbol per 1 lot - will be used for CFDs and futures for commodities, and indices. Example: 15 EUR for 1 contract of DAX.
192194
}
193195

0 commit comments

Comments
 (0)