Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ shared: &shared


jobs:
py310:
<<: *shared
docker:
- image: cimg/python:3.10

py311:
<<: *shared
docker:
Expand All @@ -57,7 +52,6 @@ workflows:
version: 2
build:
jobs:
- py310
- py311
- py312
- py313
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
continue-on-error: true
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.11', '3.12', '3.13', '3.14']

steps:
- uses: actions/checkout@v5
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@ build-backend = "setuptools.build_meta"

[project]
name = "finsim"
version = "1.2.3a1"
version = "2.0.0a1"
authors = [
{name = "Kwan Yuet Stephen Ho", email = "stephenhky@yahoo.com.hk"}
]
description = "Financial simulation and inference"
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "LGPL"}
keywords = ["simulation", "finance", "quantitative finance", "inference", "portfolio analysis"]
requires-python = ">=3.10"
requires-python = ">=3.11"
classifiers = [
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control :: Git",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand All @@ -37,7 +36,6 @@ dependencies = [
"yfinance>=0.2.59",
"openpyxl>=3.1.0",
"numba",
"typing-extensions",
"pydantic"
]

Expand Down
7 changes: 1 addition & 6 deletions src/finsim/portfolio/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
from collections import defaultdict
import logging
import json
import sys
from typing import Any, Optional
from typing import Any, Optional, Self
from os import PathLike
from io import TextIOWrapper
import warnings
if sys.version_info < (3, 11):
from typing_extensions import Self
else:
from typing import Self

import numpy as np
import pandas as pd
Expand Down
7 changes: 1 addition & 6 deletions src/finsim/portfolio/portfolio.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@

import json
import logging
import sys
from collections import defaultdict
from typing import Any, Optional, Literal, Annotated
from typing import Any, Optional, Literal, Annotated, Self
from os import PathLike
from io import TextIOWrapper
if sys.version_info < (3, 11):
from typing_extensions import Self
else:
from typing import Self

import numpy as np
from numpy.typing import NDArray
Expand Down
Loading