Developers
FinCopy API
Pair lists and pair views include read-only AIBotMode: OFF (Off), WATCH (Watch: AIBot records what it would do and sends nothing), EXITS (Exits only), or FULL (Full auto), using FinCopy's FxsAIBotPairMode string keys. The /v1 API cannot change this field.
Use the same trading API as the FinCopy member area from your own scripts and bots. Version 1 covers accounts, settings, pairs, orders, history, trading, performance, activity and terminal operations. Account paths use ACNO, allocated when an account is added; storage ids never appear in public routes.
Base URLhttps://api.fincopy.io
Authentication
Create a key in the member area under API, or send requests with your signed-in member session cookie. API keys use the X-Api-Key header. Keys are masked in the list and can be copied again there; copying a Read and trade key asks for the trade PIN. Older hash-only keys must be revoked and recreated before they can be copied.
A Read key can list and view accounts. A Read and trade key can also open and close trades, change settings, and start, stop or restart a terminal. Member-session trades pass the member's trade-PIN gate. A key or session reaches only the member's own accounts.
For a signed-in member app, give FinClient the same session-authenticated HttpClient or fetch used by the app and omit the API key. The browser sends its member cookie with the request.
curl https://api.fincopy.io/v1/fxs/accounts \
-H "X-Api-Key: fck_1a2b3c4d_your-secret"
How trades complete
Your terminal runs on FinCopy's servers and checks in every few seconds. A trade request is queued for it, so a successful reply means queued, not filled. Read the account again a few seconds later: the order shows as filled with its broker ticket, or as rejected with the reason. A request your terminal does not pick up within its time window is rejected rather than kept waiting.
BUY and SELL are independent sides of a symbol: you can hold both, and closing one side leaves the other open. Use the symbol exactly as your broker names it (for example EURUSD or EURUSDm).
Send an Idempotency-Key header with every trade, account add, start, stop, restart and remove. A retry with the same key returns the first result instead of doing it twice.
FinClient SDK
FinClient is the official client for this API, for .NET and TypeScript. It covers every endpoint on this page, adds an idempotency key to every write, retries a busy service (429, 502, 503, 504) when it is told to wait 60 seconds or less, reads lists a page at a time, and keeps the API's PascalCase field names. Both languages share one version number, so a change lands in both at once.
| Language | Install | Runs on |
| .NET | dotnet add package FinClient | .NET Standard 2.0 and .NET 8 or newer |
| TypeScript | npm install @bizjaya/finclient | Node.js on a server; ES modules and CommonJS |
.NET
using Fin;
using Fin.Copy;
using var fin = new FinClient(new FinClientOptions { ApiKey = Environment.GetEnvironmentVariable("FINCOPY_API_KEY")! });
var accounts = await fin.Copy.Accounts.ListAsync();
foreach (var account in accounts.Items)
Console.WriteLine(account.State?.ACNO);
// A trade names its action and side; the account number is in the path.
// await fin.Copy.Orders.MakeAsync(52014125, new CmdApiFxsOrdrMake
// {
// SYM = "EURUSD", ACT = FxsOrderAction.NEW, OTY = FxsOrderType.OP_BUY, LOT = 0.01,
// });
// Read what changed, a page at a time; save the cursor after each page so a restart resumes there.
string? cursor = null;
await foreach (var page in fin.Copy.Changes.ReadPagesAsync(cursor))
{
foreach (var change in page.Changes ?? []) Console.WriteLine($"{change.Entity} {change.OID} {change.Status}");
cursor = page.Cursor;
}
TypeScript
import { FinClient } from "@bizjaya/finclient";
const fin = new FinClient({ apiKey: process.env.FINCOPY_API_KEY! });
const accounts = await fin.copy.accounts.list();
for (const account of accounts.items) console.log(account.State?.ACNO);
// A trade names its action and side; the account number is in the path.
// await fin.copy.orders.make(52014125, { SYM: "EURUSD", ACT: "NEW", OTY: "OP_BUY", LOT: 0.01 });
// Read what changed, a page at a time; save the cursor after each page so a restart resumes there.
let cursor: string | undefined;
for await (const page of fin.copy.changes.readPages(cursor)) {
for (const change of page.Changes ?? []) console.log(change.Entity, change.OID, change.Status);
cursor = page.Cursor ?? cursor;
}
Signed-in member apps
Give FinClient your app's own session-authenticated HttpClient (.NET) or fetch (TypeScript) and leave the API key out: the request then carries the signed-in member's session cookie, as FinCopy's own member area does. Keep API keys on servers only.
Checking webhook signatures
Both languages check a webhook POST for you: the HMAC-SHA256 signature over the timestamp and the exact body, and a timestamp no more than five minutes away.
// .NET (namespace Fin)
bool genuine = FinWebhook.Verify(secret, timestampHeader, rawBody, signatureHeader);
// TypeScript (its own entry, because it uses Node.js's crypto module)
import { FinWebhook } from "@bizjaya/finclient/webhook";
const genuine = FinWebhook.verify(secret, timestampHeader, rawBody, signatureHeader);
Versions
FinClient is at 0.x while the API settles: a version that changes how you call it says so under BREAKING in the changelog, with a migration note. Read the changelog before upgrading. API keys are secrets: load them from your own secret store or environment, and never commit them to source control.
Change feed and webhooks
Call /v1/changes once without a cursor: it returns a cursor at "now". Read your accounts, then call the feed with that cursor. Each row names what changed (an account, its terminal, a symbol, an order, or a settled order) with its ids, oldest first. Keep the returned cursor and call again while More is true.
Or set a webhook with PUT /v1/webhook: FinCopy then POSTs the same rows to your HTTPS address and signs each POST. Check X-FinCopy-Signature, which is sha256= followed by the lowercase hex HMAC-SHA256 of X-FinCopy-Timestamp + "." + body keyed with the secret you were given, and refuse a timestamp older than five minutes.
Errors and limits
Every reply uses the same envelope: data, code, isOk, and a message when something went wrong.
| Code | Meaning |
| 200 | Done (for a trade: queued). |
| 400 | The request was not valid; message says what to change. |
| 401 | No valid API key or signed-in member session was supplied. |
| 403 | The key lacks Trade permission, or a member-session trade did not pass the trade-PIN gate. |
| 404 | The account does not exist, or it is not the caller's. |
| 429 | The key or member session reached its rate limit. Honor Retry-After before retrying. |
Endpoints · 8
Accounts
List, add, view and remove your hosted MT4 and MT5 accounts, start a free demo, and search broker servers.
GET/v1/fxs/accounts
Read key
List the key owner's accounts, each with its terminal, broker server and latest state.
Path
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
externalRef | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoMemberAccountResPaged, inside the usual envelope.
POST/v1/fxs/accounts
Read and trade key
Add a hosted account for the key's owner. It waits for approval and a hosted instance, as on the member screens.
Send an Idempotency-Key: a retry with the same key returns the account the first call made or reconnected. ExternalRef is your own id
for the account. Needs the Trade permission.
Path
Body CmdMemberAccountMake
Platform | string | |
BrokerServerId | string | |
ServerName | string | |
AccessPoint | string | |
Login | string | |
BrokerPassword | string | |
SeatId | string | |
ExternalRef | string | |
RequestId | string | The API's Idempotency-Key, set by the /v1 make route only. |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Platform": "", "BrokerServerId": "", "ServerName": "", "AccessPoint": "", "Login": "", "BrokerPassword": "", "SeatId": "", "ExternalRef": "", "RequestId": ""}'
Replies with data holding DtoFleetAccount, inside the usual envelope.
POST/v1/fxs/accounts/demo
Read key
Create a demo account.
Body CmdMemberDemoMake
Platform | string | |
BrokerServerId | string | |
Login | string | |
BrokerPassword | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/demo \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Platform": "", "BrokerServerId": "", "Login": "", "BrokerPassword": ""}'
Replies with data holding DtoFleetAccount, inside the usual envelope.
GET/v1/fxs/accounts/demo-availability
Read key
Places available for a demo terminal on the selected platform.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/demo-availability \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoDemoAvailability, inside the usual envelope.
GET/v1/brokers
Read key
Searches broker servers available when adding a hosted account.
Path
query | string | |
platform | string | |
demosOnly | boolean | |
Example
curl -X GET https://api.fincopy.io/v1/brokers \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding a list of DtoBrokerServerSearch, inside the usual envelope.
GET/v1/fxs/accounts/{acno}
Read key
One account: terminal status, balance, equity, margin, open positions, pending orders and recent orders.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoMemberAccount, inside the usual envelope.
DELETE/v1/fxs/accounts/{acno}
Read and trade key
Disconnect the hosted terminal from this account. The terminal is stopped and removed, its broker password is
forgotten, and its seat is freed. A customer account, its settings and trade history remain so the login can be restored later;
a free demo's account and terminal records are deleted.
Open orders stay at the broker; virtual TP, SL and TS stop working while no terminal runs. The Idempotency-Key header is
required; a retry with the same key returns the same operation id. Needs
the Trade permission. A signed-in member session also needs its trading PIN when the account requires one.
Path
acno | integer | |
Idempotency-Key | string | |
Body CmdMemTerminalDisconnect
TrPin | string | |
RequestId | string | |
Example
curl -X DELETE https://api.fincopy.io/v1/fxs/accounts/ACNO \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"TrPin": "", "RequestId": ""}'
Replies with data holding DtoOperationQueued, inside the usual envelope.
PUT/v1/fxs/accounts/{acno}/external-ref
Read and trade key
Set your own id for the account (for example your portfolio number); an empty value clears it. Works before the
account is added. It comes back on the account and on every change-feed row. Needs the Trade permission.
Path
Body CmdTermAccountExternalRef
Example
curl -X PUT https://api.fincopy.io/v1/fxs/accounts/ACNO/external-ref \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ExternalRef": ""}'
Replies with data holding DtoTermAccount, inside the usual envelope.
Endpoints · 6
Terminal
Start, stop and restart an account's hosted terminal, change its broker password, and read its operations.
GET/v1/fxs/operations
Read key
The newest terminal operations (start, stop, restart, set-up, removal) across the caller's accounts, newest
first.
Path
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
acno | integer (int64) | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/operations \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoApiTermOperationResPaged, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/password
Read key
Change the broker password and queue the terminal operation.
Path
Body CmdTermAccountPassword
BrokerPassword | string | |
BrokerServerId | string | |
Login | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/password \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"BrokerPassword": "", "BrokerServerId": "", "Login": ""}'
Replies with data holding DtoOperationQueued, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/operations
Read key
Recent terminal operations for this account.
Path
acno | integer | |
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/operations \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoApiTermOperationResPaged, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/restart
Read and trade key
Restart the account's hosted terminal (a terminal never set up is started). The Idempotency-Key header is
required. Needs the Trade permission. Returns the operation id.
Path
acno | integer | |
Idempotency-Key | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/restart \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoOperationQueued, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/start
Read and trade key
Start the account's hosted terminal. The Idempotency-Key header is required. Needs the Trade permission.
Returns the operation id.
Path
acno | integer | |
Idempotency-Key | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/start \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoOperationQueued, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/stop
Read and trade key
Stop the account's hosted terminal. The Idempotency-Key header is required. Needs the Trade permission.
Returns the operation id.
Path
acno | integer | |
Idempotency-Key | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/stop \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoOperationQueued, inside the usual envelope.
Endpoints · 5
Settings and symbols
An account's trading settings, the symbols enabled on it, and a symbol's specification and quote.
GET/v1/fxs/accounts/{acno}/settings
Read key
The account's trading record: its settings (ACCSTG, the symbol template SYMSTG), mode and money. Exists from the
account is added; until its first sync, live account data is empty.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/settings \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsAcct, inside the usual envelope.
PATCH/v1/fxs/accounts/{acno}/settings
Read and trade key
Change the account's settings, as the member screens do, its three signal sets included; every change is written
to the account log. Needs the Trade permission. A member session that sends a signal set (SigCold, SigWarm or SigHot) gives
its Trading PIN in TrPin, as the member's own AIBot settings do; an API key does not.
Path
Body CmdApiFxsAcctPatch
Enabled | boolean | |
ISNO | integer (int32) | |
SigMode | TMode | |
DCACooloffMins | integer (int32) | |
AccStg | DtoEAAccStg | |
SymbolDefaults | DtoFxsStgSymStg | |
CascadeSymbolDefaults | boolean | |
SigCold | SigMins | |
SigWarm | SigMins | |
SigHot | SigMins | |
TrPin | string | |
Values | DtoAIBotValues | |
Example
curl -X PATCH https://api.fincopy.io/v1/fxs/accounts/ACNO/settings \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Enabled": "", "ISNO": 0, "SigMode": "", "DCACooloffMins": 0, "AccStg": "", "SymbolDefaults": "", "CascadeSymbolDefaults": "", "SigCold": "", "SigWarm": "", "SigHot": "", "TrPin": "", "Values": ""}'
Replies with data holding DtoFxsAcct, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/symbols
Read key
The broker's symbols for this account and which are enabled.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/symbols \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsSymbolCatalog, inside the usual envelope.
PUT/v1/fxs/accounts/{acno}/symbols
Read and trade key
Add and/or remove symbols from the account's enabled list (at most 64, using broker names). The server
applies the changes to its current list, so a stale picker cannot replace a concurrent change. Needs Trade permission.
Path
Body CmdFxsSymbolsEdit
Add | string[] | |
Remove | string[] | |
Example
curl -X PUT https://api.fincopy.io/v1/fxs/accounts/ACNO/symbols \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Add": "", "Remove": ""}'
Replies with data holding DtoFxsAccountState, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/quotes/{symbol}
Read key
One symbol's specification and latest quote.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/quotes/EURUSD \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsSymbolSpec, inside the usual envelope.
Endpoints · 6
Pairs
Each symbol's BUY and SELL books with their settings, on one account or across all of them.
GET/v1/fxs/pairs
Read key
Lists the pairs across the caller's accounts.
Path
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
acno | integer (int64) | |
demo | boolean | |
platform | FxsPlatform | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/pairs \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsPairResPaged, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/pairs
Read key
The account's symbols (pairs), each with its BUY and SELL books and settings.
Path
acno | integer | |
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/pairs \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsPairResPaged, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/pairs/{prno}
Read key
One symbol (pair) of the account.
Path
acno | integer | |
prno | integer (int64) | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/pairs/PRNO \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsPair, inside the usual envelope.
PATCH/v1/fxs/accounts/{acno}/pairs/{prno}
Read key
Change one symbol's settings (SYMSTG, the DCA gates, ExternalRef), as the member screens do. Needs the Trade
permission.
Path
acno | integer | |
prno | integer (int64) | |
Body CmdApiFxsPairPatch
Enabled | boolean | |
EnDcaGateBuy | boolean | |
EnDcaGateSell | boolean | |
SymbolSettings | DtoEASymStg | |
TrPin | string | |
ExternalRef | string | |
Values | DtoAIBotValues | |
Example
curl -X PATCH https://api.fincopy.io/v1/fxs/accounts/ACNO/pairs/PRNO \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Enabled": "", "EnDcaGateBuy": "", "EnDcaGateSell": "", "SymbolSettings": "", "TrPin": "", "ExternalRef": "", "Values": ""}'
Replies with data holding DtoFxsPair, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/pairs/instrument-suggestions/{symbol}
Read key
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/pairs/instrument-suggestions/EURUSD \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoPairInstrumentSuggestions, inside the usual envelope.
PUT/v1/fxs/accounts/{acno}/pairs/instrument-confirm
Read key
Path
Body CmdFxsPairInstrumentConfirm
ACNO | integer (int64) | |
BrokerSymbol | string | |
InstrumentName | string | |
NoMatch | boolean | |
PreviewOnly | boolean | |
Example
curl -X PUT https://api.fincopy.io/v1/fxs/accounts/ACNO/pairs/instrument-confirm \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "BrokerSymbol": "", "InstrumentName": "", "NoMatch": "", "PreviewOnly": ""}'
Replies with data holding DtoFinInstrument, inside the usual envelope.
Endpoints · 9
Trading
Open, add to and close orders, hedge, change an order's exits, cancel, and answer Ask-First DCA proposals.
GET/v1/fxs/dca
Read key
Ask-First DCA proposals waiting for an answer, across the caller's accounts, newest first. For a signed-in member
session each row says whether the member's trading PIN must be entered to answer it.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/dca \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding a list of DtoFxsOrdr, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/trade/adopt
Read and trade key
Adopt open trades: every market position on the account that was opened outside FinCopy becomes FinCopy's own, keeping
its ticket, lot, price and open time. FinCopy enables each trade's pair within the plan's pair limit (oldest trade first); a pair
that does not fit is refused whole and listed with its tickets. The broker TP and SL a trade holds are kept until its side gets
an add or the symbol's TP or SL settings change. Send Preview true to see what would happen without writing anything. Send an
Idempotency-Key: a retry returns the first answer. Needs the Trade permission and an EA of 2.38 or later.
Path
Body CmdApiFxsAdopt
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/trade/adopt \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Preview": ""}'
Replies with data holding DtoApiFxsAdopt, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/dca
Read key
Ask-First DCA proposals waiting for an answer.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/dca \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding a list of DtoFxsOrdr, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/dca/{oid}
Read and trade key
Accept or reject an Ask-First DCA proposal. Needs the Trade permission.
Path
acno | integer | |
oid | integer (int64) | |
Body CmdFxsDcaAnswer
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/dca/OID \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Accept": "", "TrPin": ""}'
Replies with data holding DtoFxsOrdr, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/trade/modify
Read and trade key
Change an order's TP field, SL field, expiry, or a pending order's price. Needs the Trade permission.
Path
acno | integer | |
Idempotency-Key | string | |
Body CmdFxsModify
Ticket | integer (int64) | |
Price | number (double) | |
StopLossPrice | number (double) | |
TakeProfitPrice | number (double) | |
Expiry | string (date-time) | |
RequestId | string | |
ClearExpiry | boolean | |
TrPin | string | |
TrailPercent | number (double) | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/trade/modify \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Ticket": 123456789, "Price": 0, "StopLossPrice": 0, "TakeProfitPrice": 0, "Expiry": "", "RequestId": "", "ClearExpiry": "", "TrPin": "", "TrailPercent": 0}'
Replies with data holding DtoFxsAccountState, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/trade/cancel
Read and trade key
Cancel an order that has not yet been delivered to the terminal. Needs the Trade permission.
Path
Body CmdFxsCancelWaiting
Oid | integer (int64) | |
RequestId | string | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/trade/cancel \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Oid": 0, "RequestId": "", "TrPin": ""}'
Replies with data holding DtoFxsAccountState, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/trade/preinfo
Read key
The facts a trade ticket needs for one symbol: price, lot limits, the side's books and settings. For a signed-in
member session it also says whether the member's trading PIN must be entered (a key never needs one).
Path
Body CmdApiFxsPreInfo
PRNO | integer (int64) | |
SYM | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/trade/preinfo \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"PRNO": 0, "SYM": ""}'
Replies with data holding DtoFxsPreInfo, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/trade
Read and trade key
Make one FXS action (NEW, AVL, AVG, CLO, CLA, CLG, STP, CSL) on one side. The Idempotency-Key header is
required. Needs the Trade permission.
Path
acno | integer | |
Idempotency-Key | string | |
Body CmdApiFxsOrdrMake
SYM | string | |
ACT | FxsOrderAction | |
OTY | FxsOrderType | |
LOT | number (double) | |
PRC | number (double) | |
TID | integer (int64) | |
OID | integer (int64) | |
SLP | number (double) | |
SYMSTG | DtoEASymStg | |
Expiry | string (date-time) | |
ExitsByPrice | boolean | |
TP | number (double) | |
SL | number (double) | |
TrPin | string | |
RequestId | string | |
RouteId | string | |
ChannelId | string | |
AIBotAdviceId | string | |
AIBotAcceptedSettings | object | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/trade \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"SYM": "", "ACT": "", "OTY": "", "LOT": 0, "PRC": 0, "TID": 0, "OID": 0, "SLP": 0, "SYMSTG": "", "Expiry": "", "ExitsByPrice": "", "TP": 0, "SL": 0, "TrPin": "", "RequestId": "", "RouteId": "", "ChannelId": "", "AIBotAdviceId": "", "AIBotAcceptedSettings": ""}'
Replies with data holding DtoFxsAccountState, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/trade/hedge
Read and trade key
Open a BUY and a SELL on one symbol together. The Idempotency-Key header is required. Needs the Trade permission.
Path
acno | integer | |
Idempotency-Key | string | |
Body CmdApiFxsHedgeMake
SYM | string | |
BUY | CmdFxsHedgeLeg | |
SELL | CmdFxsHedgeLeg | |
TrPin | string | |
RequestId | string | |
RouteId | string | |
ChannelId | string | |
AIBotAdviceId | string | |
AIBotAcceptedSettings | object | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/trade/hedge \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"SYM": "", "BUY": "", "SELL": "", "TrPin": "", "RequestId": "", "RouteId": "", "ChannelId": "", "AIBotAdviceId": "", "AIBotAcceptedSettings": ""}'
Replies with data holding DtoFxsAccountState, inside the usual envelope.
Endpoints · 6
Orders and history
Live orders and settled history, on one account or across all of them.
GET/v1/fxs/orders
Read key
Lists open orders across the caller's accounts.
Path
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
acno | integer (int64) | |
prno | integer (int64) | |
demo | boolean | |
platform | FxsPlatform | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/orders \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsOrdrResPaged, inside the usual envelope.
GET/v1/fxs/history
Read key
Lists settled orders across the caller's accounts.
Path
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
acno | integer (int64) | |
prno | integer (int64) | |
demo | boolean | |
platform | FxsPlatform | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/history \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsOrdhResPaged, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/history
Read key
Settled orders (closed, cancelled, expired, refused), newest first.
Path
acno | integer | |
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/history \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsOrdhResPaged, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/history/{oid}
Read key
One settled order.
Path
acno | integer | |
oid | integer (int64) | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/history/OID \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsOrdh, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/orders
Read key
Live orders: queued, sent to the terminal, open positions and pending orders.
Path
acno | integer | |
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/orders \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsOrdrResPaged, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/orders/{oid}
Read key
One order: the live order, or, once it has settled, its history row (a DtoFxsOrdh).
Path
acno | integer | |
oid | integer (int64) | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/orders/OID \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsOrdr, inside the usual envelope.
GET/v1/fxs/activity
Read key
Lists activity across the caller's accounts, newest first.
Path
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
acno | integer (int64) | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/activity \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoMemberActivityResPaged, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/activity
Read key
The account's latest activity as the member screens show it (fills, closes, refusals, terminal events).
Path
acno | integer | |
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
search | string | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/activity \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoMemberActivityResPaged, inside the usual envelope.
Endpoints · 7
Strategies
Your strategies and FinCopy's presets: create, change and delete them, and preview or apply one to an account.
GET/v1/fxs/strategies
Read key
Lists the strategies the caller can apply: its own and FinCopy's presets.
Example
curl -X GET https://api.fincopy.io/v1/fxs/strategies \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding a list of DtoFxsStg, inside the usual envelope.
POST/v1/fxs/strategies
Read and trade key
Creates one of the caller's own strategies. Needs the Trade permission.
Body CmdFxsStgMake
StratName | string | |
RiskLev | FxsRiskLev | |
En | boolean | |
EnAvg | boolean | |
Virtual | boolean | |
SigMode | TMode | |
DCACooloffMins | DecRng | |
ACCSTG | DtoFxsStgAccStg | |
SYMSTG | DtoFxsStgSymRng | |
AIBot | CmdFxsStgAIBot | |
CopyFrom | integer (int32) | |
SigCold | SigMinsRng | |
SigWarm | SigMinsRng | |
SigHot | SigMinsRng | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/strategies \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"StratName": "", "RiskLev": "", "En": "", "EnAvg": "", "Virtual": "", "SigMode": "", "DCACooloffMins": "", "ACCSTG": "", "SYMSTG": "", "AIBot": "", "CopyFrom": 0, "SigCold": "", "SigWarm": "", "SigHot": "", "TrPin": ""}'
Replies with data holding DtoFxsStg, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/strategy/preview
Read and trade key
What applying a strategy to this account would change, per symbol, without changing anything. The strategy is
one of your own or a FinCopy preset (list them with the strategies route). EA settings only: a strategy's AIBot settings
never travel through this API. Needs the Trade permission on the account.
Path
Body CmdApiFxsStgApply
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/strategy/preview \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ISNO": 0}'
Replies with data holding DtoFxsStgCascadePreview, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/strategy/apply
Read and trade key
Apply a strategy (one of your own or a FinCopy preset) to this account: the account and its symbols take the strategy's settings, and a
side that holds orders keeps what it must keep. The reply counts what changed and what was held. A strategy's AIBot
settings never travel this way: AIBot is managed in FinCopy. Needs the Trade permission on the account.
Path
Body CmdApiFxsStgApply
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/strategy/apply \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ISNO": 0}'
Replies with data holding DtoFxsStgCascadeApplyResult, inside the usual envelope.
GET/v1/fxs/strategies/{isno}
Read key
Reads one strategy by its strategy number.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/strategies/ISNO \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFxsStg, inside the usual envelope.
PATCH/v1/fxs/strategies/{isno}
Read and trade key
Changes one of the caller's own strategies; omitted fields keep their values. FinCopy's presets cannot be
changed. Needs the Trade permission.
Path
Body CmdFxsStgPatch
StratName | string | |
RiskLev | FxsRiskLev | |
En | boolean | |
EnAvg | boolean | |
Virtual | boolean | |
SigMode | TMode | |
DCACooloffMins | DecRng | |
ACCSTG | DtoFxsStgAccStg | |
SYMSTG | DtoFxsStgSymRng | |
AIBot | CmdFxsStgAIBot | |
SigCold | SigMinsRng | |
SigWarm | SigMinsRng | |
SigHot | SigMinsRng | |
Clear | string[] | |
TrPin | string | |
Example
curl -X PATCH https://api.fincopy.io/v1/fxs/strategies/ISNO \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"StratName": "", "RiskLev": "", "En": "", "EnAvg": "", "Virtual": "", "SigMode": "", "DCACooloffMins": "", "ACCSTG": "", "SYMSTG": "", "AIBot": "", "SigCold": "", "SigWarm": "", "SigHot": "", "Clear": "", "TrPin": ""}'
Replies with data holding DtoFxsStg, inside the usual envelope.
DELETE/v1/fxs/strategies/{isno}
Read and trade key
Deletes one of the caller's own strategies. FinCopy's presets cannot be deleted. Needs the Trade permission.
Path
Example
curl -X DELETE https://api.fincopy.io/v1/fxs/strategies/ISNO \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding Boolean, inside the usual envelope.
Endpoints · 2
Signals and alerts
The signals shown for your enabled symbols, and warnings and errors on your accounts.
GET/v1/fxs/signals
Read key
Reads the signals shown for the enabled symbols across the caller's accounts.
Example
curl -X GET https://api.fincopy.io/v1/fxs/signals \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoShelfSignals, inside the usual envelope.
GET/v1/fxs/alerts
Read key
Lists warning and error activity across the caller's accounts.
Path
PageNo | integer (int32) | |
PageSize | integer (int32) | |
Draw | integer (int64) | |
Sort | string | |
Srch | string | |
SortBy | string[][] | |
SrchBy | string[][] | |
Include | string[] | |
Example
curl -X GET https://api.fincopy.io/v1/fxs/alerts \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoMemberActivityResPaged, inside the usual envelope.
Endpoints · 6
Following changes
Follow what changes: the change feed, the event stream, and webhooks.
GET/v1/changes
Read key
What changed on the key owner's accounts, oldest first: Account (each sync and each settings change),
Terminal, Pair, Order (queued, picked up, filled, refused, a HYBRID proposal and its answer) and History (settled, and
close details arriving later). Each row names the record and its ids; re-read it when you need all of it. Start without
a cursor: that returns no rows and a cursor at "now", so read the accounts once, then follow the feed. Keep the
returned cursor and call again while `More` is true. The feed runs about ten seconds behind FinCopy's writes, so a
write still finishing is read on a later call. `take` is 1 to 1000 (default 500).
Path
cursor | string | |
take | integer (int32) | |
Example
curl -X GET https://api.fincopy.io/v1/changes \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoApiChangeFeed, inside the usual envelope.
GET/v1/webhook
Read key
This key's webhook, if one is set (the secret is never shown again). API key only: a webhook belongs to a key,
so a member session cannot call it.
Example
curl -X GET https://api.fincopy.io/v1/webhook \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoApiWebhook, inside the usual envelope.
PUT/v1/webhook
Read and trade key
Set this key's webhook: an HTTPS address on port 443 that resolves to public addresses only. FinCopy then POSTs
the change feed to it (event "changes": Changes, Cursor, More), at least once and oldest first, retrying with back-off
and stopping after 20 failures in a row; a retry may repeat rows, and each row is safe to apply twice. Each POST carries X-FinCopy-Timestamp (Unix seconds) and X-FinCopy-Signature:
"sha256=" + lowercase hex of HMAC-SHA256(secret, timestamp + "." + raw body). The secret is in this reply only. Setting
the webhook again makes a new secret and restarts it from now. API key only, with the Trade permission.
Path
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdApiWebhookSet
Example
curl -X PUT https://api.fincopy.io/v1/webhook \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Url": ""}'
Replies with data holding DtoApiWebhook, inside the usual envelope.
DELETE/v1/webhook
Read and trade key
Remove this key's webhook. API key only, with the Trade permission.
Path
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Example
curl -X DELETE https://api.fincopy.io/v1/webhook \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding Boolean, inside the usual envelope.
POST/v1/webhook/ping
Read and trade key
Send a signed test POST (event "ping") to this key's webhook. API key only, with the Trade permission.
Path
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Example
curl -X POST https://api.fincopy.io/v1/webhook/ping \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoApiWebhookPing, inside the usual envelope.
GET/v1/fxs/stream
Read key
A server-sent event stream of changes on the caller's accounts. Each caller holds up to eight streams; a ninth
closes the oldest.
Example
curl -X GET https://api.fincopy.io/v1/fxs/stream \
-H "X-Api-Key: $FINCOPY_KEY"
Endpoints · 18
Other
Endpoints not yet placed in a group.
POST/v1/fxs/waitlist/join
Read key
Join the caller's account waitlist. A caller can have one active place per waitlist kind.
Body CmdWaitlistJoin
Example
curl -X POST https://api.fincopy.io/v1/fxs/waitlist/join \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Kind": "", "Platform": ""}'
Replies with data holding DtoWaitlistState, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/aibot
Read key
Read the account's AIBot and AI Advisor settings and state: advice time, apply mode, paid switches,
today's asks, included review, AI Advisor balance, latest advice, posture and hourly records.
The balance and all Advisor charging belong to FinCopy; no second wallet or Advisor is used.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/aibot/advisor/preview
Read key
Build the next AI Advisor ask for this account without sending it. Kind is ON_DEMAND or PLAN.
Preview research is paid by FinCopy; closing the preview sends no Advisor ask and charges no Advisor credits.
The preview belongs to this key owner and account and expires in fifteen minutes. Ultra required.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advisor/preview \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoAdvisorPreview, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/advisor/send
Read key
Send the previewed ask, or ask now with an empty PreviewId. Uses FinCopy's Ultra gate, daily included
review, AI Advisor credits and failure refunds. ACNO must match the route. Trade key and Idempotency-Key required.
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAdvisorSend
ACNO | integer (int64) | |
PreviewId | string | |
Kind | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advisor/send \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "PreviewId": "", "Kind": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
PUT/v1/fxs/accounts/{acno}/aibot/advisor/settings
Read key
Save the account's AI Advisor preferences (including Advise on via ExcludedSymbols). Server-owned counters,
included-review state and timestamps are ignored, as on the member screen. ACNO must match the route.
Trade key and Idempotency-Key required; only the account owner's key may save.
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAdvisorSettings
ACNO | integer (int64) | |
Settings | FxsAdvisorSettings | |
Example
curl -X PUT https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advisor/settings \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "Settings": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/aibot/advisor/history
Read key
The account's latest 100 AI Advisor asks, newest first, with the exact sent context, changes,
decisions, included-review use, charges and refunds. The first item is the latest advice.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advisor/history \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding a list of DtoAIBotAdvice, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/aibot/advisor/history/{id}
Read key
One AI Advisor ask, including its sent context. An id from any other account is not found.
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advisor/history/{id} \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoAIBotAdvice, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/state
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAIBotFullAutoState
ACNO | integer (int64) | |
State | string | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/state \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "State": "", "TrPin": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/retune
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAIBotRetune
ACNO | integer (int64) | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/retune \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "TrPin": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/settings
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAIBotFullAutoSettings
HedgeOn | boolean | |
Values | DtoAIBotValues | |
ResetDrawdown | boolean | |
ACNO | integer (int64) | |
TradingHours | string | |
MaximumHoldHours | number (double) | |
DayFirmPct | number (double) | |
DayClosePct | number (double) | |
DdFirmPct | number (double) | |
DdClosePct | number (double) | |
DdMeasure | string | |
OpenPerSide | integer (int32) | T709 (Q375-A): most AIBot trades open on one side at once. |
DAYSL | number (double) | T709 (Q396-A): the account's daily loss (ACCSTG.DAYSL); 0 or empty turns it off. |
MAXDDFRC | number (double) | |
SigWarm | SigMins | |
SigHot | SigMins | |
EntMode | TMode | |
AvgMode | TMode | |
BRISK | number (double) | T709 (Q375-A): risk a trade per side, the account template's and every one of its pairs'; null leaves it. |
SRISK | number (double) | |
DCACooloffMins | integer (int32) | Minutes between DCA requests or adds on one side; null leaves it. |
BALLOWED | AMode[] | T709: the methods AIBot may choose per side (never COPY), the account template's and every one of its pairs'
(SYMSTG.BALLOWED / SALLOWED); null leaves them. |
SALLOWED | AMode[] | |
BAMODE | AMode | |
SAMODE | AMode | |
AIBotPairDefaults | FxsAIBotStgPair | |
BNLOT | number (double) | Q446-A: the opening lot per side (lots). |
SNLOT | number (double) | |
BLGP | number (double) | Q446-A: the ladder per side: level gap (% beyond the previous fill), level multiplier, most levels, group gap (%),
group multiplier, most groups. |
SLGP | number (double) | |
BLMUL | number (double) | |
SLMUL | number (double) | |
BLMAX | integer (int32) | |
SLMAX | integer (int32) | |
BGGP | number (double) | |
SGGP | number (double) | |
BGMUL | number (double) | |
SGMUL | number (double) | |
BGMAX | integer (int32) | |
SGMAX | integer (int32) | |
BTPP | number (double) | Q446-A: TP per side (% beyond the set's average; 0 = no TP). |
STPP | number (double) | |
BTSP | number (double) | Q446-A: TS per side (% of the TP money) and its on/off (trailing from the TP). |
STSP | number (double) | |
BTRAIL | boolean | |
STRAIL | boolean | |
BFRATIO | number (double) | Q446-A: FIRR's reward ratio per side (the TP as a multiple of the SL). |
SFRATIO | number (double) | |
BSLP | number (double) | Q446-A: the SL a new trade starts with per side (%); 0 is off (AIBot's fallback SL applies). |
SSLP | number (double) | |
BHRSL | boolean | Q446-A: the hard SL per side (the SL sits on the order at the broker). |
SHRSL | boolean | |
USEPO | boolean | Q446-A: pending orders (USEPO), descending lots (USEDESC) and its multiple per side (BDMUL / SDMUL, × the opening
lot), and DCAEXP (FinCopy's DCA exponent). |
USEDESC | boolean | |
BDMUL | number (double) | |
SDMUL | number (double) | |
DCAEXP | number (double) | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/settings \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"HedgeOn": "", "Values": "", "ResetDrawdown": "", "ACNO": 0, "TradingHours": "", "MaximumHoldHours": 0, "DayFirmPct": 0, "DayClosePct": 0, "DdFirmPct": 0, "DdClosePct": 0, "DdMeasure": "", "OpenPerSide": 0, "DAYSL": 0, "MAXDDFRC": 0, "SigWarm": "", "SigHot": "", "EntMode": "", "AvgMode": "", "BRISK": 0, "SRISK": 0, "DCACooloffMins": 0, "BALLOWED": "", "SALLOWED": "", "BAMODE": "", "SAMODE": "", "AIBotPairDefaults": "", "BNLOT": 0, "SNLOT": 0, "BLGP": 0, "SLGP": 0, "BLMUL": 0, "SLMUL": 0, "BLMAX": 0, "SLMAX": 0, "BGGP": 0, "SGGP": 0, "BGMUL": 0, "SGMUL": 0, "BGMAX": 0, "SGMAX": 0, "BTPP": 0, "STPP": 0, "BTSP": 0, "STSP": 0, "BTRAIL": "", "STRAIL": "", "BFRATIO": 0, "SFRATIO": 0, "BSLP": 0, "SSLP": 0, "BHRSL": "", "SHRSL": "", "USEPO": "", "USEDESC": "", "BDMUL": 0, "SDMUL": 0, "DCAEXP": 0, "TrPin": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/pair-mode
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAIBotPairMode
ACNO | integer (int64) | |
Symbol | string | |
Mode | string | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/pair-mode \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "Symbol": "EURUSD", "Mode": "", "TrPin": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/pair-rules
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAIBotPairRules
Values | DtoAIBotValues | |
ACNO | integer (int64) | |
Symbol | string | |
SYMSTG | DtoEASymStg | |
Entry | FxsAIBotEntryRules | |
TrPin | string | |
ConfirmClose | boolean | T709 incident (Q459-A): the member saw the trades this save's SL would close now and confirms it. |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/pair-rules \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"Values": "", "ACNO": 0, "Symbol": "EURUSD", "SYMSTG": "", "Entry": "", "TrPin": "", "ConfirmClose": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/aibot/tickets
Read key
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/tickets \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoAIBotTicketsView, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/advise
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advise \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/advice/decide
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAIBotAdviceDecide
ACNO | integer (int64) | |
AdviceId | string | |
Accept | boolean | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advice/decide \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "AdviceId": "", "Accept": "", "TrPin": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
POST/v1/fxs/accounts/{acno}/aibot/advice/undo
Read key
Path
acno | integer | |
Idempotency-Key | string | Stable key for one write. Retrying the same request returns its original result. |
Body CmdAIBotAdviceUndo
ACNO | integer (int64) | |
TrPin | string | |
Example
curl -X POST https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advice/undo \
-H "X-Api-Key: $FINCOPY_KEY" \
-H "Content-Type: application/json" \
-d '{"ACNO": 0, "TrPin": ""}'
Replies with data holding DtoAIBotFullAuto, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/aibot/advice
Read key
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/advice \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoFcAdviceSummaryList, inside the usual envelope.
GET/v1/fxs/accounts/{acno}/aibot/decisions
Read key
Path
Example
curl -X GET https://api.fincopy.io/v1/fxs/accounts/ACNO/aibot/decisions \
-H "X-Api-Key: $FINCOPY_KEY"
Replies with data holding DtoAIBotFullAutoDecisionList, inside the usual envelope.
Objects
AMode
BooleanBotPick
Mode | BotValMode | |
Mode_ | BotValMode | |
Val | boolean | |
Opts | boolean[] | |
BotValMode
BrokerServerEnvironment
BrokerServerStatus
CmdAdvisorSend
ACNO | integer (int64) | |
PreviewId | string | |
Kind | string | |
CmdAdvisorSettings
ACNO | integer (int64) | |
Settings | FxsAdvisorSettings | |
CmdAIBotAdviceDecide · T701 (Q10-C): Accept or Reject a waiting advice.
ACNO | integer (int64) | |
AdviceId | string | |
Accept | boolean | |
TrPin | string | |
CmdAIBotAdviceUndo · T701 (Q10-C): Undo last advice.
ACNO | integer (int64) | |
TrPin | string | |
CmdAIBotFullAutoSettings
HedgeOn | boolean | |
Values | DtoAIBotValues | |
ResetDrawdown | boolean | |
ACNO | integer (int64) | |
TradingHours | string | |
MaximumHoldHours | number (double) | |
DayFirmPct | number (double) | |
DayClosePct | number (double) | |
DdFirmPct | number (double) | |
DdClosePct | number (double) | |
DdMeasure | string | |
OpenPerSide | integer (int32) | T709 (Q375-A): most AIBot trades open on one side at once. |
DAYSL | number (double) | T709 (Q396-A): the account's daily loss (ACCSTG.DAYSL); 0 or empty turns it off. |
MAXDDFRC | number (double) | |
SigWarm | SigMins | |
SigHot | SigMins | |
EntMode | TMode | |
AvgMode | TMode | |
BRISK | number (double) | T709 (Q375-A): risk a trade per side, the account template's and every one of its pairs'; null leaves it. |
SRISK | number (double) | |
DCACooloffMins | integer (int32) | Minutes between DCA requests or adds on one side; null leaves it. |
BALLOWED | AMode[] | T709: the methods AIBot may choose per side (never COPY), the account template's and every one of its pairs'
(SYMSTG.BALLOWED / SALLOWED); null leaves them. |
SALLOWED | AMode[] | |
BAMODE | AMode | |
SAMODE | AMode | |
AIBotPairDefaults | FxsAIBotStgPair | |
BNLOT | number (double) | Q446-A: the opening lot per side (lots). |
SNLOT | number (double) | |
BLGP | number (double) | Q446-A: the ladder per side: level gap (% beyond the previous fill), level multiplier, most levels, group gap (%),
group multiplier, most groups. |
SLGP | number (double) | |
BLMUL | number (double) | |
SLMUL | number (double) | |
BLMAX | integer (int32) | |
SLMAX | integer (int32) | |
BGGP | number (double) | |
SGGP | number (double) | |
BGMUL | number (double) | |
SGMUL | number (double) | |
BGMAX | integer (int32) | |
SGMAX | integer (int32) | |
BTPP | number (double) | Q446-A: TP per side (% beyond the set's average; 0 = no TP). |
STPP | number (double) | |
BTSP | number (double) | Q446-A: TS per side (% of the TP money) and its on/off (trailing from the TP). |
STSP | number (double) | |
BTRAIL | boolean | |
STRAIL | boolean | |
BFRATIO | number (double) | Q446-A: FIRR's reward ratio per side (the TP as a multiple of the SL). |
SFRATIO | number (double) | |
BSLP | number (double) | Q446-A: the SL a new trade starts with per side (%); 0 is off (AIBot's fallback SL applies). |
SSLP | number (double) | |
BHRSL | boolean | Q446-A: the hard SL per side (the SL sits on the order at the broker). |
SHRSL | boolean | |
USEPO | boolean | Q446-A: pending orders (USEPO), descending lots (USEDESC) and its multiple per side (BDMUL / SDMUL, × the opening
lot), and DCAEXP (FinCopy's DCA exponent). |
USEDESC | boolean | |
BDMUL | number (double) | |
SDMUL | number (double) | |
DCAEXP | number (double) | |
TrPin | string | |
CmdAIBotFullAutoState
ACNO | integer (int64) | |
State | string | |
TrPin | string | |
CmdAIBotPairMode · T701 (Q2-B): set one pair's AIBot mode.
ACNO | integer (int64) | |
Symbol | string | |
Mode | string | |
TrPin | string | |
CmdAIBotPairRules · T701 (Q8-A): edit one pair's rules. T709 (Q396-A): the pair's own settings (its per-side TP, SL, TS, opening lot, ladder,
trailing and hard SL, and its EntMode / AvgMode) are sent as a partial SYMSTG, checked as the pair's settings are; the entry
rules keep only the FinNews filter.
Values | DtoAIBotValues | |
ACNO | integer (int64) | |
Symbol | string | |
SYMSTG | DtoEASymStg | |
Entry | FxsAIBotEntryRules | |
TrPin | string | |
ConfirmClose | boolean | T709 incident (Q459-A): the member saw the trades this save's SL would close now and confirms it. |
CmdAIBotRetune
ACNO | integer (int64) | |
TrPin | string | |
CmdApiFxsAcctPatch · Public API settings patch. Account identity comes from the ACNO route. Every field is optional: absent leaves it as
stored. SigCold, SigWarm and SigHot are the account's own signal sets (COLD, WARM and HOT), each replaced whole: per side the
weakest signal (any step of the scale: BUY VSS-VSB, SELL mirrored VSB-VSS) and trend (any step of the scale, or null for Any)
accepted, the lowest confidence, and on COLD and WARM a minimum score 0-10 (HOT has none). Each is checked as the member's own
AIBot settings are, and a change is written to the account log. A member session (the member's screens) that sends any of the
three sets gives its Trading PIN in TrPin, as the member's own AIBot settings do; an API key does not.
Enabled | boolean | |
ISNO | integer (int32) | |
SigMode | TMode | |
DCACooloffMins | integer (int32) | |
AccStg | DtoEAAccStg | |
SymbolDefaults | DtoFxsStgSymStg | |
CascadeSymbolDefaults | boolean | |
SigCold | SigMins | |
SigWarm | SigMins | |
SigHot | SigMins | |
TrPin | string | |
Values | DtoAIBotValues | |
CmdApiFxsAdopt · T709 (Q257-A): press "Adopt open trades" for the account in the route. Preview returns what would happen and writes
nothing. Send an Idempotency-Key: a second press with the same key returns the first answer.
CmdApiFxsHedgeMake · Public paired hedge request. Account identity comes from the ACNO route.
SYM | string | |
BUY | CmdFxsHedgeLeg | |
SELL | CmdFxsHedgeLeg | |
TrPin | string | |
RequestId | string | |
RouteId | string | |
ChannelId | string | |
AIBotAdviceId | string | |
AIBotAcceptedSettings | object | |
CmdApiFxsOrdrMake · Public trade request. Account identity comes from the ACNO route.
SYM | string | |
ACT | FxsOrderAction | |
OTY | FxsOrderType | |
LOT | number (double) | |
PRC | number (double) | |
TID | integer (int64) | |
OID | integer (int64) | |
SLP | number (double) | |
SYMSTG | DtoEASymStg | |
Expiry | string (date-time) | |
ExitsByPrice | boolean | |
TP | number (double) | |
SL | number (double) | |
TrPin | string | |
RequestId | string | |
RouteId | string | |
ChannelId | string | |
AIBotAdviceId | string | |
AIBotAcceptedSettings | object | |
CmdApiFxsPairPatch · Public API pair patch. Pair identity comes from the PRNO route.
Enabled | boolean | |
EnDcaGateBuy | boolean | |
EnDcaGateSell | boolean | |
SymbolSettings | DtoEASymStg | |
TrPin | string | |
ExternalRef | string | |
Values | DtoAIBotValues | |
CmdApiFxsPreInfo · Public trade preflight request. Account identity comes from the ACNO route.
PRNO | integer (int64) | |
SYM | string | |
CmdApiFxsStgApply · Apply one of the member's strategies to the account in the route (preview or apply).
CmdApiWebhookSet · The key's webhook: the HTTPS address (port 443 only) FinCopy POSTs to when the key's accounts change.
CmdFxsCancelWaiting
Oid | integer (int64) | |
RequestId | string | |
TrPin | string | |
CmdFxsDcaAnswer
CmdFxsHedgeLeg
ACT | FxsOrderAction | |
LOT | number (double) | |
SLP | number (double) | |
SYMSTG | DtoEASymStg | |
CmdFxsModify · Edit one ticket's own exits (MOD). TrailPercent is the ticket's own TS, % of its TP money (T701 Q3-A): null keeps
the ticket's current TS (while it keeps a TP), 0 clears it.
Ticket | integer (int64) | |
Price | number (double) | |
StopLossPrice | number (double) | |
TakeProfitPrice | number (double) | |
Expiry | string (date-time) | |
RequestId | string | |
ClearExpiry | boolean | |
TrPin | string | |
TrailPercent | number (double) | |
CmdFxsPairInstrumentConfirm
ACNO | integer (int64) | |
BrokerSymbol | string | |
InstrumentName | string | |
NoMatch | boolean | |
PreviewOnly | boolean | |
CmdFxsStgAIBot · TP496 Q285-A: a strategy's AIBot settings as a save sends them. Sent, its two parts replace the strategy's limits and
pair defaults (a null part or a null field is then not part of the strategy and never travels); not sent, both stay as they are.
T709: Protection (SL or DCA, the ladder) is the strategy's preference; null leaves it.
Limits | FxsAIBotStgLimits | |
PairDefaults | FxsAIBotStgPair | |
CmdFxsStgMake
StratName | string | |
RiskLev | FxsRiskLev | |
En | boolean | |
EnAvg | boolean | |
Virtual | boolean | |
SigMode | TMode | |
DCACooloffMins | DecRng | |
ACCSTG | DtoFxsStgAccStg | |
SYMSTG | DtoFxsStgSymRng | |
AIBot | CmdFxsStgAIBot | |
CopyFrom | integer (int32) | |
SigCold | SigMinsRng | |
SigWarm | SigMinsRng | |
SigHot | SigMinsRng | |
TrPin | string | |
CmdFxsStgPatch · Edits a strategy: each field sent replaces the stored one (a range whole; a set whole). Clear names
the nullable ranges to empty (back to "not part of the strategy"): ACCSTG.<field> or SYMSTG.<field> of a range field, since a
null in ACCSTG / SYMSTG means "unchanged". TrPin: the member's Trading PIN (the member routes ask it).
StratName | string | |
RiskLev | FxsRiskLev | |
En | boolean | |
EnAvg | boolean | |
Virtual | boolean | |
SigMode | TMode | |
DCACooloffMins | DecRng | |
ACCSTG | DtoFxsStgAccStg | |
SYMSTG | DtoFxsStgSymRng | |
AIBot | CmdFxsStgAIBot | |
SigCold | SigMinsRng | |
SigWarm | SigMinsRng | |
SigHot | SigMinsRng | |
Clear | string[] | |
TrPin | string | |
CmdFxsSymbolsEdit · Add or remove symbols from the account's enabled list.
Add | string[] | |
Remove | string[] | |
CmdMemberAccountMake
Platform | string | |
BrokerServerId | string | |
ServerName | string | |
AccessPoint | string | |
Login | string | |
BrokerPassword | string | |
SeatId | string | |
ExternalRef | string | |
RequestId | string | The API's Idempotency-Key, set by the /v1 make route only. |
CmdMemberDemoMake
Platform | string | |
BrokerServerId | string | |
Login | string | |
BrokerPassword | string | |
CmdMemTerminalDisconnect
TrPin | string | |
RequestId | string | |
CmdTermAccountExternalRef · The managing system's own id for a hosted account; empty clears it.
CmdTermAccountPassword
BrokerPassword | string | |
BrokerServerId | string | |
Login | string | |
CmdWaitlistJoin
Confidence
DecRng
Min | number (double) | |
Def | number (double) | |
Max | number (double) | |
DeployKind
DeployStatus
DesiredTermState
DtoAdvisorPreview
Id | string | |
BuiltAt | string (date-time) | |
ExpiresAt | string (date-time) | |
Model | string | |
Input | string | |
ContextJson | string | |
EstimatedInputTokens | integer (int32) | |
EstimatedCostUsd | number (double) | |
EstimateNote | string | |
DtoAIBotAdvice · T701 Phase 4: one AIAdvisor answer as the AIBot page shows it.
Credits | number (double) | |
Included | boolean | |
Refunded | boolean | |
CreditNote | string | |
Input | string | |
ContextJson | string | |
Kind | string | |
RevisitAt | string (date-time) | |
InputTokens | integer (int32) | |
OutputTokens | integer (int32) | |
Id | string | |
Trigger | string | |
AskedAt | string (date-time) | |
Status | string | |
Error | string | |
Model | string | |
CostUsd | number (double) | |
Note | string | |
Pairs | FxsAIBotAdvisorPair[] | |
Changes | FxsAIBotAdvisorChange[] | T709 (Q399-A): changes to the account's signal sets. |
DecidedAt | string (date-time) | |
DecidedBy | string | |
DtoAIBotFullAuto
Values | DtoAIBotValues | |
StrategyChanges | string[] | |
StrategyChangedAt | string (date-time) | |
RetuneValues | DtoAIBotValues | |
Platform | string | |
ACNO | integer (int64) | |
ISNO | integer (int32) | |
StrategyName | string | |
Granted | boolean | |
State | string | |
BreakerTripped | boolean | |
BreakerReason | string | |
BreakerTrippedAt | string (date-time) | |
TradingHours | string | |
MaximumHoldHours | number (double) | |
DayFirmPct | number (double) | |
DayClosePct | number (double) | |
DdFirmPct | number (double) | |
DdClosePct | number (double) | |
DdMeasure | string | |
OpenPerSide | integer (int32) | T709 (Q375-A): most AIBot trades open on one side at once (GRID). |
DAYSL | number (double) | T709 (Q396-A): the account's daily loss (ACCSTG.DAYSL): AIBot's Stop new trades at stage; 0 or empty is off. |
MAXDDFRC | number (double) | |
SigCold | SigMins | |
SigWarm | SigMins | |
SigHot | SigMins | |
SigMode | TMode | |
EntMode | TMode | |
AvgMode | TMode | |
DCACooloffMins | integer (int32) | Minutes between the terminal's DCA requests or adds on one side (sent as DCATGMINS). |
SYMSTG | DtoFxsStgSymStg | |
AIBotPairDefaults | FxsAIBotStgPair | |
AdvisorAllowed | boolean | |
AdvisorStaff | boolean | |
AdvisorBalance | number (double) | |
Advisor | FxsAdvisorSettings | |
AdviceMode | string | |
AdviceTime | string | |
AdviceCallsToday | integer (int32) | |
AdviceMaxPerDay | integer (int32) | |
LastAdviceAt | string (date-time) | |
CanUndoAdvice | boolean | |
AdvisorOff | boolean | Advisor is disabled or this account has no Ultra entitlement; AIBot retains its own stance. |
Posture | string | |
PostureWhy | string | |
HedgeOn | boolean | |
HourlyRecords | DtoAIBotFullAutoDecision[] | |
Strategy | DtoFxsStg | |
Pairs | DtoAIBotFullAutoPair[] | |
Advice | DtoAIBotAdvice[] | |
Decisions | DtoAIBotFullAutoDecision[] | |
Outcomes | DtoAIBotFullAutoOutcome[] | |
Lessons | DtoAIBotFullAutoLesson[] | |
Playbooks | DtoAIBotFullAutoPlaybook[] | |
DtoAIBotFullAutoDecision
Id | string | |
ACNO | integer (int64) | |
LookAt | string (date-time) | |
Trigger | string | |
Model | string | |
RulesJson | string | The rule checks behind the decision, per pair and side (no model call). |
InputTokens | integer (int32) | |
OutputTokens | integer (int32) | |
CostUsd | number (double) | |
GuardVerdict | string | |
AnswerJson | string | |
OrdersWritten | FxsAIBotOrderLink[] | |
DtoAIBotFullAutoLesson
SYM | string | |
Cause | string | |
SetupTags | string[] | |
SuggestedRule | string | |
MemberAdvice | string | |
ReviewedAt | string (date-time) | |
DtoAIBotFullAutoOutcome
Id | string | |
SYM | string | |
Side | string | |
OpenedAt | string (date-time) | |
ClosedAt | string (date-time) | |
Pnl | number (double) | |
Swap | number (double) | |
Commission | number (double) | |
DurationSeconds | integer (int64) | |
CloseReason | string | |
Mae | number (double) | |
Mfe | number (double) | |
SetupTags | string[] | |
Lesson | string | |
Role | string | T701 (Q7-A): OPENED or MANAGED. |
DtoAIBotFullAutoPair
PendingStance | string | |
PendingStanceReadings | integer (int32) | |
OwnStance | string | |
StanceSource | string | |
BuyCanUndoTune | boolean | |
SellCanUndoTune | boolean | |
DeferredAccountValueKeys | string[] | |
Values | DtoAIBotValues | |
BuyEntryWait | string | |
SellEntryWait | string | |
SYM | string | |
SYM6 | string | |
EN | boolean | |
BuyOpenLots | number (double) | |
SellOpenLots | number (double) | |
Flat | boolean | T709 Q446-A: nothing open on either side (the pair's counts, FxsPairDefaults.NothingOpen), so a settings save
carries the pair defaults it sends to this pair; a pair holding trades keeps its own. |
Mode | string | T701 (Q2-B): OFF, WATCH (Watch, TP523 Q556-A: recorded only), EXITS (Exits only) or FULL (Full auto). |
Entry | FxsAIBotEntryRules | |
SYMSTG | DtoEASymStg | |
Stance | string | AIBot's own stance, overridden by live enabled Advisor advice for a selected pair. |
StanceUntil | string (date-time) | |
StanceWhy | string | |
Condition | string | |
ConditionWhy | string | |
NLOT | number (double) | The pair's starting lot (NLOT). |
BrokerMaxLot | number (double) | The broker maximum from the existing symbol spec, not a clamp on saved settings. |
Tickets | DtoAIBotTicket[] | |
SlHolds | FxsSlHold[] | T709 incident (Q459-A): the SL changes FinCopy holds back on this pair because they would close open trades at once,
one per side, each with the trades it would close and their P/L now; Confirm (Trading PIN) sends one, Discard puts the side's
settings back to what the EA has. |
BuySlOff | integer (int32) | T709 incident (Q460-C): the open trades on each side AIBot does not own (trades FinCopy does not own, adopted ones not
handed over, Telegram copies, tickets taken back). While a side holds any, it takes no SL; Hand to AIBot hands them over. |
SellSlOff | integer (int32) | |
DtoAIBotFullAutoPlaybook
Id | string | |
Version | string | |
State | string | |
Trades | integer (int64) | |
Expectancy | number (double) | |
ProfitFactor | number (double) | |
DrawdownPct | number (double) | |
Rules | string | |
AdviceToLoosen | string | |
CreatedAt | string (date-time) | |
DtoAIBotPairModeRow
DtoAIBotTicket · T701 (Q5-B, Q6-A): an open ticket and who manages its exits.
TID | integer (int64) | |
SYM | string | |
Side | string | |
Lot | number (double) | |
OpenPrice | number (double) | |
TakeProfitPrice | number (double) | |
StopLossPrice | number (double) | |
TrailPercent | number (double) | |
Manager | string | AIBOT, MEMBER (the member took it back), SIGNAL (a Telegram copy, never managed) or OFF (the pair is Off). |
Role | string | OPENED when AIBot opened it, MANAGED when AIBot set its exits. |
ExitsSet | boolean | |
ExitError | string | |
Adopted | boolean | T709: FinCopy adopted this trade from outside; true until Let AIBot manage hands it over. |
AdoptedHanded | boolean | |
DtoAIBotTicketsView · T701: the account's pairs with their AIBot mode and the open tickets, for the trade lists and trade window.
ACNO | integer (int64) | |
Pairs | DtoAIBotPairModeRow[] | |
Tickets | DtoAIBotTicket[] | |
DtoAIBotValueCounts
Fixed | integer (int32) | |
Range | integer (int32) | |
Strategy | integer (int32) | |
DtoAIBotValues · Ordinary per-value edits. There is no account-wide stored switch.
Numbers | object | |
Signals | object | |
Trends | object | |
Confidence | object | |
Methods | object | |
NewsFilter | BooleanBotPick | |
DtoApiChange · One record FinCopy wrote. `Entity` is Account, Terminal, Pair, Order or History; the ids say which record to
re-read. Order and History rows carry the order's state; Account rows the money; Terminal rows the terminal's state.
Entity | string | |
ChangedAt | string (date-time) | |
AccountId | string | |
ACNO | integer (int64) | |
ExternalRef | string | |
PRNO | integer (int64) | |
PairExternalRef | string | |
OID | integer (int64) | |
TID | integer (int64) | |
SYM | string | |
Side | string | |
Action | string | |
Status | string | |
Signal | string | |
Error | string | |
CloseReason | string | |
CloseSource | string | |
Balance | number (double) | |
Equity | number (double) | |
TerminalState | string | |
BrokerConnected | boolean | |
DtoApiChangeFeed · One page of the change feed: oldest first, the cursor to keep, and whether more rows wait.
Changes | DtoApiChange[] | |
Cursor | string | |
More | boolean | |
DtoApiFxsAdopt · What an adoption did (or, in a preview, would do). Oids are the new FinCopy order ids of the adopted trades.
Adopted | integer (int32) | |
Oids | integer (int64)[] | |
Pairs | DtoApiFxsAdoptPair[] | |
Refused | DtoApiFxsAdoptRefused[] | |
PairLimit | integer (int32) | |
Preview | boolean | |
OpenTradeLimit | integer (int32) | |
DtoApiFxsAdoptPair · One pair's share of an adoption: the buys and sells taken over, and whether FinCopy had to enable the pair.
Symbol | string | |
Buy | integer (int32) | |
Sell | integer (int32) | |
EnabledNow | boolean | |
BuySide | DtoApiFxsAdoptSide | |
SellSide | DtoApiFxsAdoptSide | |
DtoApiFxsAdoptRefused · A pair left out of an adoption, why, and the tickets still outside FinCopy.
Symbol | string | |
Reason | string | |
Tickets | integer (int64)[] | |
DtoApiFxsAdoptSide · What the pair's settings do with one side after adoption (adoption never changes AvgMode): its averaging mode, the next
level the side would add, the price that add triggers at (a % beyond the newest fill), and whether today's price is already
past it, so an automatic add would follow at once.
AvgMode | string | |
NextLevel | integer (int32) | |
TriggerPrice | number (double) | |
PastTrigger | boolean | |
Automatic | boolean | |
DtoApiTermOperation
OperationId | string | |
ACNO | integer (int64) | |
Login | string | |
Kind | DeployKind | |
Status | DeployStatus | |
FromVersion | string | |
ToVersion | string | |
ProgressStatus | string | |
Reason | string | |
Result | string | |
StartedAt | string (date-time) | |
WorkerStartedAt | string (date-time) | |
EndedAt | string (date-time) | |
RetryAt | string (date-time) | |
RetryCount | integer (int32) | |
ElapsedMs | integer (int64) | |
DtoApiTermOperationResPaged
data | DtoApiTermOperation[] | |
paging | ResPage | |
grps | object | |
code | integer (int32) | |
isOk | boolean | |
message | string | |
errors | string[] | |
DtoApiWebhook · The key's webhook. `Secret` is shown once, when the webhook is set: FinCopy signs every POST with it.
Url | string | |
Secret | string | |
LastSentAt | string (date-time) | |
Failures | integer (int32) | |
LastError | string | |
ParkedAt | string (date-time) | Set when FinCopy stopped sending after 20 failures in a row. Set the webhook again to resume. |
DtoApiWebhookPing · A webhook test: whether the receiver answered 2xx, and its HTTP status.
Sent | boolean | |
StatusCode | integer (int32) | |
At | string (date-time) | |
DtoBrokerServer
Id | string | |
Platform | string | |
Name | string | |
BrokerId | string | |
BrokerName | string | |
AccessPoints | string[] | |
Symbol | string | |
AvailableSymbols | string[] | |
Enabled | boolean | |
OperatorCurated | boolean | |
Environment | BrokerServerEnvironment | |
Status | BrokerServerStatus | |
FirstSeenAt | string (date-time) | |
LastSeenAt | string (date-time) | |
LastVerifiedAt | string (date-time) | |
SymbolLearnedAt | string (date-time) | |
SuccessCount | integer (int64) | |
FailureCount | integer (int64) | |
NoSymbolMatchPattern | string | |
NoSymbolMatchAt | string (date-time) | |
DtoBrokerServerSearch
ServerId | string | |
ServerName | string | |
Platform | string | |
Environment | BrokerServerEnvironment | |
Status | BrokerServerStatus | |
BrokerName | string | |
DtoDemoAvailability · Demo places that can start now (a prepared terminal and a free slot), and whether this member already
runs one (one at a time).
FreePlaces | integer (int32) | |
Quota | integer (int32) | |
MemberHasActive | boolean | |
DtoEAAccStg · Wire twin of the account settings. This type deliberately has no BSON attributes.
EntMode | TMode | |
TRDSRC | TRDSRC | |
AvgMode | TMode | |
REBALMODE | RebalanceMode | |
DAYTP | number (double) | |
DAYSL | number (double) | |
DAYSTOP | boolean | |
DCAGATE | boolean | |
MGX | integer (int32) | |
POCNT | integer (int32) | |
DCAIVMINS | integer (int32) | |
POCLSMINS | integer (int32) | |
CAPSIZE | number (double) | |
MAXDDFRC | number (double) | |
MAXDLYSECS | integer (int32) | |
SYNCSECS | integer (int32) | |
CONF | boolean | |
DCATGMINS | integer (int32) | |
DtoEASymStg · Wire twin of pair settings. This type deliberately has no BSON attributes.
SYM | string | |
SYM6 | string | |
EntMode | TMode | |
AvgMode | TMode | |
BAMODE | AMode | |
SAMODE | AMode | |
BFRATIO | number (double) | |
SFRATIO | number (double) | |
BRISK | number (double) | |
SRISK | number (double) | |
BTRAIL | boolean | |
STRAIL | boolean | |
BALLOWED | AMode[] | |
SALLOWED | AMode[] | |
BPENDING | AMode | |
SPENDING | AMode | |
REBAL | boolean | |
EALVL | boolean | |
BCAN | boolean | |
SCAN | boolean | |
USEPO | boolean | |
BNLOT | number (double) | |
SNLOT | number (double) | |
BTPP | number (double) | |
STPP | number (double) | |
BSLP | number (double) | |
SSLP | number (double) | |
BTSP | number (double) | |
STSP | number (double) | |
BHRSL | boolean | |
SHRSL | boolean | |
BBE | integer (int64)[] | TP529: BUY/SELL break-even requests, bound to the named broker tickets. Not editable settings. |
SBE | integer (int64)[] | |
T646B | boolean | |
T646S | boolean | |
LOGEXP | number (double) | |
BGMAX | integer (int32) | |
SGMAX | integer (int32) | |
BLMAX | integer (int32) | |
SLMAX | integer (int32) | |
BGMUL | number (double) | |
SGMUL | number (double) | |
BLMUL | number (double) | |
SLMUL | number (double) | |
BLGP | number (double) | |
SLGP | number (double) | |
BGGP | number (double) | |
SGGP | number (double) | |
DCAEXP | number (double) | |
USEDESC | boolean | |
BDMUL | number (double) | |
SDMUL | number (double) | |
DtoFcAdviceSummary · One ask in the member's AIBot history. Refunded: its credits came back (a failed run, or a plan the check refused);
ApiCredits and AiCredits still say what it was charged. Staff: asked by a staff member, so nothing was charged (T703 Q48-B).
Id | string | |
ACNO | integer (int64) | |
Use | string | |
Symbol | string | |
Status | string | |
Stage | string | |
Call | string | |
Outcome | string | |
ApiCredits | number (double) | |
AiCredits | number (double) | |
CreatedAt | string (date-time) | |
Confidence | number (double) | |
AIBotMode | string | |
ValidationNote | string | |
Refunded | boolean | |
Staff | boolean | |
DtoFinInstrument
Name | string | |
AssetClass | string | |
TvdCol | string | |
TvdCode | string | |
Note | string | |
DtoFleetAccount
Shared | integer (int64) | |
Account | DtoTermAccount | |
Terminal | DtoTermTerminal | |
BrokerServer | DtoBrokerServer | |
LastPingMs | number (double) | |
AvgLatencyMs | number (double) | |
MemberEmail | string | |
AccountName | string | The name on the MT4/MT5 account, as the EA reports it; null until the first sync. |
OperationId | string | |
DtoFxsAccountState
TerminalId | string | |
TERMID | string | |
TERMSTART | string (date-time) | |
TERMNAME | string | |
IDLETERMNAME | string | |
IDLETERMSEEN | string (date-time) | |
ACNO | integer (int64) | The trading record's number (FxsAcct.ACNO); the Trade window's Pre-info and Make name the account by it. |
ISNO | integer (int32) | T709: the strategy the account follows (FxsAcct.ISNO; 0 = none), so a member's strategy page lists its accounts. |
MARGIN_CCY | string | |
Virtual | boolean | Whether the account's broker server is a demo server. |
LastPingMs | number (double) | |
AvgLatencyMs | number (double) | |
Snapshot | DtoFxsSnapshot | |
Positions | DtoFxsPosition[] | |
PendingOrders | DtoFxsPosition[] | |
Orders | DtoFxsOrdr[] | |
TradedSymbols | string[] | |
EnabledSymbols | string[] | Symbols the operator or member enabled for this account (quotes stream every sync). |
AllSymbols | string[] | Every symbol the broker offers, as the terminal last reported it. |
PairLimit | integer (int32) | TRD2-B8: the plan's limit of enabled pairs (an admin override wins, else what the last sync worked out from the
seat's plan); null until the account has synced. The symbols editor refuses a pair over it before saving. |
PairPreviews | string[] | Enabled symbols on a short AIBot preview: they are quoted but do not count toward PairLimit. |
AccountType | DtoFxsAccountType | |
Symbols | DtoFxsSymbolSpec[] | |
DtoFxsAccountType
MarginMode | string | |
HedgeAllowed | boolean | |
FifoClose | boolean | |
DtoFxsAcct
AIBotHedgeOn | boolean | |
AIBotPosture | string | |
AIBotPostureWhy | string | |
AIBotPostureHour | string (date-time) | |
Values | DtoAIBotValues | |
Shared | integer (int64) | |
Advisor | FxsAdvisorSettings | |
ACNO | integer (int64) | |
USNO | integer (int64) | |
TermAccountIdText | string | |
AccountIdText | string | |
TerminalIdText | string | |
TermKind | TermAccountKind | |
BrokerEnvironment | BrokerServerEnvironment | |
TerminalState | ObservedTermState | |
OpenLegCount | integer (int32) | |
RestingOrderCount | integer (int32) | |
Approved | boolean | |
NodeId | string | |
Platform | FxsPlatform | |
FxsStatus | FxsStatus | |
FxsStatus_ | FxsStatus | |
Login | string | |
SVRNAME | string | |
ACCTNAME | string | |
ACCTHASH | string | |
TERMID | string | |
TERMSTART | string (date-time) | |
TERMNAME | string | |
IDLETERMNAME | string | |
IDLETERMSEEN | string (date-time) | |
BRKRNAME | string | |
MARGIN_CCY | string | |
MARGMODE | string | |
ACCTHEDGE | boolean | |
ACCTFIFO | boolean | |
SVROFFSEC | integer (int32) | |
ACCTBAL | number (double) | |
ACCTEQT | number (double) | |
ACCTMGN | number (double) | |
ACCTMGNFREE | number (double) | |
ACCTMGNLVL | number (double) | |
ACCTLEV | integer (int32) | |
ACCTMGNCALL | number (double) | |
ACCTMGNSO | number (double) | |
ACCTMGNSOMODE | string | |
STARTBAL | number (double) | |
AIBotPropFirm | boolean | |
FullAuto | FxsFullAutoSettings | |
ABSPNLAMT | number (double) | |
PnlAmt | number (double) | |
PnlPct | number (double) | |
ABSPNLPCT | number (double) | |
UNRPNLAMT | number (double) | |
LastPingMs | number (double) | |
AvgLatencyMs | number (double) | |
LatencySampleAt | string (date-time) | |
EnBoard | boolean | |
BoardHandle | string | |
Virtual | boolean | |
EN | boolean | |
ISNO | integer (int32) | |
SigMode | TMode | |
SigCold | SigMins | |
SigWarm | SigMins | |
SigHot | SigMins | |
DCACooloffMins | integer (int32) | |
PairLimitOverride | integer (int32) | |
PairLimitLastKnown | integer (int32) | |
EnSymList | string[] | |
AvlSymList | string[] | |
ACCSTG | DtoEAAccStg | |
SYMSTG | DtoFxsStgSymStg | |
SyncDt | string (date-time) | |
SyncMk | integer (int64) | |
PairsHash | string | |
PairSyncDt | string (date-time) | |
PairSyncMk | integer (int64) | |
AcctLog | string[] | |
SnapshotAt | string (date-time) | |
DayStartAt | string (date-time) | |
DAYHALT | boolean | |
DAYEQ0 | number (double) | |
DAYHALTAT | string (date-time) | |
DayStartEquity | number (double) | |
ServerOffsetSeconds | number (double) | |
LastPairsAskAt | string (date-time) | |
LastOrderBacklogAt | string (date-time) | |
AvlSymCount | integer (int32) | |
CreatedAt | string (date-time) | |
UpdatedAt | string (date-time) | |
OwnerEmail | string | |
DtoFxsBook
CNT | integer (int32) | |
TLOT | number (double) | |
GAVP | number (double) | |
WAVP | number (double) | |
TPRO | number (double) | |
GRP | integer (int32) | |
LEV | integer (int32) | |
XLOT | number (double) | |
FLOT | number (double) | |
SLPRC | number (double) | |
TPPRC | number (double) | |
TSPRC | number (double) | |
SLP | number (double) | |
TPNotch | integer (int32) | |
SLNotch | integer (int32) | |
TSNotch | integer (int32) | |
TPMissing | integer (int32) | |
SLMissing | integer (int32) | |
TSA | number (double) | |
AMODE | AMode | |
DtoFxsOrdh
Id | string | |
ArchDt | string (date-time) | |
ArchMk | integer (int64) | |
FID | string | |
USNO | integer (int64) | |
OwnerEmail | string | |
OID | integer (int64) | |
TID | integer (int64) | |
SYM | string | |
ACNO | integer (int64) | |
TermKind | TermAccountKind | |
PRNO | integer (int64) | |
GRP | integer (int32) | |
LEV | integer (int32) | |
MUL | number (double) | |
DIR | FxsSide | |
ACT | FxsOrderAction | |
OTY | FxsOrderType | |
OKI | FxsOrderKind | |
ORD | FxsOrderStatus | |
SIG | FxsSignalStatus | |
ERR | string | |
CRSN | FxsCloseReason | |
CRSRC | string | |
LOT | number (double) | |
PRC | number (double) | |
CMP | number (double) | |
Digits | integer (int32) | |
SLP | number (double) | |
TPP | number (double) | |
TSP | number (double) | |
SLPRC | number (double) | |
TPPRC | number (double) | |
ExitTPPRC | number (double) | |
ExitSLPRC | number (double) | |
ExitTSLevel | number (double) | |
ExitTPNotch | integer (int32) | |
ExitSLNotch | integer (int32) | |
ExitTSNotch | integer (int32) | |
ExitTSArmed | boolean | |
ExitTSOnSLField | boolean | |
ExitErr | integer (int32) | |
ExitFix | boolean | |
OwnExits | boolean | |
TradePinRequired | boolean | The member's trading PIN is required to answer this DCA proposal. |
ODT | string (date-time) | |
PDT | string (date-time) | |
EDT | string (date-time) | |
CDT | string (date-time) | |
CLS | number (double) | |
PRO | number (double) | |
SWP | number (double) | |
COMM | number (double) | |
OrdrLog | string[] | |
AccountId | string | |
TerminalId | string | |
NodeId | string | |
Login | string | |
Source | string | |
Actor | string | |
RequestId | string | |
RouteId | string | |
ChannelId | string | |
HedgeId | string | |
RebalId | string | |
AutoDecisionId | string | |
AIBotAuto | boolean | |
AIBotRole | string | |
PlannedHoldMins | integer (int32) | |
EXP | integer (int64) | |
EXPRC | boolean | |
CreatedAt | string (date-time) | |
Message | string | |
DtoFxsOrdhResPaged
data | DtoFxsOrdh[] | |
paging | ResPage | |
grps | object | |
code | integer (int32) | |
isOk | boolean | |
message | string | |
errors | string[] | |
DtoFxsOrdr
FID | string | |
USNO | integer (int64) | |
OwnerEmail | string | |
OID | integer (int64) | |
TID | integer (int64) | |
SYM | string | |
ACNO | integer (int64) | |
TermKind | TermAccountKind | |
PRNO | integer (int64) | |
GRP | integer (int32) | |
LEV | integer (int32) | |
MUL | number (double) | |
DIR | FxsSide | |
ACT | FxsOrderAction | |
OTY | FxsOrderType | |
OKI | FxsOrderKind | |
ORD | FxsOrderStatus | |
SIG | FxsSignalStatus | |
ERR | string | |
CRSN | FxsCloseReason | |
CRSRC | string | |
LOT | number (double) | |
PRC | number (double) | |
CMP | number (double) | |
Digits | integer (int32) | |
SLP | number (double) | |
TPP | number (double) | |
TSP | number (double) | |
SLPRC | number (double) | |
TPPRC | number (double) | |
ExitTPPRC | number (double) | |
ExitSLPRC | number (double) | |
ExitTSLevel | number (double) | |
ExitTPNotch | integer (int32) | |
ExitSLNotch | integer (int32) | |
ExitTSNotch | integer (int32) | |
ExitTSArmed | boolean | |
ExitTSOnSLField | boolean | |
ExitErr | integer (int32) | |
ExitFix | boolean | |
OwnExits | boolean | |
TradePinRequired | boolean | The member's trading PIN is required to answer this DCA proposal. |
ODT | string (date-time) | |
PDT | string (date-time) | |
EDT | string (date-time) | |
CDT | string (date-time) | |
CLS | number (double) | |
PRO | number (double) | |
SWP | number (double) | |
COMM | number (double) | |
OrdrLog | string[] | |
AccountId | string | |
TerminalId | string | |
NodeId | string | |
Login | string | |
Source | string | |
Actor | string | |
RequestId | string | |
RouteId | string | |
ChannelId | string | |
HedgeId | string | |
RebalId | string | |
AutoDecisionId | string | |
AIBotAuto | boolean | |
AIBotRole | string | |
PlannedHoldMins | integer (int32) | |
EXP | integer (int64) | |
EXPRC | boolean | |
CreatedAt | string (date-time) | |
Message | string | |
DtoFxsOrdrResPaged
data | DtoFxsOrdr[] | |
paging | ResPage | |
grps | object | |
code | integer (int32) | |
isOk | boolean | |
message | string | |
errors | string[] | |
DtoFxsPair · Wire DTO for a trading pair; it intentionally has no BSON attributes or extra-elements bag.
Values | DtoAIBotValues | |
PRNO | integer (int64) | |
ACNO | integer (int64) | |
USNO | integer (int64) | |
OwnerEmail | string | |
Login | string | |
Platform | FxsPlatform | |
AccountId | string | |
NodeId | string | |
SYM | string | |
SYM6 | string | |
ExternalRef | string | |
EN | boolean | |
AIBotMode | OFF | WATCH | EXITS | FULL | Read-only AIBot mode: OFF (Off), WATCH (Watch), EXITS (Exits only), FULL (Full auto). Set through AIBot, never /v1. |
BID | number (double) | |
ASK | number (double) | |
CMP | number (double) | |
BGRP | integer (int32) | |
BLEV | integer (int32) | |
SGRP | integer (int32) | |
SLEV | integer (int32) | |
BCNT | integer (int32) | |
SCNT | integer (int32) | |
BFPRC | number (double) | |
SFPRC | number (double) | |
BGAVP | number (double) | |
SGAVP | number (double) | |
BGLOT | number (double) | |
SGLOT | number (double) | |
BPRO | number (double) | |
SPRO | number (double) | |
APCT | number (double) | |
PnlAmt | number (double) | |
PnlPct | number (double) | |
AbsPnlAmt | number (double) | |
AbsPnlPct | number (double) | |
BXPRC | number (double) | |
BWAVP | number (double) | |
BXPRO | number (double) | |
BTPRO | number (double) | |
BCPRO | number (double) | |
BFLOT | number (double) | |
BXLOT | number (double) | |
BTLOT | number (double) | |
BHPOS | number (double) | |
BHNEG | number (double) | |
BNLP | number (double) | |
BNLA | number (double) | |
BNLD | number (double) | |
BNLDRPL | number (double) | |
BNLDTCH | boolean | |
BTSPRC | number (double) | |
BTSA | number (double) | |
BTPPRC | number (double) | |
BTPMISS | integer (int32) | |
BSLMISS | integer (int32) | |
BTPA | number (double) | |
BOSLP | number (double) | |
BSLA | number (double) | |
BSLPRC | number (double) | |
BFTIX | integer (int64) | |
BFMK | integer (int64) | |
BFDT | string (date-time) | |
BXMK | integer (int64) | |
BXDT | string (date-time) | |
SXPRC | number (double) | |
SWAVP | number (double) | |
SXPRO | number (double) | |
STPRO | number (double) | |
SCPRO | number (double) | |
SFLOT | number (double) | |
SXLOT | number (double) | |
STLOT | number (double) | |
SHPOS | number (double) | |
SHNEG | number (double) | |
SNLP | number (double) | |
SNLA | number (double) | |
SNLD | number (double) | |
SNLDRPL | number (double) | |
SNLDTCH | boolean | |
STSPRC | number (double) | |
STSA | number (double) | |
STPPRC | number (double) | |
STPMISS | integer (int32) | |
SSLMISS | integer (int32) | |
SPTA | number (double) | |
SOSLP | number (double) | |
SSLA | number (double) | |
SSLPRC | number (double) | |
SFTIX | integer (int64) | |
SFMK | integer (int64) | |
SFDT | string (date-time) | |
SXMK | integer (int64) | |
SXDT | string (date-time) | |
ALOT | number (double) | |
APRO | number (double) | |
FxsStatus | FxsStatus | |
FxsStatus_ | FxsStatus | |
BPSESHNO | integer (int32) | |
BCYCLENO | integer (int32) | |
BCYCLPNLAMT | number (double) | |
SPSESHNO | integer (int32) | |
SCYCLENO | integer (int32) | |
SCYCLPNLAMT | number (double) | |
EnDcaGateBuy | boolean | |
EnDcaGateSell | boolean | |
SYMSTG | DtoEASymStg | |
Spec | DtoFxsSpec | |
PairLog | string[] | |
AIMisc | string[] | |
AIMeta | string[] | |
SyncDt | string (date-time) | |
SyncMkAt | string (date-time) | |
DtoFxsPairResPaged
data | DtoFxsPair[] | |
paging | ResPage | |
grps | object | |
code | integer (int32) | |
isOk | boolean | |
message | string | |
errors | string[] | |
DtoFxsPerf
ACNO | integer (int64) | |
USNO | integer (int64) | |
ValDt | string (date-time) | |
ACCTEQT | number (double) | |
ACCTBAL | number (double) | |
ACCTMGN | number (double) | |
DtoFxsPerfAccountBars
ACNO | integer (int64) | |
AccountName | string | |
Currency | string | |
Bars | DtoFxsPerfBar[] | |
DtoFxsPerfBar
Date | string (date-time) | |
Realised | number (double) | |
Flow | number (double) | |
Equity | number (double) | |
Balance | number (double) | |
ReturnPct | number (double) | |
HasData | boolean | |
DtoFxsPerfBars
FromDt | string (date-time) | |
ToDt | string (date-time) | |
Accounts | DtoFxsPerfAccountBars[] | |
Currencies | DtoFxsPerfCurrencyBars[] | |
DtoFxsPerfContribution
ACNO | integer (int64) | |
AccountName | string | |
Currency | string | |
Virtual | boolean | |
Realised30 | number (double) | |
SharePct | number (double) | |
DtoFxsPerfCurrencyBars
Currency | string | |
Virtual | boolean | |
Bars | DtoFxsPerfBar[] | |
DtoFxsPerfCurrencyWindow
Currency | string | |
Virtual | boolean | |
Equity | number (double) | |
TodayEquityChange | number (double) | |
TodayEquityChangePct | number (double) | |
RealisedToday | number (double) | |
RealisedTodayPct | number (double) | |
Growth7Pct | number (double) | |
Growth30Pct | number (double) | |
Realised30 | number (double) | |
HasHistory | boolean | |
DtoFxsPerfWindow
AsOf | string (date-time) | |
AccountCount | integer (int32) | |
Currencies | DtoFxsPerfCurrencyWindow[] | |
Contributions | DtoFxsPerfContribution[] | |
DtoFxsPosition
Symbol | string | |
Ticket | integer (int64) | |
Oid | integer (int64) | |
GRP | integer (int32) | |
LEV | integer (int32) | |
Side | string | |
Lots | number (double) | |
OpenPrice | number (double) | |
CurrentPrice | number (double) | |
Profit | number (double) | |
Status | string | |
OpenedAt | string (date-time) | |
StopLossPrice | number (double) | |
TakeProfitPrice | number (double) | |
ExitTPPRC | number (double) | |
ExitSLPRC | number (double) | |
ExitTSLevel | number (double) | |
ExitTPNotch | integer (int32) | |
ExitSLNotch | integer (int32) | |
ExitTSNotch | integer (int32) | |
ExitTSArmed | boolean | |
ExitTSOnSLField | boolean | |
OwnExits | boolean | |
ExpiresAt | string (date-time) | |
OrderType | string | The MetaTrader order type (OP_BUY, OP_SELLLIMIT …); a pending order's kind. |
DtoFxsPreInfo
ACNO | integer (int64) | |
PRNO | integer (int64) | |
SYM | string | |
SYM6 | string | |
Enabled | boolean | |
Bid | number (double) | |
Ask | number (double) | |
Spread | number (double) | |
QuoteAt | string (date-time) | |
Spec | DtoFxsSpec | |
BuyBook | DtoFxsBook | |
SellBook | DtoFxsBook | |
SYMSTG | DtoEASymStg | |
BuyLegs | DtoFxsPreInfoLeg[] | |
SellLegs | DtoFxsPreInfoLeg[] | |
PendingOrders | DtoFxsOrdr[] | |
WaitingOrders | DtoFxsOrdr[] | |
MARGMODE | string | |
ACCTHEDGE | boolean | |
ACCTFIFO | boolean | |
TRDSRC | TRDSRC | |
POCLSMINS | integer (int32) | |
Verbs | FxsOrderAction[] | |
Extras | boolean | |
PinRequired | boolean | |
PinSkipped | boolean | |
MARGIN_CCY | string | |
DtoFxsPreInfoLeg
SYM | string | |
DIR | FxsSide | |
TID | integer (int64) | |
OID | integer (int64) | |
LOT | number (double) | |
PRC | number (double) | |
CMP | number (double) | |
PRO | number (double) | |
GRP | integer (int32) | |
LEV | integer (int32) | |
SLPRC | number (double) | |
TPPRC | number (double) | |
TSP | number (double) | |
ExitTPPRC | number (double) | |
ExitSLPRC | number (double) | |
ExitTSLevel | number (double) | |
ExitTPNotch | integer (int32) | |
ExitSLNotch | integer (int32) | |
ExitTSNotch | integer (int32) | |
ExitTSArmed | boolean | |
ExitTSOnSLField | boolean | |
OwnExits | boolean | |
OTY | FxsOrderType | |
ODT | string (date-time) | |
DtoFxsSnapshot
At | string (date-time) | |
Balance | number (double) | |
Equity | number (double) | |
Margin | number (double) | |
FreeMargin | number (double) | |
MarginLevel | number (double) | |
Leverage | integer (int64) | |
StopOutCall | number (double) | |
StopOutLevel | number (double) | |
StopOutMode | string | |
ServerOffsetSeconds | integer (int32) | |
DtoFxsSpec
SVRNAME | string | |
SYM | string | |
SYM6 | string | |
MD5 | string | |
DIGITS | integer (int32) | |
SPREAD | integer (int32) | |
STOPLVL | integer (int32) | |
FREEZLVL | integer (int32) | |
CONTRACT_SIZE | number (double) | |
MARGIN_PCT | number (double) | |
PROFIT_MODE | string | |
MARGIN_MODE | string | |
MARGIN_HEDGE | number (double) | |
MARGIN_HEDGE_USE_LEG | boolean | |
MARGIN_1LOT_P2 | number (double) | |
MARGIN_1LOT_P2_PRC | number (double) | |
COMM_1LOT | number (double) | |
VOLUME_LIMIT | number (double) | |
TRADE_MODE | string | |
EXEC_MODE | string | |
GTC_MODE | string | |
ORDER_MODE | integer (int64) | |
FILLING_MODE | integer (int64) | |
EXPIRATION_MODE | integer (int64) | |
MINLOT | number (double) | |
MAXLOT | number (double) | |
LOTSTEP | number (double) | |
SWAP_LONG | number (double) | |
SWAP_SHORT | number (double) | |
SWAP_TYPE | string | |
TV | number (double) | |
TV_PROFIT | number (double) | |
TV_LOSS | number (double) | |
TS | number (double) | |
PT | number (double) | |
MARGIN_INIT | number (double) | |
MARGIN_MAINT | number (double) | |
MARGIN_1LOT | number (double) | |
MARGIN_1LOT_PRC | number (double) | |
QuoteAt | string (date-time) | |
BID | number (double) | |
ASK | number (double) | |
CMP | number (double) | |
QTM | integer (int64) | |
DtoFxsStg
ISNO | integer (int32) | |
USNO | integer (int64) | |
OwnerEmail | string | |
SeedKey | string | |
StratName | string | |
RiskLev | FxsRiskLev | |
SigMode | TMode | |
SigCold | SigMinsRng | |
SigWarm | SigMinsRng | |
SigHot | SigMinsRng | |
En | boolean | |
EnAvg | boolean | |
Virtual | boolean | |
ACCSTG | DtoFxsStgAccStg | |
SYMSTG | DtoFxsStgSymRng | |
AIBot | FxsAIBotStrategy | |
DCACooloffMins | DecRng | |
StgLog | string[] | |
AccountCount | integer (int32) | TP496 Q284-B: the accounts on this strategy and their enabled pairs (the caller's own, for a member). |
PairCount | integer (int32) | |
Equity | number (double) | Read-only member account facts; unavailable totals stay null, mixed currencies are never added. |
LifetimePnl | number (double) | |
Currency | string | |
Platforms | string | |
PicFile | string | T709 Q412-A: the picture's file name in FinCopy's media folder (null: none, the screens show the initials). |
PicUrl | string | T709 Q412-A: the picture's path on the API's origin (`/media/stg/<file>`); null when there is none. |
Rank | DtoFxsStgRank | |
DtoFxsStgAccStg · Wire twin of a strategy's ACCSTG (FxsStgAccStg): its numbers as ranges (T709 Q387-A). No BSON attributes.
EntMode | TMode | |
TRDSRC | TRDSRC | |
AvgMode | TMode | |
REBALMODE | RebalanceMode | |
DAYTP | DecRng | |
DAYSL | DecRng | |
DAYSTOP | boolean | |
POCNT | DecRng | |
DCAIVMINS | DecRng | |
POCLSMINS | DecRng | |
MAXDDFRC | DecRng | |
MAXDLYSECS | DecRng | |
SYNCSECS | DecRng | |
CONF | boolean | |
DCAGATE | boolean | |
DtoFxsStgCascadeApplyResult
ISNO | integer (int32) | |
ACNO | integer (int64) | |
AccountFieldsWritten | integer (int32) | |
PairRowsChanged | integer (int32) | |
PairFieldsWritten | integer (int32) | |
BuySidesHeld | integer (int32) | |
SellSidesHeld | integer (int32) | |
AIBotLimitsWritten | integer (int32) | |
AIBotPairModesChanged | integer (int32) | |
AIBotRefusals | integer (int32) | |
DtoFxsStgCascadeChange · One field a cascade changes: its name and the value before and after, as text.
Field | string | |
From | string | |
To | string | |
DtoFxsStgCascadePair · One pair in a cascade preview. TP496 Q285-A: AIBot lists the AIBot mode, exit template and entry rule
changes; AIBotRefused names why the pair's AIBot mode is not changed; ToFullAuto marks a pair
the cascade puts on Full auto.
SYM | string | |
BuyHeld | boolean | |
SellHeld | boolean | |
FieldsToWrite | string[] | |
FieldsHeld | string[] | |
AIBot | DtoFxsStgCascadeChange[] | |
AIBotRefused | string | |
ToFullAuto | boolean | |
DtoFxsStgCascadePreview · What a cascade would change on one account. TP496 Q285-A: AIBotLimits lists the AIBot limits it writes,
AIBotLimitsRefused names why none are written. AI Advisor settings and advice time remain per account;
the cascade does not change them and AdviceTimeAlso is empty.
ISNO | integer (int32) | |
ACNO | integer (int64) | |
AttachesStrategy | boolean | |
AccountFieldsToWrite | string[] | |
Pairs | DtoFxsStgCascadePair[] | |
PairCount | integer (int32) | |
BuyHeldCount | integer (int32) | |
SellHeldCount | integer (int32) | |
PairCountChanged | integer (int32) | |
Login | string | |
SVRNAME | string | |
AIBotLimits | DtoFxsStgCascadeChange[] | |
AIBotLimitsRefused | string | |
AdviceTimeAlso | integer (int64)[] | |
FullAutoPairs | integer (int32) | |
AIBotRefusals | integer (int32) | |
DtoFxsStgRank · T709 Q411-A: a strategy's ranking as the strategy list and view routes return it (see FC.Com.Doms.IFxsStgRank).
Score null reads "New".
ISNO | integer (int32) | |
Followers | integer (int32) | |
Trades | integer (int32) | |
Wins | integer (int32) | |
PnlAmt | number (double) | |
EqtBase | number (double) | |
BaseAtStart | integer (int32) | |
BaseInWin | integer (int32) | |
BaseNow | integer (int32) | |
PnlPct | number (double) | |
WinPct | number (double) | |
MaxDDPct | number (double) | |
Score | integer (int32) | |
WinFrom | string (date-time) | |
WinTo | string (date-time) | |
DtoFxsStgSymRng · T709: wire twin of a strategy's symbol template with ranges (FxsStgSymRng). This type deliberately has no BSON
attributes; the ranges are BizJaya.Core's shared DecRng.
BAMODE | AMode | |
SAMODE | AMode | |
BFRATIO | DecRng | |
SFRATIO | DecRng | |
BRISK | DecRng | |
SRISK | DecRng | |
BTRAIL | boolean | |
STRAIL | boolean | |
BALLOWED | AMode[] | |
SALLOWED | AMode[] | |
BPENDING | AMode | |
SPENDING | AMode | |
REBAL | boolean | |
EALVL | boolean | |
BCAN | boolean | |
SCAN | boolean | |
USEPO | boolean | |
BNLOT | DecRng | |
SNLOT | DecRng | |
BTPP | DecRng | |
STPP | DecRng | |
BSLP | DecRng | |
SSLP | DecRng | |
BTSP | DecRng | |
STSP | DecRng | |
BHRSL | boolean | |
SHRSL | boolean | |
LOGEXP | DecRng | |
BGMAX | DecRng | |
SGMAX | DecRng | |
BLMAX | DecRng | |
SLMAX | DecRng | |
BGMUL | DecRng | |
SGMUL | DecRng | |
BLMUL | DecRng | |
SLMUL | DecRng | |
BLGP | DecRng | |
SLGP | DecRng | |
BGGP | DecRng | |
SGGP | DecRng | |
DCAEXP | DecRng | |
USEDESC | boolean | |
BDMUL | DecRng | |
SDMUL | DecRng | |
DtoFxsStgSymStg · Wire twin of the account symbol template. This type deliberately has no BSON attributes.
BAMODE | AMode | |
SAMODE | AMode | |
BFRATIO | number (double) | |
SFRATIO | number (double) | |
BRISK | number (double) | |
SRISK | number (double) | |
BTRAIL | boolean | |
STRAIL | boolean | |
BALLOWED | AMode[] | |
SALLOWED | AMode[] | |
BPENDING | AMode | |
SPENDING | AMode | |
REBAL | boolean | |
EALVL | boolean | |
BCAN | boolean | |
SCAN | boolean | |
USEPO | boolean | |
BNLOT | number (double) | |
SNLOT | number (double) | |
BTPP | number (double) | |
STPP | number (double) | |
BSLP | number (double) | |
SSLP | number (double) | |
BTSP | number (double) | |
STSP | number (double) | |
BHRSL | boolean | |
SHRSL | boolean | |
LOGEXP | number (double) | |
BGMAX | integer (int32) | |
SGMAX | integer (int32) | |
BLMAX | integer (int32) | |
SLMAX | integer (int32) | |
BGMUL | number (double) | |
SGMUL | number (double) | |
BLMUL | number (double) | |
SLMUL | number (double) | |
BLGP | number (double) | |
SLGP | number (double) | |
BGGP | number (double) | |
SGGP | number (double) | |
DCAEXP | number (double) | |
USEDESC | boolean | |
BDMUL | number (double) | |
SDMUL | number (double) | |
DtoFxsSymbolCatalog
TerminalId | string | |
UpdatedAt | string (date-time) | |
AccountType | DtoFxsAccountType | |
EnabledSymbols | string[] | Symbols enabled for this account (quotes stream every sync). |
AllSymbols | string[] | Every symbol the broker offers, as the terminal last reported it. |
Symbols | DtoFxsSymbolSpec[] | |
DtoFxsSymbolSpec
Symbol | string | |
Bid | number (double) | |
Ask | number (double) | |
Point | number (double) | |
TickSize | number (double) | |
TickValue | number (double) | |
ContractSize | number (double) | |
QuoteAt | string (date-time) | |
Digits | integer (int32) | |
MinLot | number (double) | |
MaxLot | number (double) | |
LotStep | number (double) | |
StopLevel | number (double) | |
FreezeLevel | number (double) | |
OrderMode | integer (int64) | |
ExpirationMode | integer (int64) | |
TradeMode | string | |
DtoMemberAccount
AIBot | DtoMemberAIBotSummary | |
ShareRole | FxsShareRole | |
OwnerName | string | |
Shares | DtoMemberShare[] | Who has access to this account: filled only on a row the caller owns, empty on a row shared with the caller. |
Fleet | DtoFleetAccount | |
State | DtoFxsAccountState | |
DtoMemberAccountResPaged
data | DtoMemberAccount[] | |
paging | ResPage | |
grps | object | |
code | integer (int32) | |
isOk | boolean | |
message | string | |
errors | string[] | |
DtoMemberActivity
Id | string | |
USNO | integer (int64) | |
OwnerEmail | string | |
AccountId | string | |
ACNO | integer (int64) | |
Kind | string | |
Status | string | |
Title | string | |
Detail | string | |
Level | string | |
At | string (date-time) | |
DtoMemberActivityResPaged
data | DtoMemberActivity[] | |
paging | ResPage | |
grps | object | |
code | integer (int32) | |
isOk | boolean | |
message | string | |
errors | string[] | |
DtoMemberAIBotSummary · Read-only AIBot and trade-mode summary projected onto a member account row.
Posture | string | |
State | string | |
Granted | boolean | |
AdviceMode | string | |
BreakerTripped | boolean | |
BreakerReason | string | |
EntryMode | string | |
DcaMode | string | |
SignalMode | string | |
ValueCounts | DtoAIBotValueCounts | |
DtoMemberShare
Name | string | |
Email | string | |
Role | FxsShareRole | |
DtoOperationQueued
OperationId | string | The queued terminal operation; null when nothing needed doing. |
DtoPairInstrumentCandidate
Name | string | |
AssetClass | string | |
TvdCol | string | |
TvdCode | string | |
Source | string | |
HasFinGraphReading | boolean | |
DtoPairInstrumentSuggestions
ServerName | string | |
BrokerSymbol | string | |
Suggestions | DtoPairInstrumentCandidate[] | |
DtoShelfSignal · FinGraph's current FXS reading for one symbol on the member's accounts. The codes are FinGraph's
(Signal VSS … VSB, Trend VSD … VSU, Confidence None … VHigh), sent as their names.
Symbol | string | |
Signal | string | |
Trend | string | |
Confidence | string | |
Score | number (double) | FinGraph's TA score, -10 … 10. |
At | string (date-time) | When FinGraph last wrote this reading. |
DtoShelfSignals · The Signals card: the readings, strongest first, and the member's symbols with no fresh reading.
Rows | DtoShelfSignal[] | |
NoReading | string[] | |
DtoTermAccount
ACNO | integer (int64) | |
TMNO | integer (int64) | |
Id | string | |
NodeId | string | |
USNO | integer (int64) | |
Platform | string | |
BrokerServerId | string | |
PrivateBrokerAccessPoint | string | |
TerminalId | string | |
Login | string | |
Capabilities | string[] | |
DesiredState | DesiredTermState | |
Kind | TermAccountKind | |
ExpiresAt | string (date-time) | |
Approved | boolean | |
MemberTerminalAlerts | boolean | |
ExternalRef | string | |
DtoTermTerminal
TMNO | integer (int64) | |
Id | string | |
NodeId | string | |
USNO | integer (int64) | |
AccountId | string | |
Platform | string | |
Display | integer (int32) | |
ObservedState | ObservedTermState | |
ConnectionState | TerminalConnectionState | |
LastLoginLogLine | string | |
TerminalBuild | string | |
EaVersion | string | |
PreviousEaVersion | string | |
RestartCount | integer (int32) | |
ConsecutiveFailures | integer (int32) | |
NextRetryAt | string (date-time) | |
LastErrorAt | string (date-time) | |
LastError | string | |
LastHeartbeatAt | string (date-time) | |
HeartbeatAgeSeconds | integer (int32) | |
WakeConnected | boolean | |
BrokerConnected | boolean | |
BrokerDisconnectedSinceAt | string (date-time) | |
TerminalTradeAllowed | boolean | |
LastSyncAt | string (date-time) | |
LastSyncResult | string | |
PriceTickAt | string (date-time) | |
PriceLagSec | number (double) | |
OpenAlerts | string[] | |
TerminalMemoryBytes | integer (int64) | |
CpuPercent | number (double) | |
MemoryBytes | integer (int64) | |
MemoryLimitBytes | integer (int64) | |
DiskBytes | integer (int64) | |
LastDiskMeasuredAt | string (date-time) | |
OomKillCount | integer (int64) | |
BrokerReconnectDayUtc | string (date-time) | |
BrokerReconnectsToday | integer (int32) | |
PasswordPending | boolean | |
LastStartedAt | string (date-time) | |
LastAutomaticReloginAt | string (date-time) | |
LastBrokerVerifiedStartAt | string (date-time) | |
LastBrokerFailureStartAt | string (date-time) | |
HealthySinceAt | string (date-time) | |
StaleHeartbeatRestarts | integer (int32) | |
PriceLagRestartDayUtc | string (date-time) | |
PriceLagRestartsToday | integer (int32) | |
OutageActive | boolean | |
Health | string | |
UnitName | string | |
Folder | string | |
DtoWaitlistEntry
Id | string | |
USNO | integer (int64) | |
Email | string | |
Kind | string | |
Platform | string | |
Since | string (date-time) | |
Status | string | |
NodeId | string | |
OfferedAt | string (date-time) | |
OfferedUntil | string (date-time) | |
DtoWaitlistState
HasFreeSlot | boolean | |
Kind | string | |
Platform | string | |
Position | integer (int32) | |
Place | DtoWaitlistEntry | |
FxsAdvisorSettings · TP529: the account's L3 module, independent of the deterministic AIBot settings.
Enabled | boolean | |
AdviceTime | string | |
AdviceMode | string | |
EveryFourHours | boolean | |
PaidReasks | boolean | |
Manual | boolean | |
ExcludedSymbols | string[] | Only opt-outs are stored, so a pair added later starts included. |
AsksToday | integer (int32) | |
DayKey | string (date-time) | |
IncludedUsed | boolean | |
LastAdviceAt | string (date-time) | |
FxsAIBotAdvisorChange · One setting AIAdvisor wants changed, old to new. FC.Com.Doms.FxsAIBotAdvisorChange.Refused holds the reason the code refused it.
Field | string | A pair's: EXIT.TPP, EXIT.SLP, EXIT.TSP, ENTRY.NewsFilter, AMODE.BUY, AMODE.SELL or a pair setting: NLOT, LGP, GGP,
LMAX, GMAX, LMUL, GMUL. The account's (T709, Q399-A): WARM.BuySig, WARM.SellSig, WARM.BuyTrd, WARM.SellTrd, WARM.Conf,
WARM.Score, and HOT.BuySig, HOT.SellSig, HOT.BuyTrd, HOT.SellTrd, HOT.Conf (HOT has no score). |
Old | string | |
New | string | |
Direction | string | SHARPEN or LOOSEN. |
Why | string | |
Refused | string | |
FxsAIBotAdvisorPair
SYM | string | |
SYM6 | string | |
Condition | string | TRENDING_UP, TRENDING_DOWN, RANGING, VOLATILE or NEWS_RISK. |
ConditionWhy | string | |
Stance | string | |
StanceWhy | string | |
StanceUntil | string (date-time) | |
NarrowingApplied | boolean | |
SignalSide | string | The FinGraph reading in this advice's input, retained when Ask-First is accepted later. |
ConfidenceBand | string | |
Changes | FxsAIBotAdvisorChange[] | |
Watch | boolean | TP523 Q556-A: the pair was on Watch: this part of the advice is shown and never applied (its stance and changes),
as an account on Watch gets WATCH advice; Undo last advice leaves it alone too. |
FxsAIBotEntryRules · T701 (Q8-A): when Full auto opens a side on a FinGraph reading change. T709 (Q378-A, Q385-A): the signal, trend,
confidence and score minimums moved into the account's signal sets (FxsAcct.SigWarm, read through the shared SigMinsHlp.Passes);
the pair keeps only the FinNews filter.
NewsFilter | boolean | Skip a side that FinNews of the last 24 hours on the pair's currencies leans against. |
FxsAIBotOrderLink · Value fields copied into AI audit records without depending on the mutable live account document.
AutoDecisionId | string | |
OrderId | string | |
Ticket | integer (int64) | |
Symbol | string | |
Side | string | |
FxsAIBotPreferences · The advisor horizon and allowed exit types. The side method alone decides SL versus ladder (Q461-A).
Horizon | string | |
AllowedExitModes | string[] | |
FxsAIBotStgLimits · TP496 Q285-A: the AIBot limits a strategy carries to the accounts on it, the fields of FC.Com.Doms.FxsFullAutoSettings
a member edits on the AIBot page. Never the switch (State), the grant, the breaker's state or a counter: those stay each
account's. A null field is not part of the strategy and never travels; a cascade writes only the fields the strategy holds.
T709: the numbers are ranges (Q387-A), a cascade sends each one's Def (Q389-A); the risk dial and its ceiling are gone (Q375-A);
FC.Com.Doms.FxsAIBotStgLimits.OpenPerSide is the dial step's "most open per side" standing on its own. The daily loss is ACCSTG.DAYSL, the
field the EA reads (Q396-A).
OpenPerSide | DecRng | |
TradingHours | string | |
MaximumHoldHours | DecRng | |
FxsAIBotStgPair
Mode | string | |
Entry | FxsAIBotEntryRules | |
FxsAIBotStrategy · A strategy's AIBot block. FC.Com.Doms.FxsAIBotStrategy.Preferences are the New bot wizard's policy boundaries for the model, not a
trade plan. TP496 Q285-A: FC.Com.Doms.FxsAIBotStrategy.Limits and FC.Com.Doms.FxsAIBotStrategy.PairDefaults are the AIBot settings the strategy carries to
its accounts and their pairs through a cascade, as its ACCSTG and SYMSTG carry the EA settings.
Kind | string | |
Preferences | FxsAIBotPreferences | |
PlaybookVersionId | string | |
Limits | FxsAIBotStgLimits | |
PairDefaults | FxsAIBotStgPair | |
FxsCloseReason · Why a leg closed, as the EA reports it (`CRSN`).
FxsFullAutoSettings
DdStartBalance | number (double) | |
DdPeakEquity | number (double) | |
Granted | boolean | |
State | string | |
BreakerTripped | boolean | |
BreakerReason | string | |
BreakerTrippedAt | string (date-time) | |
BrokerDayKey | string (date-time) | Broker-local day key used to reset the daily loss breaker across a date boundary. |
TradingHours | string | |
MaximumHoldHours | number (double) | |
DayFirmPct | number (double) | |
DayClosePct | number (double) | |
DdFirmPct | number (double) | |
DdClosePct | number (double) | |
DdMeasure | string | |
OpenPerSide | integer (int32) | T709 (Q375-A): most AIBot trades open on one side at once (the risk dial's "most open per side", standing on its
own). It counts on a GRID side; every other method opens only on a flat side. |
UndoAdviceId | string | The applied advice that Undo last advice reverts. |
FxsOrderAction
FxsOrderKind
FxsOrderStatus
FxsOrderType
FxsPlatform
FxsRiskLev
FxsShareRole · An absent or unrecognised role has no trading permission.
FxsSide
FxsSignalStatus
FxsSlHold · T709 incident (Q459-A): a change of one side's SL that FinCopy holds back because it would close open trades at once. The pair's
settings (SYMSTG) keep the new values; the EA keeps getting what it has (the Sent fields) until the member confirms the change
with the Trading PIN, discards it (the side's settings go back to what the EA has), or the side holds no trade any more.
A record with FC.Com.Doms.FxsSlHold.Confirmed set is the member's go-ahead for exactly these values: the next sync sends them.
Side | string | BUY or SELL. |
AMODE | AMode | |
SLP | number (double) | |
HRSL | boolean | |
SentAMODE | AMode | |
SentSLP | number (double) | |
SentHRSL | boolean | |
By | string | Who wrote the change (a name, AIBot, AIAdvisor, an admin, the EA) and when FinCopy held it. |
At | string (date-time) | |
RefreshedAt | string (date-time) | When the trades and P/L below were last worked out (null: at FC.Com.Doms.FxsSlHold.At). |
Trades | FxsSlHoldTrade[] | The trades the change would close now, and their P/L now (the price it was checked at). |
Profit | number (double) | |
Price | number (double) | |
Confirmed | boolean | |
ConfirmedBy | string | |
ConfirmedAt | string (date-time) | |
FxsSlHoldTrade · One open trade a held SL change would close now.
TID | integer (int64) | |
LOT | number (double) | |
PRC | number (double) | The fill price and the SL price the change would give it. |
SLPRC | number (double) | |
PRO | number (double) | Its P/L now. |
Source | string | Who opened it, as FinCopy records it (Outside, Adopted, AIBotAuto, Member ...). |
FxsStatus
ObservedTermState
RebalanceMode
ResPage
pageNo | integer (int32) | |
pageSize | integer (int32) | |
pageCount | integer (int32) | |
resCount | integer (int64) | |
SigMins
Score | number (double) | |
BuySig | Signal | |
BuySig_ | Signal | |
SellSig | Signal | |
SellSig_ | Signal | |
BuyTrd | Trend | |
BuyTrd_ | Trend | |
SellTrd | Trend | |
SellTrd_ | Trend | |
Conf | Confidence | |
Conf_ | Confidence | |
SigMinsRng
Score | DecRng | |
BuySig | Signal | |
BuySig_ | Signal | |
SellSig | Signal | |
SellSig_ | Signal | |
BuyTrd | Trend | |
BuyTrd_ | Trend | |
SellTrd | Trend | |
SellTrd_ | Trend | |
Conf | Confidence | |
Conf_ | Confidence | |
Signal
TermAccountKind
TerminalConnectionState
TMode
TRDSRC
Trend