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.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ptrader_py-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c51f3e4f967f25fd5006f60f00995b966ab73b53a96783d9d53dc609ce2476e
MD5 7069266e4223d942eb4c42cc913fa512
BLAKE2b-256 687d3faaac000cb0946a85ee75f354cb8cb92ca65b1cce8cb85286479558df02

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