Skip to content

Commit 85f8b0c

Browse files
GitHub ActionsAlexCatarino
authored andcommitted
[create-pull-request] automated change
1 parent 02befc4 commit 85f8b0c

4 files changed

Lines changed: 10 additions & 23 deletions

File tree

skills/csharp/datasets/alternative-data/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public override void OnData(Slice slice)
5454
| `EODHDUpcomingEarnings` | Upcoming Earnings | `ReportDate`, `ReportTime`, `Estimate` |
5555
| `EODHDUpcomingIPOs` | Upcoming IPOs | `Name`, `Exchange`, `IpoDate`, `FilingDate`, `AmendedDate`, `LowestPrice`, `HighestPrice`, `OfferPrice`, `Shares`, `DealType` |
5656
| `EODHDUpcomingSplits` | Upcoming Splits | `SplitDate`, `Optionable`, `SplitFactor` |
57-
| `BLSEconomicSurveysCes` | US Bureau of Labor Statistics (BLS) | `Value` |
58-
| `BLSEconomicSurveysCpi` | US Bureau of Labor Statistics (BLS) | `Value` |
59-
| `BLSEconomicSurveysJolts` | US Bureau of Labor Statistics (BLS) | `Value` |
60-
| `BLSEconomicSurveysPpi` | US Bureau of Labor Statistics (BLS) | `Value` |
57+
| `BLSEconomicSurveysCes` | US Bureau of Labor Statistics (BLS) | `TotalNonfarm`, `TotalPrivate`, `AverageHourlyEarnings`, `AverageWeeklyHours`, `AverageWeeklyEarnings`, `ProductionHourlyEarnings`, `ProductionEmployees`, `Manufacturing`, `GoodsProducing`, `PrivateServiceProviding`, `Construction`, `RetailTrade`, `FinancialActivities`, `EducationAndHealthServices`, `LeisureAndHospitality`, `MiningAndLogging` |
58+
| `BLSEconomicSurveysCpi` | US Bureau of Labor Statistics (BLS) | `AllItems`, `CoreCpi`, `Food`, `FoodAtHome`, `FoodAwayFromHome`, `Energy`, `Shelter`, `RentOfPrimaryResidence`, `Gasoline`, `MedicalCare`, `Apparel`, `EducationAndCommunication`, `NewVehicles`, `UsedCarsAndTrucks`, `CollegeTuitionAndFees` |
59+
| `BLSEconomicSurveysJolts` | US Bureau of Labor Statistics (BLS) | `JobOpenings`, `JobOpeningsRate`, `Hires`, `HiresRate`, `Quits`, `QuitsRate`, `TotalSeparations`, `LayoffsAndDischarges` |
60+
| `BLSEconomicSurveysPpi` | US Bureau of Labor Statistics (BLS) | `FinalDemand`, `CorePpi`, `FinalDemandLessFoodEnergyTrade`, `FinalDemandGoods`, `FinalDemandServices`, `FinalDemandConstruction`, `AllCommodities`, `FarmProducts`, `ProcessedFoodsAndFeeds`, `CrudePetroleum`, `FinalDemandGoodsLessFoods` |
6161
| `USEnergy` | US Energy Information Administration (EIA) | `Value` |
6262
| `Fred` | US Federal Reserve (FRED) | `Value` |
6363
| `QuiverGovernmentContract` | US Government Contracts | `Description`, `Agency`, `Amount` |

skills/csharp/importing-data/custom-data/SKILL.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,7 @@ public class MyCustomData : BaseData
9999
}
100100
}
101101
```
102-
Research notebooks are different: `qb.object_store.read_bytes` returns the raw zip bytes, so unzip them before loading the inner file.
103-
```python
104-
qb = QuantBook()
105-
byte_data = qb.object_store.read_bytes("/market-regime-signals.zip")
106-
107-
import io
108-
import zipfile
109-
import pandas as pd
110-
111-
with zipfile.ZipFile(io.BytesIO(byte_data)) as archive:
112-
filename = archive.namelist()[0]
113-
with archive.open(filename) as file:
114-
df = pd.read_csv(file)
115-
```
102+
Research notebooks are different: py`qb.object_store.read_bytes` returns the raw zip bytes, so unzip them before loading the inner file.
116103
- Live/backtest split: branch in `GetSource` only when the source differs; return identical parsed objects from both paths.
117104
- Arrays/unfolding: keep the requested JSON array shape. Do not convert it to JSONL or CSV unless the user explicitly asks. Store Object Store JSON array files as one-line/minified JSON under the requested key, and do not change Object Store keys during debugging unless you report the change. Use `FileFormat.UnfoldingCollection`, parse the array, sort emitted objects by `EndTime`, and return `new BaseDataCollection(objects.Last().EndTime, config.Symbol, objects)`.
118105
```csharp

skills/python/datasets/alternative-data/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ def on_data(self, slice: Slice) -> None:
5050
| `EODHDUpcomingEarnings` | Upcoming Earnings | `report_date`, `report_time`, `estimate` |
5151
| `EODHDUpcomingIPOs` | Upcoming IPOs | `name`, `exchange`, `ipo_date`, `filing_date`, `amended_date`, `lowest_price`, `highest_price`, `offer_price`, `shares`, `deal_type` |
5252
| `EODHDUpcomingSplits` | Upcoming Splits | `split_date`, `optionable`, `split_factor` |
53-
| `BLSEconomicSurveysCes` | US Bureau of Labor Statistics (BLS) | `value` |
54-
| `BLSEconomicSurveysCpi` | US Bureau of Labor Statistics (BLS) | `value` |
55-
| `BLSEconomicSurveysJolts` | US Bureau of Labor Statistics (BLS) | `value` |
56-
| `BLSEconomicSurveysPpi` | US Bureau of Labor Statistics (BLS) | `value` |
53+
| `BLSEconomicSurveysCes` | US Bureau of Labor Statistics (BLS) | `total_nonfarm`, `total_private`, `average_hourly_earnings`, `average_weekly_hours`, `average_weekly_earnings`, `production_hourly_earnings`, `production_employees`, `manufacturing`, `goods_producing`, `private_service_providing`, `construction`, `retail_trade`, `financial_activities`, `education_and_health_services`, `leisure_and_hospitality`, `mining_and_logging` |
54+
| `BLSEconomicSurveysCpi` | US Bureau of Labor Statistics (BLS) | `all_items`, `core_cpi`, `food`, `food_at_home`, `food_away_from_home`, `energy`, `shelter`, `rent_of_primary_residence`, `gasoline`, `medical_care`, `apparel`, `education_and_communication`, `new_vehicles`, `used_cars_and_trucks`, `college_tuition_and_fees` |
55+
| `BLSEconomicSurveysJolts` | US Bureau of Labor Statistics (BLS) | `job_openings`, `job_openings_rate`, `hires`, `hires_rate`, `quits`, `quits_rate`, `total_separations`, `layoffs_and_discharges` |
56+
| `BLSEconomicSurveysPpi` | US Bureau of Labor Statistics (BLS) | `final_demand`, `core_ppi`, `final_demand_less_food_energy_trade`, `final_demand_goods`, `final_demand_services`, `final_demand_construction`, `all_commodities`, `farm_products`, `processed_foods_and_feeds`, `crude_petroleum`, `final_demand_goods_less_foods` |
5757
| `USEnergy` | US Energy Information Administration (EIA) | `value` |
5858
| `Fred` | US Federal Reserve (FRED) | `value` |
5959
| `QuiverGovernmentContract` | US Government Contracts | `description`, `agency`, `amount` |

skills/python/importing-data/custom-data/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class MyCustomData(PythonData):
8181
FileFormat.CSV
8282
)
8383
```
84-
Research notebooks are different: `qb.object_store.read_bytes` returns the raw zip bytes, so unzip them before loading the inner file.
84+
Research notebooks are different: py`qb.object_store.read_bytes` returns the raw zip bytes, so unzip them before loading the inner file.
8585
```python
8686
qb = QuantBook()
8787
byte_data = qb.object_store.read_bytes("/market-regime-signals.zip")

0 commit comments

Comments
 (0)