Skip to main content

No project description provided

Project description

just_design_phase

The just_design_phase package provides a seamless interface for interacting with the Kite Connect API for stock trading on the Zerodha platform.

Installation

To install the just_design_phase package, run the following command:

pip install just_design_phase

Configuration

Before using the just_design_phase package, you must configure your environment with necessary API keys and secrets. Follow these steps to set up your environment:

  1. Environment Variables: Store your Kite Connect API key and secret in a .env file at the root of your project. This file should contain:

    KITE_API_KEY=your_api_key_here
    KITE_API_SECRET=your_api_secret_here
    

Usage

After setting up your environment, you can begin using the just_design_phase package to interact with the Zerodha Kite Connect API. Here are the primary functionalities offered:

Placing Orders

The package provides several functions to place different types of orders. Users do not need to manually log in; the package handles authentication and session management.

  • Place a Normal Order:

    from just_design_phase import place_normal_order
    
    order_id = place_normal_order(stock_name="RELIANCE", quantity=1, order_type="BUY")
    
  • Place a Limit Order:

    from just_design_phase import place_limit_order
    
    order_id = place_limit_order(stock_name="TCS", quantity=2, price=3500, order_type="SELL")
    

Modifying Orders

To modify existing orders, use the following functions based on your requirement:

  • Modify an Order:

    from just_design_phase import modify_order
    
    modified_order_id = modify_order(variety="regular", orderId="your_order_id_here", quantity=2, price=3550)
    

Fetching Account Details

Get current holdings or positions:

  • Fetch Holdings:

    from just_design_phase import get_holdings
    
    holdings = get_holdings()
    
  • Fetch Positions:

    from just_design_phase import get_positions
    
    positions = get_positions()
    

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

just_design_phase-0.0.14.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

just_design_phase-0.0.14-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file just_design_phase-0.0.14.tar.gz.

File metadata

  • Download URL: just_design_phase-0.0.14.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.2.0

File hashes

Hashes for just_design_phase-0.0.14.tar.gz
Algorithm Hash digest
SHA256 afe89f3d5b27cb35918a4ba3490b3b138304757cdc71c6d871fbd15a88252cc3
MD5 ae2a196f0268706e8da783d2f714821d
BLAKE2b-256 63f1ae2dd3a5393a1f1a39a8dbb2b7302e014078aa0f7f0241859605d7e5e43d

See more details on using hashes here.

File details

Details for the file just_design_phase-0.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for just_design_phase-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7659b87b8765895e974c0a948d25e2ac553a95d5bb83fc774d06204572dc52db
MD5 d1ebefffc13b7add9f9c0bf1d9c0a63d
BLAKE2b-256 db7f95afd318883435da8d738808fe0b93a1600fbca99e78c0f0bfab18c53de5

See more details on using hashes here.

Supported by

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