Updated dependencies.

This commit is contained in:
Geoff Taylor 2022-02-25 12:24:22 +00:00
parent 281d05dc13
commit 0c7a3043ab
3 changed files with 101 additions and 738 deletions

View File

@ -60,10 +60,10 @@ print("Initial order book:\n\t", market_operations.load_orderbook())
print("Your current orders:\n\t", market_operations.load_my_orders(include_expired=True))
# Go on - try to buy 1 SOL-PERP contract for $10.
order = mango.Order.from_basic_info(side=mango.Side.BUY,
price=decimal.Decimal(10),
quantity=decimal.Decimal(1),
order_type=mango.OrderType.POST_ONLY)
order = mango.Order.from_values(side=mango.Side.BUY,
price=decimal.Decimal(10),
quantity=decimal.Decimal(1),
order_type=mango.OrderType.POST_ONLY)
placed_order = market_operations.place_order(order)
print("\n\nPlaced order:\n\t", placed_order)

821
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@ packages = [
[tool.poetry.dependencies]
jsons = "^1.6.1"
numpy = "^1.22.1"
pandas = "^1.3.4"
pandas = "^1.4.1"
python = ">=3.9,<3.11"
pyserum = "^0.5.0a0"
python-dateutil = "^2.8.2"
@ -30,14 +30,12 @@ zstandard = "^0.17.0"
[tool.poetry.dev-dependencies]
black = "^22.1.0"
flake8 = "^4.0.1"
ipykernel = "^6.7.0"
Jinja2 = "^3.0.3"
mypy = "^0.931"
pandas-stubs = "^1.2.0.43"
pytest = "^7.0.0"
pandas-stubs = "^1.2.0.47"
pytest = "^7.0.1"
types-cachetools = "^4.2.9"
types-certifi = "^2021.10.8.1"
types-requests = "^2.27.7"
types-requests = "^2.27.8"
types-setuptools = "^57.4.7"
types-toml = "^0.10.3"
types-python-dateutil = "^2.8.2"