Skip to content

Commit

Permalink
Update .Net Core 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Renyhc committed Mar 25, 2022
1 parent c544fcc commit d99a76a
Show file tree
Hide file tree
Showing 97 changed files with 3,038 additions and 6,751 deletions.
21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,27 @@

[![N|Solid](esco.reference.documentation/esco.png)](https://www.sistemasesco.com.ar)

Conector que se integra con el Servicio [**PMYDS - Reference Data de Primary**](https://dataservices.primary.com.ar/product/#product=reference-data-read) que ofrece información de referencia de instrumentos financieros en forma consolidada.
Conector que se integra con el Servicio [**Primary Information Reference**](https://i.primary.com.ar/) que ofrece Provisión automática de las características de los valores negociables de los distintos segmentos disponibles de las principales fuentes del mercado de capitales, como así también información de los Fondos Comunes de Inversión publicados en la CAFCI.

**` Development by .NET 6.0`**

#### DESCRIPCIÓN DE MÉTODOS

- [OData Reference Data](esco.reference.documentation/OData.md)
- [Reference Data](esco.reference.documentation/ReferenceData.md)
- [Instruments](esco.reference.documentation/Instruments.md)
- [Fondos](esco.reference.documentation/Fondos.md)
- [Reference Data by OData](esco.reference.documentation/OData.md)
- [Reference Data by Types](esco.reference.documentation/Types.md)
- [Reference Data ESCO Endpoints](esco.reference.documentation/Instruments.md)
- [Schemas](esco.reference.documentation/Schemas.md)
- [Fields](esco.reference.documentation/Fields.md)
- [Types](esco.reference.documentation/Types.md)
- [Mappings](esco.reference.documentation/Mappings.md)
- [Source Fields](esco.reference.documentation/SourceFields.md)
- [Status Reports](esco.reference.documentation/StatusReports.md)
- [Derivatives](esco.reference.documentation/Derivatives.md)
- [Securities](esco.reference.documentation/Securities.md)

**` ReferenceDataServices`**
```r
/// <summary>
/// Inicialización del servicio API de Reference Datas.
/// </summary>
/// <param name="key"> (Requeried) Suscription key del usuario. </param>
/// <param name="host"> (Optional) Dirección url de la API .</param>
/// <param name="key"> (Requeried) Suscription key del usuario de Primary Information Reference. </param>
/// <param name="host"> (Optional) Dirección url de la API de Primary Information Reference (Default: https://apids.primary.com.ar).</param>

public ReferenceDataServices (string id, string host)
```
Expand All @@ -48,4 +45,4 @@ initiative of [Grupo Rofex](https://www.rofex.com.ar/).

#### Author/Maintainer

- [René Hernández](https://github.com/Renyhc)
- [René Hernández](https://github.com/matbarofex/Esco.Reference.Data)
23 changes: 23 additions & 0 deletions esco.reference.data.domain/esco.reference.data.domain.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Esco.Reference.Data.Model.NET</PackageId>
<Authors>Sistemas ESCO</Authors>
<Copyright>Sistemas ESCO srl.</Copyright>
<Product>Esco.Reference.Data.Model.NET</Product>
<Version>2.0.6</Version>
<PackageIcon>esco.png</PackageIcon>
<Description>Dominio de tipos de Datos del Conector ESCO Reference Data</Description>
<PackageTags>2.0.6</PackageTags>
</PropertyGroup>

<ItemGroup>
<None Include="..\esco.reference.documentation\esco.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
48 changes: 48 additions & 0 deletions esco.reference.data.domain/mapping/Acciones.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
using System.Collections.Generic;
using System;

namespace ESCO.Reference.Data.Model
{
public class Acciones
{
public AccionesList data { get; set; }
public int? totalCount { get; set; }
}
public class AccionesList : List<Accion> { }

public class Accion
{
public string name { get; set; }
public string type { get; set; }
public bool? active { get; set; }
public AccionesFields fields { get; set; }
public DateTime? updated { get; set; }
}

public class AccionesFields
{
public string cfiCode { get; set; }
public string contractMultiplier { get; set; }
public string currency { get; set; }
public string factor { get; set; }
public string highLimitPrice { get; set; }
public string lowLimitPrice { get; set; }
public string maturityDate { get; set; }
public string symbol { get; set; }
public string issuer { get; set; }
public string marketId { get; set; }
public string priceLimitType { get; set; }
public string securityStatus { get; set; }
public string text { get; set; }
public string underlyingSecurityId { get; set; }
public string country { get; set; }
public string isinTicker { get; set; }
public string bloombergTicker { get; set; }
public string speciesCode { get; set; }
public string denomination { get; set; }
public string collateralHaircut { get; set; }
public string collateralElegible { get; set; }
public string collateralQuota { get; set; }
public string isShortable { get; set; }
}
}
42 changes: 42 additions & 0 deletions esco.reference.data.domain/mapping/Cauciones.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
using System.Collections.Generic;
using System;

namespace ESCO.Reference.Data.Model
{
public class Cauciones
{
public CaucionesList data { get; set; }
public int? totalCount { get; set; }
}
public class CaucionesList : List<Caucion> { }

public class Caucion
{
public string name { get; set; }
public string type { get; set; }
public bool? active { get; set; }
public CaucionesFields fields { get; set; }
public DateTime? updated { get; set; }
}

public class CaucionesFields
{
public string cfiCode { get; set; }
public string contractMultiplier { get; set; }
public string currency { get; set; }
public string factor { get; set; }
public string highLimitPrice { get; set; }
public string lowLimitPrice { get; set; }
public string maturityDate { get; set; }
public string symbol { get; set; }
public string issuer { get; set; }
public string marketId { get; set; }
public string priceLimitType { get; set; }
public string securityStatus { get; set; }
public string text { get; set; }
public string underlyingSecurityId { get; set; }
public string country { get; set; }
public string isinTicker { get; set; }
public string bloombergTicker { get; set; }
}
}
48 changes: 48 additions & 0 deletions esco.reference.data.domain/mapping/Cedears.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
using System.Collections.Generic;
using System;

namespace ESCO.Reference.Data.Model
{
public class Cedears
{
public CedearsList data { get; set; }
public int? totalCount { get; set; }
}
public class CedearsList : List<Cedear> { }

public class Cedear
{
public string name { get; set; }
public string type { get; set; }
public bool? active { get; set; }
public CedearsFields fields { get; set; }
public DateTime? updated { get; set; }
}

public class CedearsFields
{
public string cfiCode { get; set; }
public string contractMultiplier { get; set; }
public string currency { get; set; }
public string factor { get; set; }
public string highLimitPrice { get; set; }
public string lowLimitPrice { get; set; }
public string maturityDate { get; set; }
public string symbol { get; set; }
public string issuer { get; set; }
public string marketId { get; set; }
public string priceLimitType { get; set; }
public string securityStatus { get; set; }
public string text { get; set; }
public string underlyingSecurityId { get; set; }
public string country { get; set; }
public string isinTicker { get; set; }
public string bloombergTicker { get; set; }
public string speciesCode { get; set; }
public string denomination { get; set; }
public string collateralHaircut { get; set; }
public string collateralElegible { get; set; }
public string collateralQuota { get; set; }
public string isShortable { get; set; }
}
}
90 changes: 90 additions & 0 deletions esco.reference.data.domain/mapping/Fondos.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
using System.Collections.Generic;
using System;

namespace ESCO.Reference.Data.Model
{
public class Fondos
{
public FundsList data { get; set; }
public int? totalCount { get; set; }
}
public class FundsList : List<Fund> { }

public class Fund
{
public string name { get; set; }
public string type { get; set; }
public bool? active { get; set; }
public Fields fields { get; set; }
public DateTime? updated { get; set; }
}

public class FundsFields
{
public string currency { get; set; }
public string issuer { get; set; }
public string isinTicker { get; set; }
public string bloombergTicker { get; set; }
public string underlyingSymbol { get; set; }
public string cnvCode { get; set; }
public string daysToSettlement { get; set; }
public string fundCustodianId { get; set; }
public string fundCustodianName { get; set; }
public string fundManagerId { get; set; }
public string fundManagerName { get; set; }
public string rentTypeId { get; set; }
public string rentTypeName { get; set; }
public string regionId { get; set; }
public string regionName { get; set; }
public string classId { get; set; }
public string horizonId { get; set; }
public string horizonName { get; set; }
public string minimumInvestment { get; set; }
public DateTime date { get; set; }
public string fundAum { get; set; }
public string price { get; set; }
public string unitPrice { get; set; }
public string shareCurrency { get; set; }
public string fundTypeId { get; set; }
public string fundTypeName { get; set; }
public string fundBenchmarkId { get; set; }
public string fundBenchmarkName { get; set; }
public string suscriptionFee { get; set; }
public string managerAdministrationFee { get; set; }
public string custodianAdministrationFee { get; set; }
public string managementExpenses { get; set; }
public string rescueFee { get; set; }
public string transferFee { get; set; }
public string successFee { get; set; }
public string fundPortfolioDate { get; set; }
public string fundPortfolio { get; set; }
public string performanceDay { get; set; }
public string performanceMtd { get; set; }
public string performanceYtd { get; set; }
public string performanceYear { get; set; }
public string qualityRatingFirm { get; set; }
public string qualityRating { get; set; }
public string qualityRatingDate { get; set; }
public string shareCurrencyId { get; set; }
public string classTypeId { get; set; }
public string startDate { get; set; }
public string performanceMonthYear { get; set; }
public string country { get; set; }
public string securityStatus { get; set; }
public string marketId { get; set; }
public string priceDecimals { get; set; }
public string shareMinimumFraction { get; set; }
public string maximumInvestment { get; set; }
public string cfiCode { get; set; }
public string text { get; set; }
public string shareCurrencyName { get; set; }
public string classTypeName { get; set; }
public string symbol { get; set; }
public string collateralHaircut { get; set; }
public string collateralElegible { get; set; }
public string collateralQuota { get; set; }
public string PersonTypeId { get; set; }
public string PersonTypeName { get; set; }

}
}
51 changes: 51 additions & 0 deletions esco.reference.data.domain/mapping/Futuros.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
using System.Collections.Generic;
using System;

namespace ESCO.Reference.Data.Model
{
public class Futuros
{
public FuturosList data { get; set; }
public int? totalCount { get; set; }
}
public class FuturosList : List<Futuro> { }

public class Futuro
{
public string name { get; set; }
public string type { get; set; }
public bool? active { get; set; }
public FuturosFields fields { get; set; }
public DateTime? updated { get; set; }
}

public class FuturosFields
{
public string cfiCode { get; set; }
public string currency { get; set; }
public string symbol { get; set; }
public string contractMultiplier { get; set; }
public string highLimitPrice { get; set; }
public string lowLimitPrice { get; set; }
public string maturityDate { get; set; }
public string factor { get; set; }
public string instrumentSizePrecision { get; set; }
public string marketSegmentId { get; set; }
public string tickIncrement { get; set; }
public string underlyingSymbol { get; set; }
public string instrumentPricePrecision { get; set; }
public string marketId { get; set; }
public string maturityMonthYear { get; set; }
public string qumaxTradeVolalityRating { get; set; }
public string minPriceIncrement { get; set; }
public string minTradeVol { get; set; }
public string underlyingSecurityId { get; set; }
public string text { get; set; }
public string country { get; set; }
public string priceLimitType { get; set; }
public string issuer { get; set; }
public string bloombergTicker { get; set; }
public string isinTicker { get; set; }
public string securityStatus { get; set; }
}
}
Loading

0 comments on commit d99a76a

Please sign in to comment.