Skip to content

Commit

Permalink
renamed to monetary
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Aug 13, 2024
1 parent cad4a85 commit 9845cf1
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exclude = ["docs*", "tests*", "samples*", "scratch*"]
name = "roboquant"
dynamic = ["version"]
authors = [ { name="roboquant team", email="[email protected]" },]
description = "A fast algo-trading platform"
description = "A fast algo-trading platform with support for machine learning based strategies"
readme = "README.md"
requires-python = ">=3.10, <3.12"
classifiers = [
Expand All @@ -52,7 +52,7 @@ classifiers = [
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment"
]
keywords = ["trading", "investment", "finance", "crypto", "stocks", "exchange", "forex"]
keywords = ["trading", "machine learning", "AI", "investment", "finance", "crypto", "stocks", "exchange", "forex"]
dependencies = [
"numpy>=1.26.4",
"websocket-client~=1.7.0",
Expand Down
4 changes: 2 additions & 2 deletions roboquant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`Account`, `Asset` and `Event`.
"""

__version__ = "0.8.2"
__version__ = "0.8.3"

import logging

Expand All @@ -16,7 +16,7 @@
from .config import Config
from .event import Event, PriceItem, Bar, Trade, Quote
from .order import Order
from .wallet import Amount, Wallet
from .monetary import Amount, Wallet
from .asset import Asset, Stock, Crypto, Option
from .run import run
from .timeframe import Timeframe, EMPTY_TIMEFRAME
Expand Down
2 changes: 1 addition & 1 deletion roboquant/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from roboquant.asset import Asset
from roboquant.event import Event
from roboquant.order import Order
from roboquant.wallet import Amount, Wallet
from roboquant.monetary import Amount, Wallet


@dataclass(slots=True)
Expand Down
2 changes: 1 addition & 1 deletion roboquant/alpaca/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from roboquant.event import Event
from roboquant.brokers.broker import LiveBroker
from roboquant.order import Order
from roboquant.wallet import Wallet, Amount
from roboquant.monetary import Wallet, Amount

logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion roboquant/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from decimal import Decimal
from typing import ClassVar, Type

from roboquant.wallet import Amount
from roboquant.monetary import Amount


@dataclass(frozen=True, slots=True)
Expand Down
2 changes: 1 addition & 1 deletion roboquant/brokers/ibkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from roboquant.event import Event
from roboquant.order import Order
from roboquant.brokers.broker import LiveBroker, _update_positions
from roboquant.wallet import Amount, Wallet
from roboquant.monetary import Amount, Wallet

assert VERSION["major"] == 10 and VERSION["minor"] == 19, "Wrong version of the IBAPI found"

Expand Down
2 changes: 1 addition & 1 deletion roboquant/brokers/simbroker.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from roboquant.brokers.broker import Broker, _update_positions
from roboquant.event import Event, Quote, PriceItem
from roboquant.order import Order
from roboquant.wallet import Amount, Wallet
from roboquant.monetary import Amount, Wallet

logger = logging.getLogger(__name__)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion roboquant/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from typing import Any

from roboquant.asset import Asset
from roboquant.wallet import Amount
from roboquant.monetary import Amount


@dataclass(slots=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_ibkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from roboquant import Order
from roboquant.asset import Stock
from roboquant.brokers.ibkr import IBKRBroker
from roboquant.wallet import Amount, One2OneConversion
from roboquant.monetary import Amount, One2OneConversion


class TestIBKR(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from roboquant import Account, Position
from roboquant.asset import Stock
from roboquant.wallet import Wallet, Amount
from roboquant.monetary import Wallet, Amount


class TestAccount(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_wallet.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from roboquant.wallet import NoConversion, One2OneConversion, Wallet, Amount
from roboquant.monetary import NoConversion, One2OneConversion, Wallet, Amount


class TestWallet(unittest.TestCase):
Expand Down

0 comments on commit 9845cf1

Please sign in to comment.