Loading...
Searching...
No Matches
ATAS.DataFeedsCore.IMyTradeIdMigration Interface Reference

A connector whose fill ids (MyTrade.Id) changed their scheme: the fills a platform stored under the older scheme (the trading statistics) are re-keyed to the current one before the connector's fills are compared with them, so a fill is neither stored twice nor taken for another fill (PLAT-5091: Binance numbers the trades of each symbol on its own, its fill ids became the symbol and the number). More...

Public Member Functions

string? MigrateId (MyTrade stored)
 The id stored has under the connector's current scheme; null when its id is already current or the fill is not one of the connector's scheme. A pure function of the stored fill (its id and security).
 

Detailed Description

A connector whose fill ids (MyTrade.Id) changed their scheme: the fills a platform stored under the older scheme (the trading statistics) are re-keyed to the current one before the connector's fills are compared with them, so a fill is neither stored twice nor taken for another fill (PLAT-5091: Binance numbers the trades of each symbol on its own, its fill ids became the symbol and the number).

Member Function Documentation

◆ MigrateId()

string? ATAS.DataFeedsCore.IMyTradeIdMigration.MigrateId ( MyTrade  stored)

The id stored has under the connector's current scheme; null when its id is already current or the fill is not one of the connector's scheme. A pure function of the stored fill (its id and security).


The documentation for this interface was generated from the following file: