Skip to main content

No project description provided

Project description

import pandas as pd import pytrader.MarketData as md import plotly.graph_objects as go

#print(md.getPairs())

md.setTickDataRoot('C:\TickData')

#df = md.getMarketData("AUDUSD", md.TimeFrame.M1, 2023, 11, 4)

df = md.getMarketDataFrom("AUDUSD", md.TimeFrame.H4, 2023, 11, 4) #df = md.getMarketDataFromTo("AUDUSD", md.TimeFrame.H1, 2023, 5, 5, 2023,6,4)

print(df)

#fig = go.Figure(data=[go.Candlestick(x=df['Date'], open=df['Open'], high=df['High'], low=df['Low'], close=df['Close'])]) #fig.show()

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ptrader_py-0.2.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ptrader_py-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ptrader_py-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for ptrader_py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 728f1eeda5e617b029e08c2811c234a324c5be1e199a896655ca60eb1ffead30
MD5 0878be6a4eca1c87b823743afc7df168
BLAKE2b-256 54ca58a19aee18e70de76ec7e9930b71e236bb803b2b06ec91449ad8eff12be0

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