Skip to main content

All-in-one trading broker software

Project description

About

⭐ Portal: https://bit.ly/finance_analytics
📊 Blog: https://slashpage.com/jh-analytics

🐍 Python: https://github.com/jhvissotto/Project_Finance_Api_Python
🐍 Pypi: https://pypi.org/project/jh-finance-api

🟦 TScript: https://github.com/jhvissotto/Project_Finance_Api_TScript
🟦 NPM: https://www.npmjs.com/package/finance-analytics-api

🔌 Server: https://bit.ly/jh_finance_api
🔌 Swagger: https://bit.ly/jh_finance_api_swagger

Library

!pip install softrader
from softrader import nan
import softrader as st

Connect

client_ib  = st.connect('IBROKER',    ID=None,   SECRET=None,       PROVIDER=4002)
client_ap  = st.connect('ALPACA',     ID='abcd', SECRET='xxyyzzww')
client_mt5 = st.connect('METATRADER', ID=123456, SECRET='password', PROVIDER='brokername')

Open Position

Send order to any broker with no more configurations

try: 
    res = st.send_open(client_ib, symbol='MSFT', quant=10, limit=nan, tp=nan, sl=nan, tif='GTC')
    print(res)

except Exception as err:
    print(err)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

softrader-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

softrader-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file softrader-0.1.0.tar.gz.

File metadata

  • Download URL: softrader-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.2 Windows/10

File hashes

Hashes for softrader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f9096ffb301427f594a48768edca4bbdf607661200658cf59a53db84b7c3d6ad
MD5 44616d35663c5a0a9e0364d65a2f7759
BLAKE2b-256 a1cb1466f8b8ffd1293a792e4a1cf6128855932cbd711bdc2193ccc7eed421c2

See more details on using hashes here.

File details

Details for the file softrader-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: softrader-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.2 Windows/10

File hashes

Hashes for softrader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dd6020c1e3f99a8e65c6ba25d845e8c9c75240b48fe5fc0f225d770a664e8b0
MD5 ed7786d633139a2506aaef5db75e6bb7
BLAKE2b-256 6aefb207c2133cfb08fc1e862ee4543f82ab8ef747c730dd024e9ccc99ef6aff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page