@prefix trade: <https://semanticdataservices.com/ontology/domain/trading#> .
@prefix inst: <https://semanticdataservices.com/ontology/domain/financial-instrument#> .
@prefix party: <https://semanticdataservices.com/ontology/domain/party-organization#> .
@prefix port: <https://semanticdataservices.com/ontology/domain/portfolio#> .
@prefix sdsu: <https://semanticdataservices.com/ontology/core/upper#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dct: <http://purl.org/dc/terms/> .

<https://semanticdataservices.com/ontology/domain/trading> a owl:Ontology ;
  owl:versionIRI <https://semanticdataservices.com/ontology/2026.08/domain/trading> ; owl:versionInfo "2026.08" ;
  owl:imports <https://semanticdataservices.com/ontology/core/upper>, <https://semanticdataservices.com/ontology/domain/portfolio> ;
  dct:title "SDS Trading Ontology"@en ; dct:creator "Semantic Data Services" .

trade:Order a owl:Class ; rdfs:subClassOf sdsu:Event ; rdfs:label "Order"@en .
trade:Execution a owl:Class ; rdfs:subClassOf sdsu:Event ; rdfs:label "Execution"@en .
trade:Allocation a owl:Class ; rdfs:subClassOf sdsu:Event ; rdfs:label "Allocation"@en .
trade:Settlement a owl:Class ; rdfs:subClassOf sdsu:Event ; rdfs:label "Settlement"@en .
trade:TradingStrategy a owl:Class ; rdfs:subClassOf sdsu:InformationResource ; rdfs:label "Trading strategy"@en .

trade:ordersInstrument a owl:ObjectProperty ; rdfs:domain trade:Order ; rdfs:range inst:FinancialInstrument ; rdfs:label "orders instrument"@en .
trade:placedBy a owl:ObjectProperty ; rdfs:domain trade:Order ; rdfs:range party:Party ; rdfs:label "placed by"@en .
trade:forPortfolio a owl:ObjectProperty ; rdfs:domain trade:Order ; rdfs:range port:Portfolio ; rdfs:label "for portfolio"@en .
trade:routedTo a owl:ObjectProperty ; rdfs:domain trade:Order ; rdfs:range party:TradingVenue ; rdfs:label "routed to"@en .
trade:executionOf a owl:ObjectProperty ; rdfs:domain trade:Execution ; rdfs:range trade:Order ; rdfs:label "execution of"@en .
trade:usesStrategy a owl:ObjectProperty ; rdfs:domain trade:Order ; rdfs:range trade:TradingStrategy ; rdfs:label "uses strategy"@en .
trade:clientOrderId a owl:DatatypeProperty ; rdfs:domain trade:Order ; rdfs:range xsd:string ; rdfs:label "client order identifier"@en .
trade:orderSide a owl:DatatypeProperty ; rdfs:domain trade:Order ; rdfs:range xsd:string ; rdfs:label "order side"@en .
trade:orderQuantity a owl:DatatypeProperty ; rdfs:domain trade:Order ; rdfs:range xsd:decimal ; rdfs:label "order quantity"@en .
trade:limitPrice a owl:DatatypeProperty ; rdfs:domain trade:Order ; rdfs:range xsd:decimal ; rdfs:label "limit price"@en .
trade:orderStatus a owl:DatatypeProperty ; rdfs:domain trade:Order ; rdfs:range xsd:string ; rdfs:label "order status"@en .
trade:executedQuantity a owl:DatatypeProperty ; rdfs:domain trade:Execution ; rdfs:range xsd:decimal ; rdfs:label "executed quantity"@en .
trade:executionPrice a owl:DatatypeProperty ; rdfs:domain trade:Execution ; rdfs:range xsd:decimal ; rdfs:label "execution price"@en .

