2129 Commits
Author SHA1 Message Date
mika@stocksharp.com 3b3dee3427 The chart panel element names its collections in the interface's language
A property grid of the element showed "Candles", "Indicators", "Orders", "Trades" and a "Chart axes" group whatever the
language, and the axes' collections were keyed by their translated names. The collections are named from the
localized strings now, the axes' group by the new ChartAxes string in every language, and the axes are keyed as
XAxis and YAxis.
2026-10-23 12:27:46 +03:00
mika@stocksharp.com 87f72eb6e1 Localize public core enum captions with Display resources 2026-10-22 17:58:49 +03:00
mika@stocksharp.com 1adfd08266 Localization: the Avalonia Shell's strings follow its strategies and backtests
Two messages for the log when a strategy is reopened, worded as the one
about a risk rule left out:
- a saved working time that cannot be read is left out;
- saved emulator settings that cannot be read give way to the defaults.

Strings nothing shows any more are dropped:
- the caption of the minutes-only time frame: a strategy's series is
  candles of any type, edited with the shared candle type editor;
- the captions, descriptions and the negative latency message of the
  fill on touch, trading state check and latency fields: a backtest's
  emulator settings are StockSharp's own MarketEmulatorSettings.
2026-10-20 10:57:36 +03:00
mika@stocksharp.com edcc03f2ab Localization: drop the Shell log counters nothing shows any more
ShellErrorCount, ShellWarningCount, ShellLogCount and ShellNoLogEntries were
the badges and the status line of the S#.Shell's own log workspace. The Shell
now shows its log in the shared log monitor and counts trouble on the shared
status strip, so the four strings go from the base file and every language.
2026-10-19 00:30:57 +03:00
mika@stocksharp.com 27a8fe691e Localization: three strings of the cloud send
The Designer sends a test to the cloud as its WPF head does and says three things the WPF head says
in English only: that a cloud test cannot be longer than the plan allows, with the pricing page
offered; that a task is being sent to the server, in the task's own log; and that a task could not
be started, on the task's row. Each is in every language of the core.
2026-10-15 23:02:33 +03:00
mika@stocksharp.com 928292579e Localization: the Shell's messages and the captions of a chart label
Thirty-six texts the Avalonia Shell showed in English whatever the
language: the validation of a strategy's parameters, the reasons a
strategy cannot be built or optimized, the names of the built-in
strategies, the description of its drawdown rule, the failures of a
Designer import, and the lines that tell a reader about saved state
that could not be read.

Two captions for the label a line drawn on a chart carries: whether it
is shown and where it stands - on the axis, on the line, beside it.
There were none for these two settings of the line, ShowLabel and
LabelPlacement, so a window that offers them could only show the raw
property names.

All of them are added to the base strings and translated into all 38
languages; the chart captions use the word each language already has
for a label on a chart axis.
2026-10-12 11:42:06 +03:00
mika@stocksharp.com aff05ebfe1 Add and correct the strings of Hydra and the grids in every language
- Walking a storage told the reader "Drive ... scanning." and "Security ...
  saved." in English whatever language was chosen, and an empty Hydra window
  had nothing to say about how to start. DriveScanning and SecuritySaved are
  added for the walk's log and HydraOpenHint for the empty window, each in the
  words its own file already uses for storage, instrument and task.
- AddTools names what Hydra's tools window and its welcome button add - the
  export, import and converter tools of its Tools group - and every language
  called them tasks, next to "Add sources" on the same screen. Each language
  now uses the word it already has for that group.
- A grid's menu has an entry that copies the selected rows together with the
  column headers; it had no caption of its own and borrowed the one of the
  export to the clipboard as CSV. CopyWithHeaders ("Copy with headers") is
  added.
- A task that knows only the time it loaded data up to had to report it as a
  range from that time to itself. LoadedNOfTill and SecLoadedNOfTill name the
  one time instead.

Every key is in English and in every language the resources carry.
2026-10-05 01:25:39 +03:00
mika@stocksharp.com 708df9d260 Add walk-forward optimization, a market profile, three statistics and candle spread options
- WalkForwardOptimizer cuts a range into windows that step forward by the
  out-of-sample length, searches the parameters on each in-sample stretch
  with a brute-force optimizer, and runs the best setting on the stretch
  right after it. Ties are broken by parameter values, so the same
  history always chooses the same setting.
- MarketProfiler measures what a candle history contains: coverage,
  movement and volatility, autocorrelation and variance ratios, what
  followed breakouts, breakdowns and stretched closes, and how the
  active session is shaped. Parts of the day are an enum and thin
  samples are reported as flags, so nothing in it needs translating.
- New statistics: time in market, average holding time and the share of
  the net result made by the largest trade, registered with the others.
- MarketEmulatorSettings.IsSpreadCentered splits the spread around a
  print that names no side, such as the prices a candle is replayed as,
  so a buy and a sell pay the same half. Off by default; then the whole
  spread is still placed below the print. SpreadSize may now be zero,
  quoting both sides at the print, for runs that charge the spread
  another way.

New resource keys are translated into every language.
2026-10-04 11:28:25 +03:00
mika@stocksharp.com 7810d0a2e8 Add the strings the applications were showing in English, or not showing at all
A hundred and eighteen captions, labels, parameter names and log counters reached the screen as
literals written into the shell's and Hydra's code, so they stayed in English whatever language the
reader had chosen. They are keys now, in English and in every language the resources carry.

Two more that were asked for and were not here. A grid editor labels its column picker with a
resource called Column and there was no such resource; a localize markup extension resolves when the
window is drawn, so nothing said anything at build time and the label simply came up empty. And the
Russian documentation address was the old domain, which is a redirect now.

Each language was translated against the terminology its own file already uses, so "strategy",
"portfolio", "candle" and the rest keep the word this product has always used there, and every
substitution hole is carried through unchanged. scripts/validate-localization-strings.ps1 and
LocalizationTests.Languages_KeepEnglishKeysAndSubstitutionHoles both pass.
2026-09-30 23:47:42 +03:00
mika@stocksharp.com e3a115b7b1 Let a language be read while another is being registered
The language registry kept a dictionary of codes to indices beside a list of
translations, and mutated both without synchronisation while every localized
string in the product read them. Removing a language renumbered the rest, so a
reader could take an index under one numbering and read the list under another -
not a torn read but a wrong answer, one language's text returned under another's
code, and an index out of range when the list had shrunk.

A language is now addressed by its code rather than by a position, so there is
nothing left to renumber. Writers build the next map and publish it with a
single assignment under a lock, never touching a map that has been published;
a reader takes one snapshot and reads it to the end, so resolving the active
language and translating against it can no longer disagree. Lookups stay free of
locks and of interlocked operations, which matters on a path every string takes.

The generated properties had the same defect one floor up: each cached its text
in a field that ResetCache set back to null, so a reader that began before a
language changed could write its stale word into the cache afterwards and leave
it there for good. The cache is now an object that is replaced whole, published
after the registry, so a reader that sees the new cache sees the new registry
too.

Four tests were leaving process-wide registrations behind them for whatever ran
next, and two of those ran in the parallel phase.
2026-09-19 14:00:02 +03:00
mika@stocksharp.com d9f1eb3949 Stabilize configuration alerts and generated resources 2026-09-13 18:03:23 +03:00
mika@stocksharp.com 3e0a429c24 Apply the reviewed translations to all thirty-nine localization files
The work that predates the test-coverage review, restored here as one commit.

A pass over the wording itself, not over which keys exist: every language file carries the same keys
as before and the same number of lines. What changed is the term chosen for a concept, applied the
same way everywhere it appears - a sequence number is an index, a filter is named after the method
rather than described, a field keeps the noun the venue's own documentation uses.

The English source strings changed with them, so a reader of the source and a reader of a translation
are told the same thing.

Claude-Session: https://claude.ai/code/session_01LjT4RKLsz3vBd8eSERZTde
2026-09-12 11:36:20 +03:00
mika@stocksharp.com ec81177b70 Localize Avalonia control labels in all languages 2026-08-31 22:53:23 +03:00
mika@stocksharp.com aae52f130c Add the resources the Avalonia heads were missing
Twenty-two strings the cross-platform heads show had no entry in the catalog, so
they stayed English whatever language the reader picked.

The toolbar hints name actions no resource spelled: applying pending code
changes, importing a strategy, creating a backtest or a live run, starting and
stopping every Hydra task at once, and what validating a diagram does.

The instrument, position and reset dialogs the terminal builds in code name
their own: creating an index or a continuous instrument, editing a position, the
documents dock group, the expiration-jump heading, the two syntax hints for jumps
and legs, and the security filter prompt. The reset warning takes the settings
file as {0} rather than naming it inside the sentence, so no translation carries
a file name.

The status line reports in its own words too: a chart layout that could not be
restored, a saved or reset dock layout, a created security, an updated position,
settings waiting for a connection, and the refusal to edit a position before one
is picked.

Translated into all 38 languages beside the English master.
2026-08-29 20:24:43 +03:00
mika@stocksharp.com 65a2f1b2eb Complete the Avalonia public samples and the captions the heads need
Finish the sample migration: the tree now carries all 28 public UI heads with
their _fromsrc twins, the shared connector coordinator they were missing, and a
contract suite that runs 72 passed, 0 failed. PublicSampleInventoryTests is the
parity gate - every head must stay present when a public WPF sample is added,
renamed or removed.

Add the 57 captions the Avalonia heads spelled in markup because no resource
said them: the Terminal, Hydra and Designer menus, and the panel labels beneath
them - drive and fields, spread chart, order-log builder, new index and
continuous securities, the analytics source actions, candle build and
timeframes, exchanges, permissions, rollover date, security selection, solution
explorer and the rest. Each one is translated into all 38 languages beside the
English master.

Two captions needed their own names rather than the obvious ones: Suspend
already meant enqueue non ordered, and TaskSettings already held a format
string.
2026-08-28 18:16:38 +03:00
mika@stocksharp.com f195b2b0ea Add the strings the Avalonia panels ask for
The property-grid toolbar takes its captions from resources instead of the
English literals it carried, and the chart context menu gains a command that
removes the pane it was opened on. Both need strings that did not exist.

Translated into every supported language.
2026-08-20 20:00:58 +03:00
mika@stocksharp.com 38d3030cc1 Give a commission rule a floor
A tariff quoted as a percentage usually comes with a minimum: a trade too small to
reach it still carries a charge. No rule could express that, so anyone who needed one
computed the commission themselves and stopped using the rules at all - which is how
a second description of the same tariff gets written.

The floor belongs to every rule rather than a new rule of its own, so Process is now
the base class applying it to whatever the rule worked out. Each rule says what it
charges through OnProcess and no longer decides what to do about a minimum.

It bounds a charge without inventing one. A rule that found nothing to charge for
still returns nothing, and a rebate - a negative value - is left alone unless a floor
was actually set.
2026-08-15 19:57:48 +03:00
mika@stocksharp.com af74f1eab9 Move the shared MSBuild props into props/
Twelve common_*.props files sat in the repository root, mixed in with the
solutions and the READMEs. They are build configuration and now live in props/,
and every import that reaches them carries the folder: 59 imports across this
repository, Connectors and StockSharpApps, the F# analytics project included.

common_meta.props derived the repository location from its own directory, so it
now normalizes one level up. RepoGitHubPath and everything built on it -
RepoAppsPath, RepoWebPath, ConnectorsGitHubPath, ConnectorsAppsPath - evaluate
to exactly the paths they did before.

The folder is props/ and not build/, which .gitignore excludes.
2026-08-14 20:34:04 +03:00
mika@stocksharp.com 2b0963386a Localize StockSharp links on the canonical domain 2026-08-09 15:02:19 +03:00
mika@stocksharp.com 15cc38a9c0 Add the column header menu strings
The Avalonia grid grows a column header menu whose entries have no string yet:
sort ascending/descending, clear sorting, ungroup, the group panel toggle, clear
filter, best fit for one column and for all of them, freeze left/right, unfreeze,
and print. Every other entry in that menu reuses a string that already exists.

Translated into all 38 shipped languages, following the wording each catalogue
already uses for the neighbouring terms - the ungroup entry matches the second
half of that language's existing Group/Ungroup label.
2026-08-04 22:32:21 +03:00
mika@stocksharp.com dbf6d614db Drop ProjectGuid from the SDK-style projects
A leftover of the old project format: seven projects still carried a
ProjectGuid, and nothing reads it. The solutions are the XML format and name
their projects by path, so the identifiers were not referenced anywhere - and
the SDK does not need one. Where the element was the only thing in its
PropertyGroup the empty group goes with it.
2026-08-03 18:11:24 +03:00
mika@stocksharp.com df7ce87f9a Batch database export in larger packages and let the export tests run in parallel
DatabaseExporter wrapped every 50 rows in its own transaction, although the target
table already splits a package into statements that fit the provider's parameter
limit - so the small default bought nothing and multiplied durable commits and
network round trips. The default is raised to 10000, the property documents why, and
the localized description is updated in all 39 languages.

ExportTests was serialized by DoNotParallelize because its tests shared one fixed
table prefix and each dropped and recreated the same tables. Table names are now
unique per test, so the attribute is gone and the twelve export legs overlap.
2026-08-01 04:44:44 +03:00
mika@stocksharp.com f264e2c2cf Apply translation audit fixes 2026-07-30 01:36:38 +03:00
mika@stocksharp.com b201313827 Remove obsolete Intrinio SDK configuration 2026-07-29 16:03:33 +03:00
mika@stocksharp.com 18b8fdd919 Update connector metadata, versions, and references 2026-07-29 14:14:05 +03:00
mika@stocksharp.com a422478bc8 Localize connector display metadata 2026-07-27 20:22:08 +03:00
mika@stocksharp.com 7215cf8b26 Add B3 UP2DATA connector metadata 2026-07-27 18:16:39 +03:00
mika@stocksharp.com 7466ea4cba Add Bavest connector metadata 2026-07-27 17:48:17 +03:00
mika@stocksharp.com 22da88ffc2 Add Marketaux connector metadata 2026-07-27 17:30:22 +03:00
mika@stocksharp.com 9f39cd1137 Add Unusual Whales connector metadata 2026-07-27 17:10:13 +03:00
mika@stocksharp.com 0574591976 Add Quiver Quantitative connector metadata 2026-07-27 16:53:30 +03:00
mika@stocksharp.com 410233c773 Add GuruFocus connector metadata 2026-07-27 16:33:45 +03:00
mika@stocksharp.com 2616b7c4c7 Add SEC-API.io connector metadata 2026-07-27 16:18:47 +03:00
mika@stocksharp.com c3e4c91bf9 Add Trading Economics connector metadata 2026-07-27 16:03:55 +03:00
mika@stocksharp.com 3f48fa55b1 Add Financial Datasets connector metadata 2026-07-27 15:49:56 +03:00
mika@stocksharp.com 5ba00a5338 Add StockData.org connector metadata 2026-07-27 15:32:55 +03:00
mika@stocksharp.com b632c7af4e Add GLEIF connector metadata 2026-07-27 15:28:10 +03:00
mika@stocksharp.com 00375e1047 Add Euronext Web Services connector metadata 2026-07-27 15:20:20 +03:00
mika@stocksharp.com 6e0131f202 Add filings.xbrl.org connector metadata 2026-07-27 15:09:10 +03:00
mika@stocksharp.com 0f50f4726a Add ESMA FIRDS connector metadata 2026-07-27 14:59:27 +03:00
mika@stocksharp.com 79276192f3 Add TASE Data Hub connector metadata 2026-07-27 14:42:48 +03:00
mika@stocksharp.com 6fa103a7e2 Add SET Market Data connector metadata 2026-07-27 14:13:48 +03:00
mika@stocksharp.com fe7c6d32ef Add JPX TDnet connector metadata 2026-07-27 13:58:25 +03:00
mika@stocksharp.com 8039fb85bb Add EDINET connector metadata 2026-07-27 13:33:57 +03:00
mika@stocksharp.com 288d3d4020 Add TPEx connector metadata 2026-07-27 13:14:54 +03:00
mika@stocksharp.com 68790d3b41 Add TWSE connector metadata 2026-07-27 12:52:21 +03:00
mika@stocksharp.com ba095464e6 Add Korean FSC connector metadata 2026-07-27 12:35:05 +03:00
mika@stocksharp.com c5e016c471 Add Open DART connector metadata 2026-07-27 12:18:50 +03:00
mika@stocksharp.com 96d5221fa4 Add KRX Open API connector metadata 2026-07-27 11:55:33 +03:00
mika@stocksharp.com d77bd258af Add FINRA connector metadata 2026-07-27 11:32:39 +03:00